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

urlpatterns = patterns(
    "registrasion.views",
    url(r"^category/([0-9]+)$", "product_category", name="product_category"),
    url(r"^checkout$", "checkout", name="checkout"),
    url(r"^invoice/([0-9]+)$", "invoice", name="invoice"),
    url(r"^invoice/([0-9]+)/pay$", "pay_invoice", name="pay_invoice"),
    url(r"^profile$", "edit_profile", name="profile"),
    url(r"^register$", "guided_registration", name="guided_registration"),
    url(r"^register/([0-9]+)$", "guided_registration",
        name="guided_registration"),


    # Required by django-nested-admin.
    url(r'^nested_admin/', include('nested_admin.urls')),
)

from django.conf.urls import url, patterns

urlpatterns = patterns(
    "registrasion.views",
    url(r"^category/([0-9]+)$", "product_category", name="product_category"),
    url(r"^checkout$", "checkout", name="checkout"),
    url(r"^invoice/([0-9]+)$", "invoice", name="invoice"),
    url(r"^invoice/([0-9]+)/pay$", "pay_invoice", name="pay_invoice"),
    url(r"^profile$", "edit_profile", name="profile"),
    url(r"^register$", "guided_registration", name="guided_registration"),
    url(r"^register/([0-9]+)$", "guided_registration",
        name="guided_registration"),
)

Revert "Registrasion URLs now include django-nested-admin"
Revert "Registrasion URLs now include django-nested-admin"

This reverts commit 58eed33c429c1035801e840b41aa7104c02b9b5a.

- from django.conf.urls import url, include, patterns
+ from django.conf.urls import url, patterns
  
  urlpatterns = patterns(
      "registrasion.views",
      url(r"^category/([0-9]+)$", "product_category", name="product_category"),
      url(r"^checkout$", "checkout", name="checkout"),
      url(r"^invoice/([0-9]+)$", "invoice", name="invoice"),
      url(r"^invoice/([0-9]+)/pay$", "pay_invoice", name="pay_invoice"),
      url(r"^profile$", "edit_profile", name="profile"),
      url(r"^register$", "guided_registration", name="guided_registration"),
      url(r"^register/([0-9]+)$", "guided_registration",
          name="guided_registration"),
- 
- 
-     # Required by django-nested-admin.
-     url(r'^nested_admin/', include('nested_admin.urls')),
  )
  
Revert "Registrasion URLs now include django-nested-admin"
## Code Before:
from django.conf.urls import url, include, patterns

urlpatterns = patterns(
    "registrasion.views",
    url(r"^category/([0-9]+)$", "product_category", name="product_category"),
    url(r"^checkout$", "checkout", name="checkout"),
    url(r"^invoice/([0-9]+)$", "invoice", name="invoice"),
    url(r"^invoice/([0-9]+)/pay$", "pay_invoice", name="pay_invoice"),
    url(r"^profile$", "edit_profile", name="profile"),
    url(r"^register$", "guided_registration", name="guided_registration"),
    url(r"^register/([0-9]+)$", "guided_registration",
        name="guided_registration"),


    # Required by django-nested-admin.
    url(r'^nested_admin/', include('nested_admin.urls')),
)

## Instruction:
Revert "Registrasion URLs now include django-nested-admin"
## Code After:
from django.conf.urls import url, patterns

urlpatterns = patterns(
    "registrasion.views",
    url(r"^category/([0-9]+)$", "product_category", name="product_category"),
    url(r"^checkout$", "checkout", name="checkout"),
    url(r"^invoice/([0-9]+)$", "invoice", name="invoice"),
    url(r"^invoice/([0-9]+)/pay$", "pay_invoice", name="pay_invoice"),
    url(r"^profile$", "edit_profile", name="profile"),
    url(r"^register$", "guided_registration", name="guided_registration"),
    url(r"^register/([0-9]+)$", "guided_registration",
        name="guided_registration"),
)
