from django.conf.urls.defaults import *
from django.contrib.auth.decorators import login_required
from meetings.views import (PastMeetings,
                            ProposeTopic,
                            MyTopics,
                            RSVP,
                            PastTopics,
)

urlpatterns = patterns("",
    url(r'^past/$', PastMeetings.as_view(), name='past_meetings'),
    url(r'^rsvp/$', RSVP.as_view(), name='rsvp'),
    url(r'^rsvp/anonymous/$', RSVP.as_view(), name='anonymous_rsvp'),
    url(r'^topics/propose$', login_required(ProposeTopic.as_view()), name='propose_topic'),
    url(r'^topics/mine$', login_required(MyTopics.as_view()), name='my_topics'),
    url(r'^topics/past$', PastTopics.as_view(), name='past_topics'),
)

from django.conf.urls.defaults import *
from django.contrib.auth.decorators import login_required
from meetings.views import (PastMeetings,
                            ProposeTopic,
                            MyTopics,
                            RSVP,
                            PastTopics,
)

urlpatterns = patterns("",
    url(r'^past/$', PastMeetings.as_view(), name='past_meetings'),
    url(r'^rsvp/$', RSVP.as_view(), name='rsvp'),
    url(r'^rsvp/anonymous/$', RSVP.as_view(), name='anonymous_rsvp'),
    url(r'^rsvp/anonymous/(?P<rsvp_key>[a-z0-1]{40})/$', RSVP.as_view(), name='anonymous_rsvp_with_key'),
    url(r'^topics/propose$', login_required(ProposeTopic.as_view()), name='propose_topic'),
    url(r'^topics/mine$', login_required(MyTopics.as_view()), name='my_topics'),
    url(r'^topics/past$', PastTopics.as_view(), name='past_topics'),
)

Add url for anonymous rsvp with key
Add url for anonymous rsvp with key
