- Language: en
30 results for dir in version 3.2
-
Model field reference
- … DIR , 'images' ) class MyModel ( models . Model ): file = models . FilePathField ( path = images_path ) FilePathField …
-
Writing your first Django app, part 3
- … DIRS option is set to True . By convention DjangoTemplates looks for a “templates” subdirectory in each …
-
Built-in class-based generic views
- … DIRS option of a DjangoTemplates backend is set to True in TEMPLATES , a template location …
-
The Django admin site
- … DIRS option of the DjangoTemplates backend in the TEMPLATES setting. If you have customized the 'loaders …
-
Writing your first Django app, part 2
- … DIR / 'db.sqlite3' , will store the file in your project directory. If you are not using …
-
The sitemap framework
- … DIRS options is set to True . It’s in there by default, so you’ll only …
-
Django 1.3 release notes
- … DIRS , and will be served at STATIC_URL . See the reference documentation of the app for more …
-
Advanced testing topics
- … dir , 'my_file.png' ) self . file = create_file ( self . filename ) class RemoveImageTests ( ImageTestCaseMixin , TestCase ): def test …
-
The “sites” framework
- … DIRS ), you could farm out to the template system like so: from django.core.mail import send …
-
Django 2.0 release notes
- … dirs argument for template loaders is removed: django.template.loaders.base.Loader.get_template() django.template.loaders.cached.Loader.cache_key() django.template.loaders.cached.Loader.get_template() django.template.loaders.cached.Loader.get_template …