banagale / posthog

🦔 PostHog provides open-source product analytics that you can self host.

Home Page:https://posthog.com

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Fix DEFAULT_AUTO_FIELD Warnings

banagale opened this issue · comments

Since Django 3.2, it is necessary to explicitly set the primary key type for autofield.

Set DEFAULT_AUTO_FIELD as described here. May need concensus on supporting BigAutoField or not.


User first sees this when running

 DEBUG=1 python3 manage.py migrate

image