示例#1
0
# coding: utf-8
from dext.views import resource_patterns
from the_tale.game.abilities.views import AbilitiesResource

urlpatterns = resource_patterns(AbilitiesResource)
示例#2
0
# coding: utf-8

from django.conf.urls import url
from django.conf.urls import include

from dext.views import resource_patterns

from the_tale.blogs.views import PostResource

urlpatterns = [
    url(r'^posts/', include(resource_patterns(PostResource),
                            namespace='posts')),
]
示例#3
0
文件: urls.py 项目: serhii73/the-tale
# coding: utf-8

from dext.views import resource_patterns

from the_tale.game.bills.views import BillResource

urlpatterns = resource_patterns(BillResource)
示例#4
0
文件: urls.py 项目: Alkalit/the-tale
# coding: utf-8

from django.conf.urls import patterns, include

from dext.views import resource_patterns

from the_tale.accounts import views

urlpatterns = patterns('',
                       (r'^registration/', include(resource_patterns(views.RegistrationResource), namespace='registration')),
                       (r'^profile/', include(resource_patterns(views.ProfileResource), namespace='profile')),
                       (r'^auth/', include(resource_patterns(views.AuthResource), namespace='auth')),
                       (r'^messages/', include('the_tale.accounts.personal_messages.urls', namespace='messages') ),
                       (r'^friends/', include('the_tale.accounts.friends.urls', namespace='friends')),
                       (r'^clans/', include('the_tale.accounts.clans.urls', namespace='clans')),
                       (r'^achievements/', include('the_tale.accounts.achievements.urls', namespace='achievements')),
                       (r'^third-party/', include('the_tale.accounts.third_party.urls', namespace='third-party')),
                       (r'^', include(views.accounts_resource.get_urls())),
                      )
示例#5
0
文件: urls.py 项目: Alkalit/the-tale
# coding: utf-8

from django.conf.urls import patterns, include

from dext.views import resource_patterns

from the_tale.accounts.third_party.views import TokensResource

urlpatterns = patterns('',
                       (r'^tokens/', include(resource_patterns(TokensResource), namespace='tokens'))
    )
示例#6
0
文件: urls.py 项目: serhii73/the-tale
# coding: utf-8
from django.conf.urls import url
from django.conf.urls import include

from dext.views import resource_patterns

from the_tale.game.mobs.views import GuideMobResource
from the_tale.game.artifacts.views import GuideArtifactResource
from the_tale.game.cards import views as cards_views
from the_tale.game.companions.views import resource as companions_resource

from the_tale.guide.views import GuideResource

urlpatterns = resource_patterns(GuideResource)

urlpatterns += [
    url(r'^mobs/',
        include(resource_patterns(GuideMobResource), namespace='mobs')),
    url(
        r'^artifacts/',
        include(resource_patterns(GuideArtifactResource),
                namespace='artifacts')),
    url(r'^cards/',
        include(cards_views.guide_resource.get_urls(), namespace='cards')),
    url(r'^companions/',
        include(companions_resource.get_urls(), namespace='companions'))
]
示例#7
0
# coding: utf-8

from dext.views import resource_patterns

from the_tale.game.artifacts.views import GameArtifactResource

urlpatterns = resource_patterns(GameArtifactResource)
示例#8
0
# coding: utf-8

from django.conf.urls import url
from django.conf.urls import include

from dext.views import resource_patterns

from the_tale.finances.xsolla.views import XsollaResource

urlpatterns = [url(r'^', include(resource_patterns(XsollaResource))),]
示例#9
0
# coding: utf-8

from django.conf.urls import patterns, include

from dext.views import resource_patterns

from the_tale.cms.views import CMSResource
from the_tale.cms.conf import cms_settings

urlpatterns = patterns('')

for section in cms_settings.SECTIONS:
    urlpatterns += patterns(
        '', (section.url,
             include(resource_patterns(CMSResource, args={'section': section}),
                     namespace=section.id)))
示例#10
0
文件: urls.py 项目: pavetok/the-tale
# coding: utf-8

from django.conf.urls import patterns, include

from dext.views import resource_patterns

from the_tale.accounts.achievements.views import AchievementsResource

urlpatterns = patterns(
    '', (r'^', include(resource_patterns(AchievementsResource))))
示例#11
0
文件: urls.py 项目: serhii73/the-tale
# coding: utf-8

from dext.views import resource_patterns

from the_tale.game.heroes.views import HeroResource

