Skip to content

Commit

Permalink
Revert "Changes example/movies models to use UUIDs by default"
Browse files Browse the repository at this point in the history
This reverts commit eecec62.
  • Loading branch information
amandasavluchinske committed Jun 20, 2024
1 parent eecec62 commit 69f03eb
Show file tree
Hide file tree
Showing 4 changed files with 1 addition and 37 deletions.
14 changes: 0 additions & 14 deletions example/example/fields.py

This file was deleted.

2 changes: 0 additions & 2 deletions example/example/settings.py
Original file line number Diff line number Diff line change
Expand Up @@ -171,5 +171,3 @@

WEATHER_API_KEY = os.getenv("WEATHER_API_KEY") # get for free at https://www.weatherapi.com/
DJANGO_DOCS_BRANCH = "stable/5.0.x"

DEFAULT_AUTO_FIELD = "example.fields.UUIDAutoField"
2 changes: 1 addition & 1 deletion example/movies/apps.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,5 +2,5 @@


class MoviesConfig(AppConfig):
default_auto_field = "example.fields.UUIDAutoField"
default_auto_field = "django.db.models.BigAutoField"
name = "movies"
20 changes: 0 additions & 20 deletions example/movies/migrations/0004_alter_moviebacklogitem_id.py

This file was deleted.

0 comments on commit 69f03eb

Please sign in to comment.