settings.py 299 B

1234567891011
  1. import os
  2. FLATPAGES_TEMPLATES = [{
  3. 'BACKEND': 'django.template.backends.django.DjangoTemplates',
  4. 'DIRS': [os.path.join(os.path.dirname(__file__), 'templates')],
  5. 'OPTIONS': {
  6. 'context_processors': (
  7. 'django.contrib.auth.context_processors.auth',
  8. ),
  9. },
  10. }]