- Language: en
12 results for addition in version 2.0
-
Writing custom model fields
- … addition, try to avoid returning values as positional arguments; where possible, return values as keyword …
-
Managing static files (e.g. images, JavaScript, CSS)
- … additional files such as images, JavaScript, or CSS. In Django, we refer to these files …
-
Writing custom django-admin commands
- … additional command line options. These custom options can be added in the add_arguments() method …
-
Authenticating against Django’s user database from Apache
- … additional details and information about alternative methods of authentication. Authorization with mod_wsgi and Django …
-
Providing initial data for models
- … additional directories where Django should look. When running manage.py loaddata , you can also specify a path …
-
Outputting CSV with Django
- … additional Content-Disposition header, which contains the name of the CSV file. This filename is arbitrary …
-
Error reporting
- … addition to filtering out settings that appear to be sensitive as described in the DEBUG …
-
Outputting PDFs with Django
- … additional Content-Disposition header, which contains the name of the PDF file. This filename is arbitrary …
-
Custom template tags and filters
- … additional escaping is not desired, you will need to use mark_safe() if you are absolutely …
-
How to use Django with Gunicorn
- … from the same directory as your manage.py file. See Gunicorn’s deployment documentation for additional tips. …
-
Writing a custom storage system
- … addition, if your class provides local file storage, it must override the path() method. Your …
-
Deployment checklist
- … addition, you can tune the following settings. CONN_MAX_AGE Enabling persistent database connections can result …