diff options
author | luxagraf <sng@luxagraf.net> | 2014-06-05 17:01:51 +0000 |
---|---|---|
committer | luxagraf <sng@luxagraf.net> | 2014-06-05 17:01:51 +0000 |
commit | 1c2c28270911dbd2e5fbf106edcce6cc5f053101 (patch) | |
tree | 7ef81eb54d58fd1df89aeab3c0393b64e9a8407b /app/notes/admin.py | |
parent | e7e75fb45f3ac068872f04eaf91dbf0ced11959a (diff) |
fixed some bugs in notes app and added check for twitter submit
Diffstat (limited to 'app/notes/admin.py')
-rw-r--r-- | app/notes/admin.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/app/notes/admin.py b/app/notes/admin.py index 8797a92..03b8b37 100644 --- a/app/notes/admin.py +++ b/app/notes/admin.py @@ -13,13 +13,13 @@ class NoteModelForm(forms.ModelForm): class NoteAdmin(OSMGeoAdmin): form = NoteModelForm - list_display = ('slug', 'date_created', 'location') + list_display = ('slug', 'date_created', 'location', 'twitter_id') list_filter = ('location',) fieldsets = ( ('Note', { 'fields': ( 'body_markdown', - 'slug', + ('twitter_send', 'slug'), 'point' ), 'classes': ( |