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.