The unit testing was for commands was split out from src/objects/tests.py into the new src/commands/default/test.py in order to keep the testing modules thematically grouped with the things they are testing.
13 lines
380 B
Python
Executable file
13 lines
380 B
Python
Executable file
"""
|
|
This structures the url tree for the news application.
|
|
It is imported from the root handler, game.web.urls.py.
|
|
"""
|
|
|
|
from django.conf.urls.defaults import *
|
|
|
|
urlpatterns = patterns('src.web.news.views',
|
|
(r'^show/(?P<entry_id>\d+)/$', 'show_news'),
|
|
(r'^archive/$', 'news_archive'),
|
|
(r'^search/$', 'search_form'),
|
|
(r'^search/results/$', 'search_results'),
|
|
)
|