services: patchwork: Set DEFAULT_AUTO_FIELD in settings.
This resolves some warnings with Django 3.2.
This was added by upstream to the base settings
43e5c4a0ac
* gnu/services/web.scm (patchwork-settings-module-compiler): Specify
DEFAULT_AUTO_FIELD in the settings module.
This commit is contained in:
parent
6cced3f1e6
commit
108e7576c0
1 changed files with 2 additions and 0 deletions
|
@ -1519,6 +1519,8 @@ (define (create-__init__.py filename)
|
|||
allowed-hosts))
|
||||
"]
|
||||
|
||||
DEFAULT_AUTO_FIELD = 'django.db.models.AutoField'
|
||||
|
||||
DEFAULT_FROM_EMAIL = '" #$default-from-email "'
|
||||
SERVER_EMAIL = DEFAULT_FROM_EMAIL
|
||||
NOTIFICATION_FROM_EMAIL = DEFAULT_FROM_EMAIL
|
||||
|
|
Loading…
Reference in a new issue