-
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.
Fixes by pre-commit: ruff, black, codespell, etc
- Loading branch information
Showing
18 changed files
with
179 additions
and
152 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1 @@ | ||
from django.contrib import admin | ||
|
||
# Register your models here. |
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,3 +1 @@ | ||
from django.db import models | ||
|
||
# Create your models here. |
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
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
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,3 +1 @@ | ||
from django.test import TestCase | ||
|
||
# Create your tests here. |
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,23 +1,62 @@ | ||
from django.urls import path | ||
|
||
from jira_app.views import (AccountDetailView, AccountListView, IssueListView, | ||
IssueDetailView, ProjectDetailView, SprintListView, ReleaseListView, | ||
BoardListView, BoardDetailView, CommentListView, HistoryListView, ChildIssueListView) | ||
from jira_app.views import ( | ||
AccountDetailView, | ||
AccountListView, | ||
IssueListView, | ||
IssueDetailView, | ||
ProjectDetailView, | ||
SprintListView, | ||
ReleaseListView, | ||
BoardListView, | ||
BoardDetailView, | ||
CommentListView, | ||
HistoryListView, | ||
ChildIssueListView, | ||
) | ||
|
||
|
||
app_name = 'jira_app' | ||
app_name = "jira_app" | ||
|
||
urlpatterns = [ | ||
path('', AccountListView.as_view(), name='account-list'), | ||
path('accounts/<slug:account_key>/', AccountDetailView.as_view(), name='account-detail'), | ||
path('accounts/<slug:account_key>/projects/<slug:project_key>/', ProjectDetailView.as_view(), name='project-detail'), | ||
path('accounts/<slug:account_key>/projects/<slug:project_key>/sprints/', SprintListView.as_view(), name='sprint-list'), | ||
path('accounts/<slug:account_key>/projects/<slug:project_key>/releases/', ReleaseListView.as_view(), name='release-list'), | ||
path('accounts/<slug:account_key>/projects/<slug:project_key>/boards/', BoardListView.as_view(), name='board-list'), | ||
path('accounts/<slug:account_key>/projects/<slug:project_key>/boards/<int:board_id>/', BoardDetailView.as_view(), name='board-detail'), | ||
path('accounts/<slug:account_key>/projects/<slug:project_key>/issues/', IssueListView.as_view(), name='issue-list'), | ||
path('accounts/<slug:account_key>/projects/<slug:project_key>/issues/<slug:issue_key>/children/', ChildIssueListView.as_view(), name='children-list'), | ||
path('accounts/<slug:account_key>/projects/<slug:project_key>/issues/<slug:issue_key>/', IssueDetailView.as_view(), name='issue-detail'), | ||
path('accounts/<slug:account_key>/projects/<slug:project_key>/issues/<slug:issue_key>/comments/', CommentListView.as_view(), name='comment-list'), | ||
path('accounts/<slug:account_key>/projects/<slug:project_key>/issues/<slug:issue_key>/history/', HistoryListView.as_view(), name='history-list'), | ||
path("", AccountListView.as_view(), name="account-list"), | ||
path("accounts/<slug:account_key>/", AccountDetailView.as_view(), name="account-detail"), | ||
path( | ||
"accounts/<slug:account_key>/projects/<slug:project_key>/", ProjectDetailView.as_view(), name="project-detail" | ||
), | ||
path( | ||
"accounts/<slug:account_key>/projects/<slug:project_key>/sprints/", SprintListView.as_view(), name="sprint-list" | ||
), | ||
path( | ||
"accounts/<slug:account_key>/projects/<slug:project_key>/releases/", | ||
ReleaseListView.as_view(), | ||
name="release-list", | ||
), | ||
path("accounts/<slug:account_key>/projects/<slug:project_key>/boards/", BoardListView.as_view(), name="board-list"), | ||
path( | ||
"accounts/<slug:account_key>/projects/<slug:project_key>/boards/<int:board_id>/", | ||
BoardDetailView.as_view(), | ||
name="board-detail", | ||
), | ||
path("accounts/<slug:account_key>/projects/<slug:project_key>/issues/", IssueListView.as_view(), name="issue-list"), | ||
path( | ||
"accounts/<slug:account_key>/projects/<slug:project_key>/issues/<slug:issue_key>/children/", | ||
ChildIssueListView.as_view(), | ||
name="children-list", | ||
), | ||
path( | ||
"accounts/<slug:account_key>/projects/<slug:project_key>/issues/<slug:issue_key>/", | ||
IssueDetailView.as_view(), | ||
name="issue-detail", | ||
), | ||
path( | ||
"accounts/<slug:account_key>/projects/<slug:project_key>/issues/<slug:issue_key>/comments/", | ||
CommentListView.as_view(), | ||
name="comment-list", | ||
), | ||
path( | ||
"accounts/<slug:account_key>/projects/<slug:project_key>/issues/<slug:issue_key>/history/", | ||
HistoryListView.as_view(), | ||
name="history-list", | ||
), | ||
] |
Oops, something went wrong.