Skip to content

Commit 9c7403f

Browse files
authored
Merge pull request #41 from FedeG/fix_auto_fields
Add django auto field to settings.py
2 parents 191dae2 + 42cc24e commit 9c7403f

1 file changed

Lines changed: 4 additions & 0 deletions

File tree

gastitis/settings.py

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -145,4 +145,8 @@
145145
# Telegram Settings
146146
BOT_TOKEN = TELEGRAM_BOT_TOKEN
147147

148+
# Default auto field for django id
149+
DEFAULT_AUTO_FIELD = 'django.db.models.AutoField'
150+
148151
print(f"Connecting to database {DATABASES['default']['NAME']}" )
152+

0 commit comments

Comments
 (0)