Beispiel #1
0
from django.conf.urls import patterns, url

from views import (
    PopStatPage,
    AncestryPage,
    OutbreakPage,
    MealLog,
    JSONPlayerStats,
    JSONZombieAncestry,
    JSONTagHistogram,
    JSONPopulationTimeSeries,
)


urlpatterns = patterns('HVZ.stats.views',
    url(r'^$', PopStatPage.as_view(), name='stats_list'),
    url(r'^tags', MealLog.as_view(), name='stats_meal_log'),
    url(r'^outbreak', OutbreakPage.as_view(), name='stats_outbreak'),
    url(r'^ancestry', AncestryPage.as_view(), name='stats_ancestry'),
    url(r'^json/players.json', JSONPlayerStats.as_view(), name="data_players"),
    url(r'^json/ancestry.json', JSONZombieAncestry.as_view(), name="data_ancestry"),
    url(r'^json/taghistogram.json', JSONTagHistogram.as_view(), name="data_tag_histogram"),
    url(r'^json/poptimeseries.json',
        JSONPopulationTimeSeries.as_view(),
        name="data_pop_time_series"),
)
Beispiel #2
0
from django.conf.urls import patterns, url

from views import FullStatPage, JSONPlayerStats, MealLog


urlpatterns = patterns('HVZ.stats.views',
    url(r'^$', FullStatPage.as_view(), name='stats_list'),
    url(r'^json/players', JSONPlayerStats.as_view(), name="stats_players"),
    url(r'^data/meals', MealLog.as_view(), name='meal_log'),
)
Beispiel #3
0
from django.conf.urls import patterns, url

from views import (
    PopStatPage,
    AncestryPage,
    OutbreakPage,
    MealLog,
    JSONPlayerStats,
    JSONZombieAncestry,
    JSONTagHistogram,
    JSONPopulationTimeSeries,
)

urlpatterns = patterns(
    'HVZ.stats.views',
    url(r'^$', PopStatPage.as_view(), name='stats_list'),
    url(r'^tags', MealLog.as_view(), name='stats_meal_log'),
    url(r'^outbreak', OutbreakPage.as_view(), name='stats_outbreak'),
    url(r'^ancestry', AncestryPage.as_view(), name='stats_ancestry'),
    url(r'^json/players.json', JSONPlayerStats.as_view(), name="data_players"),
    url(r'^json/ancestry.json',
        JSONZombieAncestry.as_view(),
        name="data_ancestry"),
    url(r'^json/taghistogram.json',
        JSONTagHistogram.as_view(),
        name="data_tag_histogram"),
    url(r'^json/poptimeseries.json',
        JSONPopulationTimeSeries.as_view(),
        name="data_pop_time_series"),
)