Skip to content

Commit

Permalink
💫 [FEAT] Change core verbose_name to topology
Browse files Browse the repository at this point in the history
Le verbose name "Core" dans l'application n'est pas très parlant en français (Cœur).
Solution le renomer en Topology ce qui donne "Topologie".
  • Loading branch information
juggler31 committed Mar 11, 2024
1 parent 7c11457 commit 39ae791
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 2 deletions.
1 change: 1 addition & 0 deletions docs/changelog.rst
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@ CHANGELOG
- Add `include_externals` filter to Cirkwi trek exports, to allow excluding treks with an external id (eid) (#3947)
- Tourism : add price to TouristicEvent model - ref #3587
- Add `check_versions` command to check Geotrek, Python, Django, PostgreSQL and PostGIS versions.
- Change core verbose_name to topology

**Bug fixes**

Expand Down
2 changes: 1 addition & 1 deletion geotrek/authent/tests/test_admin.py
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ def test_path_manager_cannot_see_trekking_apps(self):
response = self.client.get('/admin/trekking/')
self.assertEqual(response.status_code, 404)
response = self.client.get('/admin/')
self.assertContains(response, 'Core')
self.assertContains(response, 'Topology')
self.assertContains(response, 'Maintenance')
self.assertContains(response, 'Infrastructure')
self.assertContains(response, 'Signage')
Expand Down
2 changes: 1 addition & 1 deletion geotrek/core/apps.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@

class CoreConfig(AppConfig):
name = 'geotrek.core'
verbose_name = _("Core")
verbose_name = _("Topology")

def ready(self):
from .forms import PathForm, TrailForm
Expand Down

0 comments on commit 39ae791

Please sign in to comment.