Commit 89eb1e73 authored by Jasper St. Pierre's avatar Jasper St. Pierre

Remove the usage of django-tagging.

It was previously just being used to tag extensions as "Featured", but it
wasn't that good at it. The UI has since been removed, and the tagging
code has just been vestigal. Remove it.
parent 413cc520
......@@ -48,7 +48,6 @@ MySQL_, and others. South_ is used for migrations.
.. _django: http://www.djangoproject.com/
.. _django-autoslug: http://packages.python.org/django-autoslug/
.. _django-extensions: http://packages.python.org/django-extensions/
.. _django-tagging: http://code.google.com/p/django-tagging/
.. _Pygments: http://www.pygments.org/
.. _sorl-thumbnail: http://thumbnail.sorl.net/
.. _PostgreSQL: http://www.postgresql.org/
......
......@@ -4,7 +4,6 @@ Pygments==1.4
Werkzeug==0.7.1
django-autoslug==1.4.1
django-extensions==0.6
django-tagging==0.3.1
sorl-thumbnail==11.05.2
wsgiref==0.1.2
South==0.7.3
......@@ -14,7 +14,6 @@ from django.db import models
from django.dispatch import Signal
import autoslug
import tagging
from sorl import thumbnail
(STATUS_NEW, STATUS_LOCKED,
......@@ -84,8 +83,6 @@ class Extension(models.Model):
return True
return False
tagging.register(Extension)
class InvalidShellVersion(Exception):
pass
......
......@@ -2,8 +2,6 @@
from django.conf.urls.defaults import patterns, include, url
from django.views.generic import ListView, TemplateView
from tagging.views import tagged_object_list
from extensions import views, models
upload_patterns = patterns('',
......@@ -33,8 +31,6 @@ urlpatterns = patterns('',
context_object_name="extensions",
template_name="extensions/list.html"), name='extensions-index'),
url(r'^extensions/tags/(?P<tag>.+)/$', tagged_object_list, name='extensions-tags'),
# we ignore PK of extension, and get extension from version PK
url(r'^extension/(?P<ext_pk>\d+)/(?P<slug>.+)/version/(?P<pk>\d+)/$',
views.ExtensionVersionView.as_view(), name='extensions-version-detail'),
......
......@@ -138,7 +138,6 @@ INSTALLED_APPS = (
'django.contrib.messages',
'django.contrib.staticfiles',
'django_extensions',
'tagging',
'sorl.thumbnail',
'extensions',
......
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