from django.conf.urls import patterns, include, url
from django.conf import settings
from django.contrib.flatpages.views import flatpage
-from django.shortcuts import redirect
+# from django.shortcuts import redirect
-from .views import HomeView, AvatarlessProfileEditView, flatpage_with_template
+# from .views import HomeView, AvatarlessProfileEditView, flatpage_with_template
urlpatterns = patterns(
'',
from django.contrib.flatpages.views import flatpage
from django.views.defaults import page_not_found
from django.views.generic import TemplateView
-from pybb.views import ProfileEditView
from .forms import AvatarlessEditProfileForm
return flatpage(request, url='bazawiedzy/' + url)
-class AvatarlessProfileEditView(ProfileEditView):
- form_class = AvatarlessEditProfileForm
-
-
def flatpage_with_template(request, url, template_name):
"""
Public interface to the flat page view.