summaryrefslogtreecommitdiffstats
path: root/agenda/urls.py
diff options
context:
space:
mode:
Diffstat (limited to 'agenda/urls.py')
-rwxr-xr-xagenda/urls.py72
1 files changed, 66 insertions, 6 deletions
diff --git a/agenda/urls.py b/agenda/urls.py
index dfe6593..72f093a 100755
--- a/agenda/urls.py
+++ b/agenda/urls.py
@@ -1,11 +1,71 @@
-from django.conf.urls.defaults import *
from infopoint.agenda.models import Event
+from django.conf.urls.defaults import *
+from django.db import models
+from django.contrib import admin, databrowse, admindocs
+from django.contrib.admindocs import views,urls
+from django.contrib.auth import views
+from django.views.generic import create_update
+from django.views.generic.create_update import update_object
+from django.contrib.auth.decorators import login_required
+from infopoint.agenda.models import *
+from django.contrib.admindocs import *
+from django import template, templatetags
+from django.template import RequestContext
+from django.conf import settings
+from django.contrib.admin.views.decorators import staff_member_required
+from django.shortcuts import render_to_response
+from django.core.exceptions import *
+from django.http import Http404
+from django.core import urlresolvers
+from django.contrib.sites.models import Site
+from django.utils.translation import ugettext as _
+from django.utils.safestring import mark_safe
+import inspect, os, re
+from infopoint.agenda.views import *
+from django.contrib.comments.models import Comment
+from django.contrib.comments.urls import *
+from django import forms
+from django.contrib.formtools.preview import FormPreview
+from infopoint.agenda.forms import *
+
+
+urlpatterns = patterns('infopoint.agenda.views',
+ (r'^agenda/(?P<object_id>\d+)/$', 'event'),
+ (r'^agenda/(?P<object_id>\d+)/adopt/$', 'adoptevent'),
+ (r'^agenda/event/(?P<object_id>\d+)/$', 'event'),
+ (r'^event/(?P<object_id>\d+)/$', 'event'),
+ (r'^agenda/location/(?P<object_id>\d+)/$', 'location'),
+ (r'^agenda/$', 'calendar'),
+ (r'^orphan/$', 'orphan_events'),
+ (r'^agenda/wishlist/$', 'wishlist'),
+ (r'^agenda/add/$', 'add_new_event'),
+ (r'^cal/(?P<year>\d+)/(?P<month>\d+)/$', 'calendarshape'),
+ (r'^agenda/add/submit/$', 'submit_new_event'),
+ (r'^$', 'calendar'),
+ (r'^random/$', 'random'),
+ (r'^agenda/(?P<event_id>\d+)/todo/(?P<todo_id>\d+)/close/$','closetodo'),
+ (r'^agenda/(?P<event_id>\d+)/todo/submit/$','saveeventtodo'),
+ (r'^agenda/(?P<event_id>\d+)/group/add/$','addeventtogroupsave'),
+ (r'^agenda/me/$', 'mismensajes'),
+ (r'^group/(?P<object_id>\d+)/$', 'justonegroup'),
+ (r'^agenda/group/(?P<object_id>\d+)/$', 'justonegroup'),
+ (r'^group/(?P<object_id>\d+)/todo/(?P<todo_id>\d+)/close/$', 'closegrouptodo'),
+ (r'^group/(?P<object_id>\d+)/todo/add/$', 'savegrouptodo'),
+ (r'^todo/add/$', 'addtodo'),
+ (r'^todo/(?P<todo_id>\d+)/close/$', 'closealltodo'),
+
-info_dict = {
- 'queryset': Event.calendar.all(),
-}
+)
+urlpatterns += patterns('infopoint.agenda.billboardviews',
+ (r'^agenda/map/(?P<object_id>\d+)/$', 'event_galaxy'),
+ (r'^agenda/map2/(?P<object_id>\d+)/$', 'event_galaxy_for_map'),
+ (r'^agenda/(?P<object_id>\d+)/(?P<billboard_id>\d+)$', 'one_still_event'),
+ (r'^agenda/random/(?P<billboard_id>\d+)$', 'billboard'),
+
+
+)
-urlpatterns = patterns('',
- (r'^group/(?P<object_id>\d+)/$', 'infopoint.agenda.views.justonegroup'),
+urlpatterns += patterns('',
+ (r'^comments/', include('django.contrib.comments.urls')),
)