# Path: wireframes/views.py
# def home(request):
#     if request.POST:
#         form = CreateWireframeForm(request.POST)
#         if form.is_valid():
#             wireframe = form.save()
#             return HttpResponseRedirect(reverse('wireframes-edit',
#                     args=[wireframe.id]))
#     else:
#         form = CreateWireframeForm()
#     return render_to_response('wireframes/home.html',
#         RequestContext(request, locals()))


from django.conf.urls.defaults import *
from wireframes.views import home
from django.conf import settings
from django.contrib import admin
# -*- coding: utf-8 -*-

# Uncomment the next two lines to enable the admin:
admin.autodiscover()

urlpatterns = patterns('',
    # Example:
    (r'^$', home),
    (r'^w/', include('wireframes.urls')),
    # Uncomment the next line to enable the admin:
    url(r'^admin/', include(admin.site.urls))
)


# Path: wireframes/views.py
# def home(request):
#     if request.POST:
#         form = CreateWireframeForm(request.POST)
#         if form.is_valid():
#             wireframe = form.save()
#             return HttpResponseRedirect(reverse('wireframes-edit',
#                     args=[wireframe.id]))
#     else:
#         form = CreateWireframeForm()
#     return render_to_response('wireframes/home.html',
#         RequestContext(request, locals()))


# Path: example/urls.py
from django.conf.urls.defaults import *
from wireframes.views import home
from django.conf import settings
from django.contrib import admin

# -*- coding: utf-8 -*-

# Uncomment the next two lines to enable the admin:
admin.autodiscover()

urlpatterns = patterns('',
    # Example:
    (r'^$', home),
    (r'^w/', include('wireframes.urls')),
    # Uncomment the next line to enable the admin:
    url(r'^admin/', include(admin.site.urls))
)


if settings.DEBUG: