-
Notifications
You must be signed in to change notification settings - Fork 1
/
urls.py
78 lines (56 loc) · 2.64 KB
/
urls.py
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
# Copyright 2008 Google Inc.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
from django.conf.urls.defaults import *
#from counter.models import Input as Input
#from counter.models import ParentEvent as ParentEvent
#from counter.models import EventAddress as EventAddress
#input_dict = {
# 'queryset': Input.objects.all(),
# 'date_field': 'pub_date',
#}
urlpatterns = patterns('',
# Example:
(r'^$', 'counter.views.CountMe'),
(r'^navi/', 'counter.views.navi'),
(r'^CountMe/$', 'counter.views.CountMe'),
(r'^CountNow/$','counter.views.CountNow'),
(r'^CountNow1/$','counter.views.CountNow1'),
(r'^about/$','counter.views.about'),
(r'^about_me/$','counter.views.about_me'),
(r'^addsessionform/$','counter.views.addsessionform'),
(r'^addstats/$','counter.views.addstats'),
(r'^addstatsform/$','counter.views.addstatsform'),
(r'^addmorestats/$','counter.views.addmorestats'),
(r'^api/$','counter.views.api'),
(r'^delete/$', 'counter.views.delete_it'),
(r'^delete_stat/$', 'counter.views.delete_stat'),
(r'^delete_address/(?P<address_key>[^\.^/]+)/$', 'counter.views.delete_address'),
(r'^feed/$','counter.views.feed'),
(r'^Geotag/$','counter.views.Geotag'),
(r'^recent/$','counter.views.recently_updated'),
(r'^event/(?P<event_key>[^\.^/]+)/$', 'counter.views.event_detail'),
(r'^showstats/(?P<event_key>[^\.^/]+)/$', 'counter.views.showstats'),
(r'^stat/(?P<stat_key>[^\.^/]+)/$', 'counter.views.stat'),
(r'^contributor_stats/$', 'counter.views.Show_ContributorStat'),
(r'^multisession-event/(?P<event_key>[^\.^/]+)/$', 'counter.views.multisession_event_detail'),
(r'^multisession-ratio/(?P<event_key>[^\.^/]+)/$', 'counter.views.multisession_event_ratio'),
(r'^all_multisession/$', 'counter.views.all_multisession_events'),
(r'^all_multisession_add/$', 'counter.views.all_multisession_events_add'),
(r'^all/$', 'counter.views.all_events'),
(r'^all/$', 'counter.views.all_events'),
(r'^why/$', 'counter.views.why'),
(r'^faq/$', 'counter.views.faq'),
# Uncomment this for admin:
# (r'^admin/', include('django.contrib.admin.urls')),
)