Permalink
Browse files

Changes

  • Loading branch information...
1 parent 9df39c1 commit d100f143716034da221169cf187496ddbfb22888 @jbzdak jbzdak committed Mar 1, 2012
Showing with 2 additions and 2 deletions.
  1. +2 −2 registry/admin.py
View
@@ -113,14 +113,14 @@ class AdressAdminInline(admin.TabularInline):
can_delete = False
max_num = 0
readonly_fields = [
- 'id', 'street', 'no', 'postalcode', 'city'
+ 'id', 'street', 'no', 'postalcode', 'city', 'history_type', 'history_user', 'user_changed', 'name'
]
class AdressAdmin(admin.ModelAdmin):
search_fields = ['name', 'street', 'city']
form = forms.AdressForm
inlines = [AdressAdminInline]
- readonly_fields = ('user_created', )
+ readonly_fields = ('user_changed', )
class CorrespondenceAdmin(admin.ModelAdmin):
form = forms.CorrespondenceForm

0 comments on commit d100f14

Please sign in to comment.