Skip to content
This repository was archived by the owner on May 23, 2020. It is now read-only.

Commit 95d243c

Browse files
committed
Released v.3.6
1 parent 1afef8e commit 95d243c

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -104,7 +104,7 @@ $ ./manage.py runserver
104104

105105
### ChangeLog
106106

107-
* [CHANGELOG](CHANGELOG.md#v36)
107+
* [CHANGELOG](CHANGELOG.md)
108108

109109

110110
### License

blog/admin.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ class Meta:
1919
model = Author
2020

2121

22-
class AuthorAdmin(admin.ModelAdmin):
22+
class AuthorAdmin(ImportExportModelAdmin, admin.ModelAdmin):
2323
resource_class = AuthorResource
2424
list_display = ('user', 'website', 'about')
2525
search_fields = ['user__username', 'user__email', 'about']
@@ -96,7 +96,7 @@ class Meta:
9696
model = Page
9797

9898

99-
class PageAdmin(admin.ModelAdmin):
99+
class PageAdmin(ImportExportModelAdmin, admin.ModelAdmin):
100100
resource_class = PageResource
101101
list_display = ('title', 'author', 'created', 'modified', 'publish')
102102
prepopulated_fields = {'slug': ('title',)}

0 commit comments

Comments
 (0)