• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

liqd / adhocracy-plus / 18908688697

29 Oct 2025 12:59PM UTC coverage: 44.622% (-44.5%) from 89.135%
18908688697

Pull #2986

github

web-flow
Merge 1dfde8ee7 into 445e1d498
Pull Request #2986: Draft: Speed up Github Ci Tests

3012 of 6750 relevant lines covered (44.62%)

0.45 hits per line

Source File
Press 'n' to go to next uncovered line, 'b' for previous

0.0
/apps/dashboard/urls.py
1
from django.urls import include
×
2
from django.urls import path
×
3
from django.urls import re_path
×
4

5
from adhocracy4.dashboard import components as a4dashboard_components
×
6
from adhocracy4.dashboard import views as a4dashborad_views
×
7
from apps.newsletters import views as newsletter_views
×
8
from apps.organisations import views as organisation_views
×
9

10
from . import views
×
11

12
app_name = "a4dashboard"
×
13

14
urlpatterns = [
×
15
    re_path(
16
        r"^projects/(?P<project_slug>[-\w_]+)/blueprints/$",
17
        views.ModuleBlueprintListView.as_view(),
18
        name="module-blueprint-list",
19
    ),
20
    re_path(
21
        r"^projects/(?P<project_slug>[-\w_]+)/blueprints/"
22
        r"(?P<blueprint_slug>[-\w_]+)/$",
23
        views.ModuleCreateView.as_view(),
24
        name="module-create",
25
    ),
26
    re_path(
27
        r"^publish/module/(?P<module_slug>[-\w_]+)/$",
28
        views.ModulePublishView.as_view(),
29
        name="module-publish",
30
    ),
31
    re_path(
32
        r"^delete/module/(?P<slug>[-\w_]+)/$",
33
        views.ModuleDeleteView.as_view(),
34
        name="module-delete",
35
    ),
36
    path(
37
        "communication/newsletters/create/",
38
        newsletter_views.DashboardNewsletterCreateView.as_view(),
39
        name="newsletter-create",
40
    ),
41
    path(
42
        "settings/",
43
        organisation_views.DashboardOrganisationUpdateView.as_view(),
44
        name="organisation-settings",
45
    ),
46
    path(
47
        "settings/legal-information",
48
        organisation_views.DashboardLegalInformationUpdateView.as_view(),
49
        name="organisation-legal-information",
50
    ),
51
    path(
52
        "communication/content/create/",
53
        organisation_views.DashboardCommunicationProjectChoiceView.as_view(),
54
        name="communication-content",
55
    ),
56
    path(
57
        "communication/content/create/<slug:project_slug>/" "format/<int:format>/",
58
        organisation_views.DashboardCommunicationContentCreateView.as_view(),
59
        name="communication-content-create",
60
    ),
61
]
62

63
# a4 dashboard urls without organisation slug
64
urlpatterns += [
×
65
    path(
66
        "organisations/projects/create",
67
        views.ProjectCreateView.as_view(),
68
        name="project-create",
69
    ),
70
    path(
71
        "organisations/projects/",
72
        a4dashborad_views.ProjectListView.as_view(),
73
        name="project-list",
74
    ),
75
    re_path(
76
        r"^projects/(?P<project_slug>[-\w_]+)/$",
77
        a4dashborad_views.ProjectUpdateView.as_view(),
78
        name="project-edit",
79
    ),
80
    re_path(
81
        r"^publish/project/(?P<project_slug>[-\w_]+)/$",
82
        a4dashborad_views.ProjectPublishView.as_view(),
83
        name="project-publish",
84
    ),
85
    path("", include(a4dashboard_components.get_urls())),
86
]
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2025 Coveralls, Inc