Mercurial > public > sg101
comparison gpp/membermap/forms.py @ 1:dbd703f7d63a
Initial import of sg101 stuff from private repository.
author | gremmie |
---|---|
date | Mon, 06 Apr 2009 02:43:12 +0000 |
parents | |
children | b6263ac72052 |
comparison
equal
deleted
inserted
replaced
0:900ba3c7b765 | 1:dbd703f7d63a |
---|---|
1 """ | |
2 Forms for the member map application. | |
3 """ | |
4 from django import forms | |
5 from membermap.models import MapEntry | |
6 | |
7 | |
8 class MapEntryForm(forms.ModelForm): | |
9 | |
10 class Meta: | |
11 model = MapEntry | |
12 fields = ('location', 'message') | |
13 | |
14 class Media: | |
15 css = { | |
16 'all': ('js/markitup/skins/markitup/style.css', | |
17 'js/markitup/sets/markdown/style.css') | |
18 } | |
19 js = ( | |
20 'js/markitup/jquery.markitup.pack.js', | |
21 'js/markitup/sets/markdown/set.js', | |
22 ) | |
23 | |
24 # vim: ts=4 sw=4 |