Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix migration 0011 #112

Merged
merged 2 commits into from
Jan 7, 2025
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,7 @@
## 1.3.x
### 1.3.2
#### Bugfix
* Fixed migration 0011
### 1.3.1
### Changes
* Forced the existence of only 1 Config object with id=1
Expand Down
1 change: 1 addition & 0 deletions buffalogs/buffalogs/settings/settings.py
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@
For the full list of settings and their values, see
https://docs.djangoproject.com/en/4.1/ref/settings/
"""

import os
from datetime import timedelta
from pathlib import Path
Expand Down
1 change: 1 addition & 0 deletions buffalogs/buffalogs/urls.py
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@
1. Import the include() function: from django.urls import include, path
2. Add a URL to urlpatterns: path('blog/', include('blog.urls'))
"""

from django.contrib import admin
from django.urls import include, path
from impossible_travel import views
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,7 @@ class Migration(migrations.Migration):
]

operations = [
migrations.RunPython(update_alert_name, migrations.RunPython.noop),
migrations.AddField(
model_name="alert",
name="filter_type",
Expand Down Expand Up @@ -381,5 +382,4 @@ class Migration(migrations.Migration):
name="valid_user_risk_score_choice",
),
),
migrations.RunPython(update_alert_name, migrations.RunPython.noop),
]