Browse Source

Fix service adding to an existing doc in admin

- Allow name edit on new inline services of a doc (without that, it's not
decently possible to add a service from the document view).
Jocelyn Delande 8 years ago
parent
commit
af91cc9521
1 changed files with 1 additions and 1 deletions
  1. 1 1
      costs/admin.py

+ 1 - 1
costs/admin.py

@@ -25,7 +25,7 @@ class ServiceInline(admin.TabularInline):
         'name', 'subscriptions_count',
         'monthly_unit_cost', 'new_subscriber_cost')
     readonly_fields = (
-        'name', 'subscriptions_count',
+        'subscriptions_count',
         'monthly_unit_cost', 'new_subscriber_cost')
     show_change_link = True
     extra = 0