TEMPLATE_DIRS = (
os.path.join(BASE_DIR, 'templates'),
'/opt/python-venv/lib/python2.7/site-packages/django/contrib/admin/templates/',
)
STATICFILES_DIRS = (
'/opt/python-venv/lib/python2.7/site-packages/django/contrib/admin/static/',
)
--
You received this message because you are subscribed to the Google Groups "Django users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to django-users...@googlegroups.com.
To post to this group, send email to django...@googlegroups.com.
Visit this group at http://groups.google.com/group/django-users.
To view this discussion on the web visit https://groups.google.com/d/msgid/django-users/CABmDZEObsanqcDVBC9-R%3DiVen4eocRFcFc16oXHwkQY5PUPr7A%40mail.gmail.com.
For more options, visit https://groups.google.com/groups/opt_out.
templates/admin isn't necessary. Instead you should extend both TEMPLATE_DIRS and STATICFILES_DIRS to include the templates and static files for the admin package