Skip to content

Commit

Permalink
Preparation for region data injection (#6)
Browse files Browse the repository at this point in the history
* Update main_cap-aggregator(dev).yml

* added separate configurations for each cap source format

* added region data

* reset migrations

* removed region usage before declaration

* fixed variation scope issue
  • Loading branch information
Alfiejz committed Jun 22, 2023
1 parent 3fbd948 commit 5c6fed7
Show file tree
Hide file tree
Showing 9 changed files with 8,563 additions and 49 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/main_cap-aggregator(dev).yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ name: Build and deploy Python app to Azure Web App - cap-aggregator
on:
push:
branches:
- main
- develop
workflow_dispatch:

jobs:
Expand Down
4 changes: 3 additions & 1 deletion cap_feed/admin.py
Original file line number Diff line number Diff line change
@@ -1,7 +1,9 @@
from django.contrib import admin

from .models import Alert
from .models import Alert, Region, Country

# Register your models here.

admin.site.register(Alert)
admin.site.register(Region)
admin.site.register(Country)
Loading

0 comments on commit 5c6fed7

Please sign in to comment.