- Language: en
14 results for add in version 1.8
-
Writing database migrations
- … add unique fields Applying a “plain” migration that adds a unique non-nullable field to a table …
-
Writing custom django-admin commands
- … add_arguments ( self , parser ): parser . add_argument ( 'poll_id' , nargs = '+' , type …
-
How to use Django with Apache and mod_wsgi
- … add the following. If you are using a version of Apache older than 2.4, replace …
-
How to use Django with FastCGI, SCGI, or AJP
- … Add the following to your lighttpd config file: server.document-root = "/home/user/public_html" fastcgi.server = ( "/mysite.fcgi …
-
Providing initial data for models
- … add it using either a test fixture , or programmatically add it during the setUp() of your …
-
Writing custom model fields
- … add a new keyword argument, you need to write code to put its value into …
-
Custom template tags and filters
- … adds the string xx to the end of any input. Since this introduces no dangerous …
-
How to use Django with uWSGI
- … add to it. The Django-specific options here are: chdir : The path to the directory …
-
Integrating Django with a legacy database
- … add the app to your INSTALLED_APPS setting. By default, inspectdb creates unmanaged models. That …
-
Custom Lookups
- … add an index on abs(change) which would allow these queries to be very efficient …