예제 #1
0
# -*- coding: utf-8 -*-
from __future__ import unicode_literals

from blogit.urls import get_urls

urlpatterns = get_urls('archive') + get_urls('posts')
예제 #2
0
# -*- coding: utf-8 -*-
from __future__ import unicode_literals

from blogit.urls import get_urls

urlpatterns = get_urls('tags')
예제 #3
0
# -*- coding: utf-8 -*-
from __future__ import unicode_literals

from blogit.urls import get_urls

urlpatterns = get_urls('feeds')
예제 #4
0
# -*- coding: utf-8 -*-
from __future__ import unicode_literals

from blogit.urls import get_urls

urlpatterns = get_urls('categories')
예제 #5
0
 def get_urls(self, page=None, language=None, **kwargs):
     return [get_urls('feeds')]
예제 #6
0
 def get_urls(self, page=None, language=None, **kwargs):
     return [get_urls('categories')]
예제 #7
0
 def get_urls(self, page=None, language=None, **kwargs):
     if bs.SINGLE_APPHOOK:
         return ['blogit.urls']
     return [get_urls('archive'), get_urls('posts')]