urlpatterns = resource_patterns(HeroResource)
示例#12
0
文件: urls.py 项目: pavetok/the-tale
# coding: utf-8

from dext.views import resource_patterns

from the_tale.game.mobs.views import GameMobResource

urlpatterns = resource_patterns(GameMobResource)
示例#13
0
文件: urls.py 项目: Alkalit/the-tale
# coding: utf-8

from dext.views import resource_patterns

from the_tale.game.pvp.views import PvPResource

urlpatterns = resource_patterns(PvPResource)
示例#14
0
# coding: utf-8

from dext.views import resource_patterns
from the_tale.game.quests.views import QuestsResource

urlpatterns = resource_patterns(QuestsResource)
示例#15
0
文件: urls.py 项目: serhii73/the-tale
# coding: utf-8

from django.conf.urls import url
from django.conf.urls import include

from dext.views import resource_patterns

from the_tale.accounts.third_party.views import TokensResource

urlpatterns = [
    url(r'^tokens/',
        include(resource_patterns(TokensResource), namespace='tokens'))
]
示例#16
0
文件: urls.py 项目: Alkalit/the-tale
# coding: utf-8

from django.conf.urls import patterns, include

from dext.views import resource_patterns

from the_tale.linguistics import views


urlpatterns = patterns('',
                       (r'^words/', include(resource_patterns(views.WordResource), namespace='words') ),
                       (r'^templates/', include(resource_patterns(views.TemplateResource), namespace='templates') ) )


urlpatterns += resource_patterns(views.LinguisticsResource)
示例#17
0
# coding: utf-8

from dext.views import resource_patterns

from the_tale.accounts.friends.views import FriendsResource

urlpatterns = resource_patterns(FriendsResource)
示例#18
0
# coding: utf-8

from django.conf.urls import patterns, include

from dext.views import resource_patterns

from the_tale.linguistics import views

urlpatterns = patterns(
    '', (r'^words/',
         include(resource_patterns(views.WordResource), namespace='words')),
    (r'^templates/',
     include(resource_patterns(views.TemplateResource),
             namespace='templates')))

urlpatterns += resource_patterns(views.LinguisticsResource)
示例#19
0
from django.conf.urls import url
from django.conf.urls import include

from dext.views import resource_patterns

from the_tale.accounts import views

