2018-12-14 01:58:59 +00:00
|
|
|
from django.conf.urls import url
|
2019-05-10 22:48:58 +00:00
|
|
|
from django.urls import path, include
|
2019-05-11 01:29:44 +00:00
|
|
|
from GeoffreyApp import views
|
2018-10-26 23:42:53 +00:00
|
|
|
|
|
|
|
urlpatterns = [
|
2019-01-14 01:27:48 +00:00
|
|
|
url(r'^home/$', views.Home.as_view(), name='GeoffreyHome'),
|
|
|
|
url(r'^player/$', views.PlayerList.as_view(), name='GeoffreyPlayers'),
|
|
|
|
url(r'^player/(?P<id>[0-9]{1,9})/$', views.PlayerInfo.as_view(), name='GeoffreyPlayerInfo'),
|
|
|
|
url(r'^shops/$', views.ShopList.as_view(), name='GeoffreyShops'),
|
|
|
|
url(r'^shops/(?P<id>[0-9]{1,9})/$', views.ShopInfo.as_view(), name='GeoffreyShopInfo'),
|
|
|
|
url(r'^bases/$', views.BaseList.as_view(), name='GeoffreyBases'),
|
|
|
|
url(r'^bases/(?P<id>[0-9]{1,9})/$', views.BaseInfo.as_view(), name='GeoffreyBaseInfo'),
|
2019-02-06 20:54:50 +00:00
|
|
|
url(r'^towns/$', views.TownList.as_view(), name='GeoffreyTowns'),
|
|
|
|
url(r'^towns/(?P<id>[0-9]{1,9})/$', views.TownInfo.as_view(), name='GeoffreyTownInfo'),
|
2019-01-14 01:27:48 +00:00
|
|
|
url(r'^items/$', views.ItemListingList.as_view(), name='GeoffreyItems'),
|
|
|
|
url(r'^search/$', views.SearchList.as_view(), name='GeoffreySearch'),
|
2019-04-10 23:04:20 +00:00
|
|
|
url(r'^farms/$', views.PublicFarmList.as_view(), name='GeoffreyPublicFarms'),
|
|
|
|
url(r'^farms/(?P<id>[0-9]{1,9})/$', views.PublicFarmInfo.as_view(), name='GeoffreyPublicFarmInfo'),
|
|
|
|
url(r'^markets/$', views.MarketList.as_view(), name='GeoffreyMarkets'),
|
2019-04-13 00:39:25 +00:00
|
|
|
url(r'^markets/(?P<id>[0-9]{1,9})/$', views.MarketInfo.as_view(), name='GeoffreyMarketInfo'),
|
|
|
|
url(r'^pointofinterest/$', views.PointOfInterestList.as_view(), name='GeoffreyPointOfInterest'),
|
|
|
|
url(r'^pointofinterest/(?P<id>[0-9]{1,9})/$', views.PointOfInterestInfo.as_view(),
|
|
|
|
name='GeoffreyPointOfInterestInfo'),
|
2019-05-12 16:23:59 +00:00
|
|
|
url(r'^attraction/$', views.AttractionList.as_view(), name='GeoffreyAttraction'),
|
|
|
|
url(r'^attraction/(?P<id>[0-9]{1,9})/$', views.AttractionInfo.as_view(),
|
|
|
|
name='AttractionInfo'),
|
2019-05-10 22:48:58 +00:00
|
|
|
path('api/', include('GeoffreyApp.api.urls')),
|
2018-12-02 00:25:53 +00:00
|
|
|
]
|
|
|
|
|