view gpp/membermap/forms.py @ 72:7f199c85a07c

#19 Use new google maps API key for the entire surfguitar101.com domain.
author Brian Neal <bgneal@gmail.com>
date Wed, 01 Jul 2009 18:38:25 +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