-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix(stats): corrections mineures (#661)
## Description 🎸 renommage de la vue `MonthlyVisitorsView` 🎸 utilisation de `reverse` dans les tests pour générer les url dynamiquement 🙄 ## Type de changement 🪲 Correction de bug (changement non cassant qui corrige un problème). 🚧 technique
- Loading branch information
1 parent
7205a2b
commit d3ae4fd
Showing
3 changed files
with
7 additions
and
5 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,11 +1,11 @@ | ||
from django.urls import path | ||
|
||
from lacommunaute.forum_stats.views import MonthlyVisitorsViews, StatistiquesPageView | ||
from lacommunaute.forum_stats.views import MonthlyVisitorsView, StatistiquesPageView | ||
|
||
|
||
app_name = "forum_stats" | ||
|
||
urlpatterns = [ | ||
path("", StatistiquesPageView.as_view(), name="statistiques"), | ||
path("monthly-visitors/", MonthlyVisitorsViews.as_view(), name="monthly_visitors"), | ||
path("monthly-visitors/", MonthlyVisitorsView.as_view(), name="monthly_visitors"), | ||
] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters