- Language: en
14 results for add in version 1.11
-
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 …
-
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 …
-
Error reporting
- … add_view and user_change_password in the auth admin) to prevent the leaking of sensitive …
-
Authenticating against Django’s user database from Apache
- … add a location that you want only authenticated users to be able to view: WSGIScriptAlias …
-
Custom Lookups
- … add an index on abs(change) which would allow these queries to be very efficient …
-
Authentication using REMOTE_USER
- … add the django.contrib.auth.middleware.RemoteUserMiddleware to the MIDDLEWARE setting after the django.contrib.auth.middleware.AuthenticationMiddleware : MIDDLEWARE = [ '...' , 'django.contrib.auth.middleware.AuthenticationMiddleware …
-
Integrating Django with a legacy database
- … add the app to your INSTALLED_APPS setting. By default, inspectdb creates unmanaged models. That …