From: Jan Szejko Date: Thu, 29 Dec 2016 14:29:15 +0000 (+0100) Subject: cleanup apps X-Git-Url: https://git.mdrn.pl/edumed.git/commitdiff_plain/368d06490bb49468f0aec0e51287219755688d5d cleanup apps --- diff --git a/edumed/settings/apps.py b/edumed/settings/apps.py index 9e4d35c..8b64c7c 100644 --- a/edumed/settings/apps.py +++ b/edumed/settings/apps.py @@ -2,13 +2,13 @@ INSTALLED_APPS = ( 'edumed', - 'curriculum', - 'catalogue', - 'comment', + # 'curriculum', + # 'catalogue', + # 'comment', 'wtem', 'stage2', - 'publishers', - 'api', + # 'publishers', + # 'api', 'fnpdjango', 'south', @@ -23,12 +23,12 @@ INSTALLED_APPS = ( 'haystack', 'chunks', 'contact', - 'forum', - 'pybb', + # 'forum', + # 'pybb', 'django_libravatar', 'sorl.thumbnail', 'subdomains', - 'piston', + # 'piston', 'django.contrib.auth', 'django.contrib.contenttypes', diff --git a/edumed/urls.py b/edumed/urls.py index 8b24a1c..0e5c295 100644 --- a/edumed/urls.py +++ b/edumed/urls.py @@ -2,9 +2,9 @@ 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( '', diff --git a/edumed/views.py b/edumed/views.py index af9bad5..6bbee53 100644 --- a/edumed/views.py +++ b/edumed/views.py @@ -2,7 +2,6 @@ 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 @@ -27,10 +26,6 @@ def mil_knowledge_base_view(request, url): 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.