Re: Admin site's css doesn't work.

2020-09-17 Thread Ankit Gadewal
If you run it on localhost it works fine but when you run site in production static files fails to work. So you have to add static root in Django setting.py file like STATIC_ROOT = os.path.join(BASE_DIR, 'static') and then run python manage.py collectstatic command. It will collect all the server s

Re:

2020-08-16 Thread Ankit Gadewal
I think the problem is with either not mention 'template' in directory or you didn't register app name in installed apps. If you made your template folder outside the app and in the directory where the manage.py file. You have to mention your folder in directories in settings.py. On Fri, Aug 14, 2