Commit 0cb6e63e authored by Alexandre Leray's avatar Alexandre Leray
Browse files

Cleaned up unused imports

parent 8aa69352
......@@ -3,35 +3,16 @@ Implements active archives models
import re
import RDF
import codecs
import os
import os.path
import urllib2
from git import Repo, NoSuchPathError
import cStringIO
from ConfigParser import ConfigParser
from django.db import models
from django.contrib.contenttypes.models import ContentType
from django.contrib.contenttypes import generic
from django.contrib.auth.models import User
from aacore.models import reindex_request
import aawiki.utils
import rdfutils
from rdfutils import (rdfnode, prep_uri)
from aacore.settings import (CACHE_DIR, CACHE_URL)
from aacore import resource_opener
from aawiki.settings import GIT_DIR
from django.conf import settings
from diff_match_patch import diff_match_patch
from django.db.models.signals import (post_save, post_delete, m2m_changed)
import django.dispatch
class Page(models.Model):
""" Represents a wiki page.
Code is derived fro/mm
Code is derived from
import re
import os
from aawiki.utils import dewikify
import aacore.utils
from rdfutils import query
from urlparse import urlparse
from aacore import RDF_MODEL
from django.conf.urls.defaults import *
from django.views.generic.simple import (redirect_to, direct_to_template)
urlpatterns = patterns('aawiki.views',
......@@ -24,9 +23,3 @@ urlpatterns = patterns('aawiki.views',
url(r'^sandbox/$', 'sandbox', {}, name='aa-sandbox'),
### LOGIN ###
#urlpatterns += patterns('django.contrib.auth.views',
#url(r'^accounts/login/$', 'login', {'template_name': 'aawiki/login.html'}, name='aa-login'),
#url(r'^accounts/logout/$', 'logout', {'template_name': 'aawiki/logout.html'}, name='aa-logout'),
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment