view 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
line wrap: on
line source
"""
Forms for the member map application.
"""
from django import forms
from membermap.models import MapEntry


class MapEntryForm(forms.ModelForm):

    class Meta:
        model = MapEntry
        fields = ('location', 'message')

    class Media:
        css = {
            'all': ('js/markitup/skins/markitup/style.css',
                    'js/markitup/sets/markdown/style.css')
        }
        js = (
            'js/markitup/jquery.markitup.pack.js',
            'js/markitup/sets/markdown/set.js',
        )

# vim: ts=4 sw=4