/ Published in: Python

Expand |
Embed | Plain Text
Copy this code and paste it in your HTML
import os.path MEDIA_ROOT = os.path.join(os.path.dirname(__file__), "public/static/") TEMPLATE_DIRS = ( os.path.join(os.path.dirname(__file__), "templates"), ) FORCE_LOWERCASE_TAGS = True SESSION_COOKIE_NAME = 'your_project' try: from local_settings import * except ImportError: pass
Comments
