|
@@ -18,9 +18,16 @@ class SingleInstanceAdminMixin(object):
|
|
|
class RegisteredOfficeInline(admin.StackedInline):
|
|
|
model = RegisteredOffice
|
|
|
extra = 0
|
|
|
- fields = (('street_address', 'extended_address', 'post_office_box'),
|
|
|
- ('postal_code', 'locality'),
|
|
|
- ('region', 'country_name'))
|
|
|
+ fieldsets = (
|
|
|
+ ('', {'fields': (
|
|
|
+ ('street_address', 'extended_address', 'post_office_box'),
|
|
|
+ ('postal_code', 'locality'),
|
|
|
+ ('region', 'country_name'))}),
|
|
|
+ ('Extras', {
|
|
|
+ 'fields': ('siret',),
|
|
|
+ 'description': 'Ces champs ne font pas partie de la spécification db.ffdn.org mais sont utilisés sur le site'})
|
|
|
+ )
|
|
|
+
|
|
|
|
|
|
|
|
|
class OtherWebsiteInline(admin.StackedInline):
|