summaryrefslogtreecommitdiffstats
path: root/urls.py
diff options
context:
space:
mode:
Diffstat (limited to 'urls.py')
-rw-r--r--urls.py93
1 files changed, 0 insertions, 93 deletions
diff --git a/urls.py b/urls.py
deleted file mode 100644
index f38285e..0000000
--- a/urls.py
+++ /dev/null
@@ -1,93 +0,0 @@
-from django.conf.urls.defaults import *
-from django.db import models
-
-# Uncomment the next two lines to enable the admin:
-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.sites.models import *
-from infopoint.agenda.models import *
-from infopoint.flatpages.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 *
-
-admin.autodiscover()
-
-info_dict = {
- 'queryset': Site.objects.all(),
-}
-
-update = {
- 'login_required': True,
- 'model': 'location',
-
-}
-
-
-urlpatterns = patterns('',
-# Uncomment the next line to enable admin documentation:
- (r'^group/(?P<object_id>\d+)/$', 'infopoint.agenda.views.justonegroup'),
- (r'^group/(?P<object_id>\d+)/todo/(?P<todo_id>\d+)/close/$', 'infopoint.agenda.views.closegrouptodo'),
- (r'^group/(?P<object_id>\d+)/todo/add/$', 'infopoint.agenda.views.savegrouptodo'),
- (r'^agenda/group/(?P<object_id>\d+)/todo/add/$', 'infopoint.agenda.views.savegrouptodo'),
- (r'^agenda/(?P<object_id>\d+)/(?P<billboard_id>\d+)$', 'infopoint.agenda.billboardviews.one_still_event'),
- (r'^agenda/random/(?P<billboard_id>\d+)$', 'infopoint.agenda.billboardviews.billboard'),
- (r'^agenda/(?P<object_id>\d+)/map/$', 'infopoint.agenda.billboardviews.event_galaxy'),
- (r'^agenda/(?P<object_id>\d+)/cal/$', 'infopoint.agenda.views.ical_one_event'),
- (r'^agenda/user/(?P<object_id>\d+)/cal/$', 'infopoint.agenda.views.ical_user_events'),
- (r'^agenda/user/(?P<object_id>\d+)/busy/$', 'infopoint.agenda.views.ical_user_busytime'),
- (r'^agenda/user/(?P<object_id>\d+)/map/$', 'infopoint.agenda.billboardviews.user_galaxymap'),
- (r'^agenda/location/(?P<object_id>\d+)/map/$', 'infopoint.agenda.billboardviews.location_galaxymap'),
- (r'^agenda/group/(?P<object_id>\d+)/map/$', 'infopoint.agenda.billboardviews.group_galaxymap'),
- (r'^agenda/group/(?P<object_id>\d+)/$', 'infopoint.agenda.views.justonegroup'),
- (r'^agenda/next_events_cal/$', 'infopoint.agenda.views.ical_next_events'),
- (r'^agenda/me/$', 'infopoint.agenda.views.mismensajes'),
- (r'^todo/add/$', 'infopoint.agenda.views.addtodo'),
- (r'^agenda/(?P<event_id>\d+)/todo/(?P<todo_id>\d+)/close/$','infopoint.agenda.views.closetodo'),
- (r'^agenda/(?P<event_id>\d+)/todo/submit/$','infopoint.agenda.views.saveeventtodo'),
- (r'^agenda/(?P<event_id>\d+)/group/add/$','infopoint.agenda.views.addeventtogroupsave'),
- #(r'^todo/create/$',TodoCreateForm(TodoForm)),
- (r'^admin/doc/', include('django.contrib.admindocs.urls')),
- (r'^comments/', include('django.contrib.comments.urls.comments')),
- (r'^comment/(?P<object_id>\d+)/$', 'infopoint.agenda.views.one_comment'),
- (r'^user/login/$', 'django.contrib.auth.views.login'),
-# Uncomment the next line for to enable the admin:
- (r'^admin/(.*)', admin.site.root),
- (r'^$', 'django.views.generic.list_detail.object_list', info_dict),
- (r'^site/', include('infopoint.sites.urls')),
- (r'^calendar/', include('infopoint.agenda.urls')),
- (r'^databrowse/(.*)', login_required(databrowse.site.root)),
- (r'^test/(.*)', login_required(databrowse.site.root)),
- # (r'^comments/post/$', CommentFormPreview(CommentForm)),
- #(r'^tasks/add/$', (CommentForm)),
-)
-
-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'^random/$', 'random'),
-)