Added default auto field in application config

This commit is contained in:
Gagan Deep 2021-12-21 07:08:28 +05:30 committed by GitHub
parent 64fd81502d
commit 0fd3f42f71
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -5,6 +5,7 @@ from django.apps import AppConfig
class Config(AppConfig):
name = "notifications"
default_auto_field = 'django.db.models.AutoField'
def ready(self):
super(Config, self).ready()