Did I find the right examples for you? yes no      Crawl my project      Python Jobs

All Samples(27)  |  Call(27)  |  Derive(0)  |  Import(0)

src/d/j/django-hotsauce-0.5.0/examples/auth/urls.py   Django-hotsauce(Download)
urlpatterns = RegexURLMap()
 
urlpatterns.add_routes('',
   # Frontdoor (a simple generic view)
   url(r'^$|index.html$', render_to_response, {

src/d/j/django-hotsauce-0.5.0/examples/lib/product/urls/category.py   Django-hotsauce(Download)
from notmm.utils.urlmap import RegexURLMap, url
 
urlpatterns = RegexURLMap(label='Product category urlconf')
urlpatterns.add_routes('product.views',
    url(r'^(?P<parent_slugs>([-\w]+/)*)(?P<slug>[-\w]+)/$', 

src/d/j/django-hotsauce-0.5.0/examples/lib/localsite/urls.py   Django-hotsauce(Download)
 
urlpatterns = RegexURLMap()
urlpatterns.add_routes('',
    (r'^$', 'localsite.views.example', {})
    )
urlpatterns.add_routes('',    

src/d/j/django-hotsauce-0.5.0/examples/lib/helloworld/config/urls.py   Django-hotsauce(Download)
urlpatterns = RegexURLMap()
 
urlpatterns.add_routes('',   
   url(r'(?P<path>\w+.(gif|png|jpg|ico))$', \
    'helloworld.views.image_handler', {
        'document_root' : settings.MEDIA_ROOT }
   )
)
 
urlpatterns.add_routes('',

src/d/j/django-hotsauce-0.5.0/extras/blogengine/blogengine/contrib/api_v1/urls.py   Django-hotsauce(Download)
 
# Site-wide API functions accessible to registered users (editors, etc.)
urlpatterns.add_routes('blogengine.contrib.api_v1.actions',
    #(r'^posts/add/$', 'add'),
    url(r'^(?P<category>[-\w]+)/(?P<slug>[-\w]+)/edit/$', 'edit'),
 
# Extended views   
urlpatterns.add_routes('blogengine.contrib.blog.views.detail',
    # list of all categories
    url(r'^categories/$', direct_to_template, 
 
# Comments
urlpatterns.add_routes('blogengine.contrib.comments.views',
    url(r'^(?P<category>[-\w]+)/(?P<slug>[-\w]+)/comment/new/$', 'preview_comment'),
    url(r'^(?P<category>[-\w]+)/(?P<slug>[-\w]+)/comment/done/$', 'save_comment')

src/d/j/django-hotsauce-0.5.0/extras/blogengine/blogengine/contrib/messages/urls.py   Django-hotsauce(Download)
urlpatterns = RegexURLMap()
 
urlpatterns.add_routes('blogengine.contrib.messages.views',
    (r'^messages/post/$', 'post'),    # post interface (ajax only)
    (r'^(?P<username>[\w]+)/messages/$', 'message_list'), # message list

src/d/j/django-hotsauce-0.5.0/extras/blogengine/blogengine/contrib/blog/urls.py   Django-hotsauce(Download)
urlpatterns = RegexURLMap() # w00t! w00t! :)
 
urlpatterns.add_routes('blogengine.contrib.blog.views.detail', 
# browse by category view 
    url(r'categories/(?P<slug>[-\w]+)/$', 'details_for_category', {
        'extent_class' : 'Category'})
        )
 
urlpatterns.add_routes('',
    ),
)
urlpatterns.add_routes('blogengine.contrib.blog.views.index',
    # XXX archive view 
    url(r'^$', 'index'),

src/d/j/django-hotsauce-0.5.0/extras/blogengine/blogengine/contrib/userprofile/urls.py   Django-hotsauce(Download)
urlpatterns = RegexURLMap()
 
urlpatterns.add_routes('blogengine.contrib.userprofile.list_views',
    #User profile page (dashboard with personalized content)
    #url(r'(?P<username>[\w]+)/', 'dashboard'),

src/d/j/django-hotsauce-0.5.0/extras/blogengine/blogengine/contrib/comments/urls.py   Django-hotsauce(Download)
 
urlpatterns = RegexURLMap()
urlpatterns.add_routes('blogengine.contrib.comments.views',
    # Add comment form
    #(r'^(?P<category>[-\w]+)/(?P<slug>[-\w]+)/comment/$', 'preview_comment'),

src/d/j/django-hotsauce-0.5.0/tests/dbapi/orm/sqlalchemy/config/extras.py   Django-hotsauce(Download)
from notmm.utils.urlmap import RegexURLMap
 
urlpatterns = RegexURLMap()
urlpatterns.add_routes('', 
        #(r'^login/$', 'sandbox.views.login', {

  1 | 2  Next