Skip to content

Commit 83d2f0c

Browse files
authored
Merge pull request #5 from wmo-raf/dev
data parameters and effective periods
2 parents ca85535 + aa5e692 commit 83d2f0c

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

47 files changed

+4634
-1220
lines changed

.gitignore

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -66,7 +66,7 @@ coverage.xml
6666
cover/
6767

6868
# Translations
69-
*.mo
69+
# *.mo
7070

7171
# Django stuff:
7272

MANIFEST.in

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,3 +4,4 @@ recursive-include forecastmanager *.py
44
recursive-include forecastmanager/templates *
55
recursive-include forecastmanager/static *
66
recursive-include forecastmanager *.html
7+
recursive-include forecastmanager/locale *.po *.mo

forecastmanager/admin.py

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,9 @@
1-
from django.contrib.gis import admin
2-
# from .models import City
1+
from django.contrib import admin
2+
from .models import Forecast
33

44

5-
# class CityAdmin(admin.GISModelAdmin):
6-
# pass
5+
class ForecastAdmin(admin.ModelAdmin):
6+
pass
77

8-
# admin.site.register(City, CityAdmin)
8+
9+
admin.site.register(Forecast, ForecastAdmin)
9.88 KB
Binary file not shown.

0 commit comments

Comments
 (0)