urlpatterns = [
    url(
        r'^registration/',
        include(views.registration_resource.get_urls(),
                namespace='registration')),
    url(r'^profile/',
        include(resource_patterns(views.ProfileResource),
                namespace='profile')),
    url(r'^auth/',
        include(resource_patterns(views.AuthResource), namespace='auth')),
    url(
        r'^messages/',
        include('the_tale.accounts.personal_messages.urls',
                namespace='messages')),
    url(r'^friends/',
        include('the_tale.accounts.friends.urls', namespace='friends')),
    url(r'^clans/', include('the_tale.accounts.clans.urls',
                            namespace='clans')),
    url(
        r'^achievements/',
        include('the_tale.accounts.achievements.urls',
                namespace='achievements')),
    url(r'^third-party/',
        include('the_tale.accounts.third_party.urls',
示例#20
0
文件: urls.py 项目: serhii73/the-tale
# coding: utf-8

from django.conf.urls import url
from django.conf.urls import include

from dext.views import resource_patterns

from the_tale.forum.views import ForumResource, PostsResource, ThreadsResource, SubscriptionsResource, SubCategoryResource

urlpatterns = [
    url(r'^posts/', include(resource_patterns(PostsResource),
                            namespace='posts')),
    url(r'^threads/',
        include(resource_patterns(ThreadsResource), namespace='threads')),
    url(
        r'^subcategories/',
        include(resource_patterns(SubCategoryResource),
                namespace='subcategories')),
    url(
        r'^subscriptions/',
        include(resource_patterns(SubscriptionsResource),
                namespace='subscriptions')),
    url(r'^', include(resource_patterns(ForumResource)))
]
示例#21
0
文件: urls.py 项目: pavetok/the-tale
# coding: utf-8

from django.conf.urls import patterns, include

from dext.views import resource_patterns

from the_tale.accounts import views

urlpatterns = patterns(
    '',
    (r'^registration/',
     include(resource_patterns(views.RegistrationResource),
             namespace='registration')),
    (r'^profile/',
     include(resource_patterns(views.ProfileResource), namespace='profile')),
    (r'^auth/', include(resource_patterns(views.AuthResource),
                        namespace='auth')),
    (r'^messages/',
     include('the_tale.accounts.personal_messages.urls',
             namespace='messages')),
    (r'^friends/',
     include('the_tale.accounts.friends.urls', namespace='friends')),
    (r'^clans/', include('the_tale.accounts.clans.urls', namespace='clans')),
    (r'^achievements/',
     include('the_tale.accounts.achievements.urls', namespace='achievements')),
    (r'^third-party/',
     include('the_tale.accounts.third_party.urls', namespace='third-party')),
    (r'^', include(views.accounts_resource.get_urls())),
)
示例#22
0
# coding: utf-8

from django.conf.urls import url
from django.conf.urls import include

from dext.views import resource_patterns

from the_tale.accounts.clans.views import ClansResource, MembershipResource

urlpatterns = [url(r'^membership/', include(resource_patterns(MembershipResource), namespace='membership')),
               url(r'^', include(resource_patterns(ClansResource)) )]
示例#23
0
文件: urls.py 项目: Alkalit/the-tale
# coding: utf-8

from dext.views import resource_patterns

from the_tale.game.ratings.views import RatingResource

urlpatterns = resource_patterns(RatingResource)
示例#24
0
文件: urls.py 项目: Alkalit/the-tale
# coding: utf-8

from django.conf.urls import patterns, include

from dext.views import resource_patterns

from the_tale.collections.views import KitsResource, CollectionsResource, ItemsResource

urlpatterns = patterns('',
                       (r'^kits/', include(resource_patterns(KitsResource), namespace='kits')),
                       (r'^collections/', include(resource_patterns(CollectionsResource), namespace='collections')),
                       (r'^items/', include(resource_patterns(ItemsResource), namespace='items'))
)
示例#25
0
# coding: utf-8

from django.conf.urls import url
from django.conf.urls import include

from dext.views import resource_patterns

from the_tale.accounts.clans.views import ClansResource, MembershipResource

urlpatterns = [
    url(r'^membership/',
        include(resource_patterns(MembershipResource),
                namespace='membership')),
    url(r'^', include(resource_patterns(ClansResource)))
]
示例#26
0
# coding: utf-8

from dext.views import resource_patterns

from portal.views import PortalResource

urlpatterns = resource_patterns(PortalResource)
示例#27
0
文件: urls.py 项目: serhii73/the-tale
# coding: utf-8

from dext.views import resource_patterns

from the_tale.game.chronicle.views import ChronicleResource

urlpatterns = resource_patterns(ChronicleResource)
示例#28
0
# coding: utf-8

from django.conf.urls import url
from django.conf.urls import include

from dext.views import resource_patterns

from the_tale.cms.views import CMSResource
from the_tale.cms.conf import cms_settings


urlpatterns = []

for section in cms_settings.SECTIONS:
    urlpatterns += [url(section.url, include(resource_patterns(CMSResource, args={'section': section}), namespace=section.id)) ]
示例#29
0
# coding: utf-8

from django.conf.urls import url
from django.conf.urls import include

from dext.views import resource_patterns

from the_tale.accounts.achievements.views import AchievementsResource

urlpatterns = [url(r'^', include(resource_patterns(AchievementsResource)) )]
示例#30
0
# coding: utf-8

from django.conf.urls import patterns, include

from dext.views import resource_patterns

from the_tale.blogs.views import PostResource

urlpatterns = patterns(
    '',
    (r'^posts/', include(resource_patterns(PostResource), namespace='posts')),
)
示例#31
0
文件: urls.py 项目: Alkalit/the-tale
# coding: utf-8

from django.conf.urls import patterns, include

from dext.views import resource_patterns

from the_tale.accounts.achievements.views import AchievementsResource

urlpatterns = patterns('',
                       (r'^', include(resource_patterns(AchievementsResource)) )
    )
示例#32
0
文件: urls.py 项目: serhii73/the-tale
# coding: utf-8

from dext.views import resource_patterns

from the_tale.portal.developers_info.views import DevelopersInfoResource

urlpatterns = resource_patterns(DevelopersInfoResource)
示例#33
0
文件: urls.py 项目: pavetok/the-tale
# coding: utf-8

from dext.views import resource_patterns

from the_tale.statistics.views import StatisticsResource

urlpatterns = resource_patterns(StatisticsResource)
示例#34
0
# coding: utf-8

from django.conf.urls import url
from django.conf.urls import include

from dext.views import resource_patterns

from the_tale.forum.views import ForumResource, PostsResource, ThreadsResource, SubscriptionsResource, SubCategoryResource

urlpatterns = [url(r'^posts/', include(resource_patterns(PostsResource), namespace='posts')),
               url(r'^threads/', include(resource_patterns(ThreadsResource), namespace='threads')),
               url(r'^subcategories/', include(resource_patterns(SubCategoryResource), namespace='subcategories')),
               url(r'^subscriptions/', include(resource_patterns(SubscriptionsResource), namespace='subscriptions')),
               url(r'^', include(resource_patterns(ForumResource)) )]
示例#35
0
文件: urls.py 项目: pavetok/the-tale
# coding: utf-8

from django.conf.urls import patterns, include

from dext.views import resource_patterns

from the_tale.collections.views import KitsResource, CollectionsResource, ItemsResource

urlpatterns = patterns(
    '',
    (r'^kits/', include(resource_patterns(KitsResource), namespace='kits')),
    (r'^collections/',
     include(resource_patterns(CollectionsResource), namespace='collections')),
    (r'^items/', include(resource_patterns(ItemsResource), namespace='items')))
示例#36
0
文件: urls.py 项目: pavetok/the-tale
# coding: utf-8

from django.conf.urls import patterns, include

from dext.views import resource_patterns

from the_tale.accounts.third_party.views import TokensResource

urlpatterns = patterns(
    '',
    (r'^tokens/', include(resource_patterns(TokensResource),
                          namespace='tokens')))
示例#37
0
# coding: utf-8
from django.conf.urls import url
from django.conf.urls import include

from dext.views import resource_patterns

from the_tale.game.mobs.views import GuideMobResource
from the_tale.game.artifacts.views import GuideArtifactResource
from the_tale.game.cards import views as cards_views
from the_tale.game.companions.views import resource as companions_resource

from the_tale.guide.views import GuideResource


urlpatterns = resource_patterns(GuideResource)

urlpatterns += [url(r'^mobs/', include(resource_patterns(GuideMobResource), namespace='mobs') ),
                url(r'^artifacts/', include(resource_patterns(GuideArtifactResource), namespace='artifacts') ),
                url(r'^cards/', include(cards_views.guide_resource.get_urls(), namespace='cards') ),
                url(r'^companions/', include(companions_resource.get_urls(), namespace='companions') )]
示例#38
0
文件: urls.py 项目: Alkalit/the-tale
# coding: utf-8

from django.conf.urls import patterns, include

from dext.views import resource_patterns

from the_tale.blogs.views import PostResource

urlpatterns = patterns('',
                       (r'^posts/', include(resource_patterns(PostResource), namespace='posts')),
)
示例#39
0
from dext.views import resource_patterns

from the_tale.game.ratings.views import RatingResource

urlpatterns = resource_patterns(RatingResource)
示例#40
0
from dext.views import resource_patterns

from riddles.views import RiddlesResource

urlpatterns = resource_patterns(RiddlesResource)
示例#41
0
文件: urls.py 项目: serhii73/the-tale
# coding: utf-8

from dext.views import resource_patterns

from the_tale.game.balance.views import BalanceResource

urlpatterns = resource_patterns(BalanceResource)
示例#42
0
# coding: utf-8

from django.conf.urls import patterns, include

from dext.views import resource_patterns

from the_tale.accounts.clans.views import ClansResource, MembershipResource

urlpatterns = patterns(
    '',
    (r'^membership/',
     include(resource_patterns(MembershipResource), namespace='membership')),
    (r'^', include(resource_patterns(ClansResource))))
示例#43
0
文件: urls.py 项目: serhii73/the-tale
# coding: utf-8

from django.conf.urls import url
from django.conf.urls import include

from dext.views import resource_patterns

from the_tale.portal.views import PortalResource

urlpatterns = [
    url(
        r'^developers-info/',
        include('the_tale.portal.developers_info.urls',
                namespace='developers-info'))
]

urlpatterns += resource_patterns(PortalResource)
示例#44
0
# coding: utf-8

from dext.views import resource_patterns

from the_tale.common.postponed_tasks.views import PostponedTaskResource

urlpatterns = resource_patterns(PostponedTaskResource)
示例#45
0
文件: urls.py 项目: Tiendil/the-tale
# coding: utf-8

from django.conf.urls import url
from django.conf.urls import include

from dext.views import resource_patterns

from the_tale.linguistics import views


urlpatterns = [
    url(r"^words/", include(resource_patterns(views.WordResource), namespace="words")),
    url(r"^templates/", include(resource_patterns(views.TemplateResource), namespace="templates")),
]


urlpatterns += resource_patterns(views.LinguisticsResource)