A.JAHANGIR
https://stackoverflow.com/questions/62596287/django-static-file-not-changing-my-website-when-i-make-edits
Charly
But why is that stopping you from making adding more css?
A.JAHANGIR
But why is that stopping you from making adding more css?
The sub-templates follow Bootstrap's styles, not their own styles
Charly
The sub-templates follow Bootstrap's styles, not their own styles
So you want to use bootstap just on some section and not in all templates?
Charly
yes but that one is the parent template
But don't add it to the base template then
Charly
if you mean to add styles to just a portion of a page is not possible is not how css works
A.JAHANGIR
I need that just for this, there is no way?
Charly
I need that just for this, there is no way?
Don't use it in the template base just use it where needed
A.JAHANGIR
alright, thank you for taking time for me
Lyric
Hello! Why compilemessages takes a long time to execute on production environment?
Lyric
It's definitely not about resources
Ghost
im biggner in Django how to learn it and where start somebody help me 🥲
FORTUNATE
Hi guys, who have djanjo Vtu(data, Airtime, Cable subscription etc) script.
Koosha
Hi guys when i add app to INSTALLED_APPS and want to makemigrations its tell me No installed app with label 'app-name'. How fix it?
Rafael
Hi guys when i add app to INSTALLED_APPS and want to makemigrations its tell me No installed app with label 'app-name'. How fix it?
2 considerations. First, make sure your app folder got init.py other wise python manage.py makemigrations wont be able to find it. Second, just to make sure, you can use “python manage.py makemigrations yourappname” and this will work even without init.py
Rafael
“__init__.py”
Koosha
When use python manage.py makemigrations 'app_name' its says No installed
Koosha
All folders are ok..
Rafael
When use python manage.py makemigrations 'app_name' its says No installed
If this is a third party app you need to install with pip install the corresponding app name.
Alex
When use python manage.py makemigrations 'app_name' its says No installed
add your app name to "INSTALLED_APPS" list in settings.py
Alex
check if init file is present, and app name is configured properly.
shadab
Hi all of you, I need help I am trying to deploy django app on siteground through SSH. I am able to run django server in SSH, but I am unable to open my web app on the browser
shadab
any error or something?
No I am not getting any error, successfully able to run django server on production server
shadab
Running default page I think it will provide by siteground
Erkaboy
Hi guys. I have a problem related to sorting data. I am using django-parler for internationalization. In my model I have name field in Translated fields. When I use order_by it is duplicating objects. I can't figure out how to properly sort my data.
FORTUNATE
Any tutorial on developing django vtu app pls
FORTUNATE
what is vtu?
Where one can make subscriptions, i.e data, Airtime, TV sub, etc
Matches
Hi guys. i have task in celery and in the task i wrote method wich save the object. But save of object does not working always, because i have another celery task which save this object simultaneously, also i have presave signal which change field of this object. I save object in construction like save_obj.delay(id) where save_obj looks like a def save_obj(id): obj = Item.objects.get(pk=id) with transaction.atomic(): obj.save(update_fields=["data"]) I need object saving to always work. Database is postgres. Please help with advice if you have experience in solving this problem
park seo joon
Hi guys when using the default dbsqlite3 and you have a lot of files to work with can it have an issue of not working on the server side but you can use orm or admin panel to create an object? Example you have a post but the post cannot be created from the server side but you can either use django orm or admin panel to create a post
g
How to put django on https port not on http?
cj
How to put django on https port not on http?
that's a matter of configuring your web server, Django should work normally just check this: https://docs.djangoproject.com/en/5.0/howto/deployment/checklist/#https
Shayan
Hello friends Who can help with my css file in django and my style?!
Minilik_muluneh
can we post our progress here to be commented or we post help only?
Minilik_muluneh
help, just to be motivated
Minilik_muluneh
why we not we post file
Minilik_muluneh
👍
clouded
Hello friends Who can help with my css file in django and my style?!
If it's merely about styling it might not be related to Django
Shayan
If it's merely about styling it might not be related to Django
Why! Its in python and i have that code . Just i want know my problem Xan you help me?
Shayan
You said it is about css
not css lesson, About a css file in my django
Charly
Mojtaba
I want filter objects (by permission) in rest. Do you prefer guardian or guardian2?
Shayan
Ok,!l what's the issue?
i want take a voice to explain my issue can you access me?
Shayan
Add CSS File to the Project https://www.w3schools.com/django/django_add_css_file_project.php
Mr Praise
Hi guys when i add app to INSTALLED_APPS and want to makemigrations its tell me No installed app with label 'app-name'. How fix it?
When you add app you have to be linl below "appname.apps.AppnameConfig" Example if my app name called "projects" : "projects.apps.ProjectsConfig"
Shayan
Add CSS File to the Project https://www.w3schools.com/django/django_add_css_file_project.php
i followed this course step by step but my response and their response are deferent
Mr Praise
You can create static folder in main django folder then you have to register you static folder i  settings.py. in bottom of code you can add you STATICFIES_DIRS = [ BASE_DIR / "static" ] Finaly you have to load your static folder in every you want page Example {% load static %} <img src="{% static main.ccs %}">
Mr Praise
Yup
Shayan
I followed step by step but i couldn't
Shayan
I want have a page like this
Shayan
oh i don't have permission about photo
Shayan
Is Your Debug True?
Yes i check them for many times
Charly
oh i don't have permission about photo
Don't share a photo share code as text, read rule 5
Charly
I want have a page like this
So your issue is about how to style using css or what?
Charly
Yes bro
So not Django related but you don't know CSS?
Shayan
And my settings is not working
Charly
I mean you need to be very specific about the issue because you just say it's not working but not the details
Shayan
Why not?
Wait in this screen chat untill i write the code