]> git.parisson.com Git - telemeta.git/commitdiff
fix sandbox, perms
authorGuillaume Pellerin <yomguy@parisson.com>
Tue, 21 May 2013 15:23:36 +0000 (17:23 +0200)
committerGuillaume Pellerin <yomguy@parisson.com>
Tue, 21 May 2013 15:23:36 +0000 (17:23 +0200)
example/sandbox/settings.py
telemeta/admin.py
telemeta/models/system.py

index 75741ef005d6f3b5bb762f9f771cd24aaabf4376..0a38030063433b590fea2e4860526349361dd159 100644 (file)
@@ -106,7 +106,7 @@ MIDDLEWARE_CLASSES = (
     'django.middleware.locale.LocaleMiddleware',
 )
 
-ROOT_URLCONF = 'sandbox_sqlite.urls'
+ROOT_URLCONF = 'sandbox.urls'
 
 TEMPLATE_DIRS = (
     # Put strings here, like "/home/html/django_templates" or "C:/www/django/templates".
index 2cb51c51ec0457e2fb1645dd81771dfc743ce24d..2ca31d18a5822e0eab35edec4d23299464b0bf75 100644 (file)
@@ -111,3 +111,5 @@ admin.site.register(Revision, RevisionAdmin)
 admin.site.register(Format, FormatAdmin)
 
 admin.site.register(User, UserProfileAdmin)
+
+admin.site.register(PublisherCollection)
\ No newline at end of file
index db0795e9b3fb3992ed43dc4431aebf8c74825de2..d1b64d5f6509d495396c27f082ed1d4cb745529f 100644 (file)
@@ -92,7 +92,7 @@ class UserProfile(models.Model):
 
     class Meta(MetaCore):
         db_table = 'profiles'
-        permissions = (("cannot_view_users_and_profiles", "Cannot view other users and any profile"),)
+        permissions = (("can_not_view_users_and_profiles", "Cannot view other users and any profile"),)
 
 
 class Criteria(ModelCore):