Mercurial > public > sg101
view gpp/membermap/forms.py @ 9:b3b11edf91d8
News: removed the lxml stuff. Based on Jacob Kaplan-Moss suggestion, use html5lib to clean html. Added that functionality in a new core.html module.
author | Brian Neal <bgneal@gmail.com> |
---|---|
date | Sun, 12 Apr 2009 02:03:03 +0000 |
parents | b6263ac72052 |
children | c515b7401078 |
line wrap: on
line source
""" Forms for the member map application. """ from django import forms from django.conf import settings from membermap.models import MapEntry class MapEntryForm(forms.ModelForm): class Meta: model = MapEntry fields = ('location', 'message') class Media: css = { 'all': settings.GPP_THIRD_PARTY_CSS['markitup'] } js = settings.GPP_THIRD_PARTY_JS['markitup'] # vim: ts=4 sw=4