- Language: en
25 results for dir in version 2.1
-
Managing static files (e.g. images, JavaScript, CSS)
- … DIRS = [ os . path . join ( BASE_DIR , "static" ), '/var/www/static/' , ] See the documentation …
-
The staticfiles app
- … DIRS STATICFILES_STORAGE STATICFILES_FINDERS Management Commands django.contrib.staticfiles exposes three management commands. collectstatic django-admin …
-
django-admin and manage.py
- … DIRS setting In the literal path named by the fixture Django will load any and all fixtures …
-
Django 1.10 release notes
- … DIRS TEMPLATE_LOADERS TEMPLATE_STRING_IF_INVALID The backwards compatibility alias django.template.loader.BaseLoader is removed. Django …
-
The form rendering API
- … DIRS=True . Adding the built-in widgets templates directory in DIRS of one of your …
-
The “sites” framework
- … DIRS ), you could simply farm out to the template system like so: from django.core.mail import …
-
Writing your first Django app, part 2
- … DIR, 'db.sqlite3') , will store the file in your project directory. If you are not using …
-
Writing your first Django app, part 3
- … DIRS option is set to True . By convention DjangoTemplates looks for a “templates” subdirectory in each …
-
The sitemap framework
- … DIRS options is set to True . It’s in there by default, so you’ll only …
-
Built-in class-based generic views
- … DIRS option of a DjangoTemplates backend is set to True in TEMPLATES , a template location …