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

All Samples(6)  |  Call(0)  |  Derive(0)  |  Import(6)
``django_productline.urls`` exports the function ``get_urls``.
It is called through ``django_productline.root_urlconf`` which is registered as django`s ``ROOT_URLCONF``.

To introduce new urlpatterns, features may refine ``get_urls``.
The convention is to specify the refinement in a module called ``urls`` within the feature module.

Example::

    #in myfeature.feature.select()
    from . import urls #import the refinement definition(more...)

src/d/j/django-productline-0.3/django_productline/features/staticfiles/feature.py   django-productline(Download)
 
    from . import urls
    import django_productline.urls
    composer.compose(urls, django_productline.urls)
 

src/d/j/django-productline-0.3/django_productline/features/admin/feature.py   django-productline(Download)
 
    from . import urls
    import django_productline.urls
    composer.compose(urls, django_productline.urls)
 

src/d/j/django-productline-HEAD/django_productline/features/staticfiles/feature.py   django-productline(Download)
 
    from . import urls
    import django_productline.urls
    composer.compose(urls, django_productline.urls)
 

src/d/j/django-productline-HEAD/django_productline/features/admin/feature.py   django-productline(Download)
 
    from . import urls
    import django_productline.urls
    composer.compose(urls, django_productline.urls)
 

src/d/j/django-productline-0.3/django_productline/root_urlconf.py   django-productline(Download)
Django uses these to construct the root RegexUrlResolver.
"""
from django_productline import urls
 
urlpatterns = urls.get_urls()

src/d/j/django-productline-HEAD/django_productline/root_urlconf.py   django-productline(Download)
Django uses these to construct the root RegexUrlResolver.
"""
from django_productline import urls
 
urlpatterns = urls.get_urls()