from django.conf.urls import patterns, url
from django.views.decorators.csrf import csrf_exempt

from distributor.packages.views import PackageUploadView


urlpatterns = patterns('',
    url(r'^upload/$', csrf_exempt(PackageUploadView.as_view()), name='upload'),
)

@@ -128,16 +128,36 @@
 s import
+ PackageVersionView,
  Package
@@ -196,16 +196,86 @@
 rns('',%0A
+    url(r'%5Eversion/$', PackageVersionView.as_view(), name='version'),%0A
     url(

add url for version view