Commit 9914d014 authored by Thomasa Balthazar's avatar Thomasa Balthazar
Browse files

Cleanup sample link/model added to test AdminViews

parent 115f523c
......@@ -2,16 +2,12 @@
from django.contrib import admin
from admin_views.admin import AdminViews
from django.conf.locale.en import formats as en_formats
from reversion.admin import VersionAdmin
from .models import Movement
from .models import TestModel
en_formats.DATE_FORMAT = "Y-m-d"
......@@ -45,15 +41,4 @@ class MovementAdmin(VersionAdmin):
title_column.short_description = "Title"
class FooTestAdmin(AdminViews):
admin_views = (
# ('Process This', 'process'), # Admin view
('Go to LJW', ''), # Direct URL
# def process(self, *args, **kwargs):
# return redirect(''), MovementAdmin), FooTestAdmin)
......@@ -29,6 +29,3 @@ class ImportReport(models.Model):
def __unicode__(self):
return u"Import report runned at %s" % (self.created_on.strftime("%F %X"))
class TestModel(models.Model):
name = models.CharField(max_length=50)
Supports Markdown
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