You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

24 lines
732 B

10 years ago
10 years ago
10 years ago
10 years ago
  1. from django.contrib import admin
  2. from django.urls import include, path
  3. from hc.accounts import views as accounts_views
  4. urlpatterns = [
  5. path("admin/login/", accounts_views.login),
  6. path("admin/", admin.site.urls),
  7. path("accounts/", include("hc.accounts.urls")),
  8. path("projects/add/", accounts_views.add_project, name="hc-add-project"),
  9. path(
  10. "projects/<uuid:code>/settings/",
  11. accounts_views.project,
  12. name="hc-project-settings",
  13. ),
  14. path(
  15. "projects/<uuid:code>/remove/",
  16. accounts_views.remove_project,
  17. name="hc-remove-project",
  18. ),
  19. path("", include("hc.api.urls")),
  20. path("", include("hc.front.urls")),
  21. path("", include("hc.payments.urls")),
  22. ]