Skip to content

Commit

Permalink
remove imports desnecessários
Browse files Browse the repository at this point in the history
  • Loading branch information
rafaelpezzuto committed Oct 11, 2021
1 parent 09e6af3 commit a002116
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 6 deletions.
3 changes: 0 additions & 3 deletions spf/core/urls.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
from django.conf.urls import url
from django.urls import path
from . import views

Expand Down Expand Up @@ -26,7 +25,6 @@
path('ingress/articles_files/', views.ingress_articles_files_page, name='ingress_article_files_list'),
]


journal = [
path('journal/list/', views.journal_list_page, name='journal_list'),
]
Expand All @@ -36,5 +34,4 @@
path('task/update_status/', views.task_update_status, name='task_update_status'),
]


urlpatterns = general + user + ingress + journal + tracking
4 changes: 1 addition & 3 deletions spf/spf/urls.py
Original file line number Diff line number Diff line change
Expand Up @@ -13,13 +13,11 @@
1. Import the include() function: from django.urls import include, path
2. Add a URL to urlpatterns: path('blog/', include('blog.urls'))
"""
from django.conf import settings
from django.conf.urls.static import static
from django.contrib import admin
from django.urls import path, include


urlpatterns = [
path('admin/', admin.site.urls),
path('', include('core.urls')),
] + static(settings.STATIC_URL, document_root=settings.STATIC_URL)
]

0 comments on commit a002116

Please sign in to comment.