0001-misc-change-welco-description-and-default-slug-to-be.patch
hobo/environment/migrations/0008_auto_20151021_1414.py | ||
---|---|---|
33 | 33 |
), |
34 | 34 |
migrations.AlterModelOptions( |
35 | 35 |
name='welco', |
36 |
options={'ordering': ['title'], 'verbose_name': 'Welco Multichannel Home'},
|
|
36 |
options={'ordering': ['title'], 'verbose_name': 'Welco Mail Channel'},
|
|
37 | 37 |
), |
38 | 38 |
] |
hobo/environment/models.py | ||
---|---|---|
342 | 342 | |
343 | 343 |
class Welco(ServiceBase): |
344 | 344 |
class Meta: |
345 |
verbose_name = _('Welco Multichannel Home')
|
|
345 |
verbose_name = _('Welco Mail Channel')
|
|
346 | 346 |
ordering = ['title'] |
347 | 347 | |
348 | 348 |
class Extra: |
349 | 349 |
service_id = 'welco' |
350 | 350 |
service_label = 'Welco' |
351 |
service_default_slug = 'accueil'
|
|
351 |
service_default_slug = 'courrier'
|
|
352 | 352 | |
353 | 353 |
def get_admin_zones(self): |
354 | 354 |
return [ |
355 |
- |