GitHub Sale: sign up for any paid plan this week and pay nothing until January 1, 2009!  [ hide ]

public
Description: stuff for my site
Homepage: http://www.thescoop.org/docs
Clone URL: git://github.com/dwillis/thescoop.git
added presentation options
Derek Willis (author)
Thu Jul 10 17:31:40 -0700 2008
commit  22701b913b3efe0a4526f11d3d019227c9a6b038
tree    ed7e218ac73ad1f89058679a26b1306724c19ca4
parent  e547111de85a49de98cceef31a1859344ff8fe98
...
33
34
35
 
 
 
36
37
38
...
33
34
35
36
37
38
39
40
41
0
@@ -33,6 +33,9 @@ class TopicOptions(admin.ModelAdmin):
0
 class ApplicationOptions(admin.ModelAdmin):
0
     prepopulated_fields = {'slug' : ('name',)}
0
 
0
+class PresentationOptions(admin.ModelAdmin):
0
+ prepopulated_fields = {'slug' : ('title',)}
0
+
0
 class DatabaseOptions(admin.ModelAdmin):
0
     prepopulated_fields = {'slug' : ('title',)}
0
     filter_vertical = ('credit',)
...
16
17
18
19
 
20
21
...
16
17
18
 
19
20
21
0
@@ -16,5 +16,5 @@ class TopicOptions(admin.ModelAdmin):
0
 admin.site.register(Language, LanguageOptions)
0
 admin.site.register(Project, ProjectOptions)
0
 admin.site.register(Update)
0
-admin.site.register(Presentation, PresentationOptions)
0
+admin.site.register(Presentation)
0
 admin.site.register(Topic, TopicOptions)
0
\ No newline at end of file

Comments

    No one has commented yet.