Ejemplo n.º 1
0
    url(r'^login/$', 'login', name='login'),
    url(r'^forgot/$', 'forgot', name='forgot'),
    url(r'^logout/$', 'logout', name='logout'),
    #    url(r'^community/$',        'community',                                name='community'    ),
    url(r'^terms/$', 'terms', name='terms'),
    url(r'^remind/$', 'remind', name='remind'),
    url(r'^about/$', 'about', name='about'),
    url(r'^faq/$', 'faq', name='faq'),
    url(r'^interest/$',
        login_required(InterestView.as_view()),
        name='interest'),
    url(r'^chapter/$', login_required(ChapterView.as_view()), name='chapter'),
    url(r'^eventbrite/$',
        login_required(EventbriteView.as_view()),
        name='eventbrite'),
    url(r'^deal/$', login_required(DealView.as_view()), name='deal'),
    url(r'^leadbuyer/$',
        login_required(LeadBuyerView.as_view()),
        name='leadbuyer'),
    url(r'^event/$', login_required(EventView.as_view()), name='event'),
    url(r'^survey/$', login_required(SurveyView.as_view()), name='survey'),
    url(r'^connection/$',
        login_required(ConnectionView.as_view()),
        name='connection'),
    url(r'^term/$', login_required(TermView.as_view()), name='term'),
    url(r'^profile/$', login_required(ProfileView.as_view()), name='profile'),
    url(r'^letter/$', login_required(LetterView.as_view()), name='letter'),
    url(r'^potential/$', 'potential', name='potential'),
    url(r'^invites/$', 'invites', name='invites'),
)
Ejemplo n.º 2
0
from django.views.decorators.csrf import csrf_exempt
from django.conf.urls import url
from views import (EventView, SyncGoogleCalnder, EventListView)

urlpatterns = [
    url(r'^v1/events/$', csrf_exempt(EventView.as_view())),
    url(r'^v1/events/(?P<event_id>[0-9]+)/$',
        csrf_exempt(EventListView.as_view())),
    url(r'^v1/sync/$', csrf_exempt(SyncGoogleCalnder.as_view())),
]
Ejemplo n.º 3
0
# -*- coding: utf-8 -*-
# __author__ = chenchiyuan

from __future__ import division, unicode_literals, print_function

from django.conf.urls import patterns, url
from views import EventView, UserEventsView

urlpatterns = patterns('',
    url(r'^v1/event/$', view=EventView.as_view(), name='event'),
    url(r'^v1/user/$', view=UserEventsView.as_view(), name='user_event'),
)
  
Ejemplo n.º 4
0
from django.conf.urls import url
from . import views
from views import CategoriesView, ResultsView, EventView

urlpatterns = [
    url(r'^$', CategoriesView.as_view(), name='home'),
    url(r'^results$', ResultsView.as_view(), name='search'),
    url(r'^results/(?P<page_number>\w+)/$', ResultsView.as_view(), name='results'),
    url(r'^event/(?P<events_id>\w+)/$', EventView.as_view(), name='event'),
]
Ejemplo n.º 5
0
def venues(venue_id=None):
    events = app.event_list.get_events('venue_id', venue_id)
    event_views = [EventView(e).json for e in events]
    return render_template('eventlist.html', items=event_views)
Ejemplo n.º 6
0
def index():
    events = app.event_list.get_events()
    event_views = [EventView(e).json for e in events]
    return render_template('eventlist.html', items=event_views)
Ejemplo n.º 7
0
from django.conf.urls import *
from views import EventView

urlpatterns = patterns('',
                       url(r'^activities/$', EventView.as_view(), name='events'),
                       # url(r'^subscriptions/$', EventSubscriptionView.as_view(), name='subscriptions'),
                       # url(r'^activities/subscribe/(?P<person_id>\d+)/(?P<key>\w+)/$', SubscribeView.as_view(), name='subscribe'),
                       # url(r'^import/$', ImportView.as_view(), name='import'),
                       # url(r'^teams/$', TeamView.as_view(), name='teams'),
                       # url(r'^send_mails/$', SendMailsView.as_view(), name='send_mails'),
                       # url(r'^send_reminders/$', SendRemindersView.as_view(), name='send_reminders'),
                       # url(r'^online-contest/register/$', LiveContestRegistrationView.as_view(), name='livecontest_registration'),
                       # url(r'^online-contest/registration-succes/$', \
                       #     TemplateView.as_view(template_name='contest/livecontestregistration_success.html'), \
                       #     name='livecontest_succes'\
                       # ),

                       # url(r'^export/teams/$', ExportTeamsView.as_view(), name='export_teams'),
                       # url(r'^export/affiliations/$', ExportAffiliationsView.as_view(), name='export_affiliations'),
                       # url(r'^export/affiliations/images/$', ExportAffiliationImagesView.as_view(), name='export_affiliation_images'),
                       # url(r'^export/zip/$', ExportZip.as_view(), name='export_zip'),
                       # url(r'^export/zip/(?P<key>\w+)/$', ExportZipKey.as_view(), name='export_zip_key'),
                       # url(r'^export/livecontest/teams/$', ExportLiveContestTeamsView.as_view(), name='export_livecontest_teams'),
                       # url(r'^export/livecontest/affiliations/$', ExportLiveContestAffiliationsView.as_view(), name='export_livecontest_affiliations')
)