- Language: en
31 results for dir in version 5.0
-
Django 1.7 release notes
- … dirs parameter which is a list or tuple to override TEMPLATE_DIRS : django.template.loader.get_template() django.template.loader.select …
-
Django 1.2 release notes
- … dir__() . If you used LazyObject in your own code and implemented the get_all_members …
-
The form rendering API
- … DIRS=True . Adding the built-in templates directory in DIRS of one of your template …
-
Django 1.10 release notes
- … DIRS TEMPLATE_LOADERS TEMPLATE_STRING_IF_INVALID The backwards compatibility alias django.template.loader.BaseLoader is removed. Django …
-
Fixtures
- … DIRS setting In the literal path named by the fixture Django will load any and all fixtures …
-
Advanced testing topics
- … dir , "my_file.png" ) self . file = create_file ( self . filename ) class RemoveImageTests ( ImageTestCaseMixin , TestCase ): def test …
-
Django at a glance
- … DIRS . If a template doesn’t exist in the first directory, it checks the second …
-
The “sites” framework
- … DIRS ), you could farm out to the template system like so: from django.core.mail import send …
-
The sitemap framework
- … DIRS options is set to True . It’s in there by default, so you’ll only …
-
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 …