Skip to content

Commit

Permalink
Update urls for updates and donation apps
Browse files Browse the repository at this point in the history
  • Loading branch information
EXG1O committed May 4, 2024
1 parent e2a7fef commit 9cd48bc
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions constructor_telegram_bots/urls.py
Original file line number Diff line number Diff line change
Expand Up @@ -23,8 +23,8 @@
path('languages/', include('languages.urls')),
path('users/', include('users.urls')),
path('telegram-bots/', include('telegram_bots.urls')),
path('', include('updates.urls')),
path('', include('donation.urls')),
path('updates/', include('updates.urls')),
path('donation/', include('donation.urls')),
path('instruction/', include('instruction.urls')),
path('privacy-policy/', include('privacy_policy.urls')),
],
Expand Down
2 changes: 1 addition & 1 deletion updates/urls.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
from .views import UpdateViewSet

router = SimpleRouter(use_regex_path=False) # type: ignore [call-arg] # use_regex_path param exists
router.register('updates', UpdateViewSet, basename='update')
router.register('', UpdateViewSet, basename='update')

app_name = 'updates'
urlpatterns = router.urls

0 comments on commit 9cd48bc

Please sign in to comment.