Skip to content
This repository has been archived by the owner on Oct 18, 2022. It is now read-only.

Commit

Permalink
feat: undo unnecessary changes
Browse files Browse the repository at this point in the history
  • Loading branch information
KnowYourselves committed Jan 14, 2022
1 parent 6ff0039 commit bddcf07
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 4 deletions.
6 changes: 3 additions & 3 deletions api/urls.py
Original file line number Diff line number Diff line change
Expand Up @@ -13,10 +13,10 @@
router = DefaultRouter()

# regions
router.register(r"communes", regions_views.CommuneViewSet)
router.register(r'communes', regions_views.CommuneViewSet)


app_name = "api"
app_name = 'api'
urlpatterns = [
path("", include(router.urls)),
path('', include(router.urls)),
]
3 changes: 2 additions & 1 deletion manage.py
Original file line number Diff line number Diff line change
Expand Up @@ -12,12 +12,13 @@
# exceptions on Python 2.
try:
import django

assert django
except ImportError:
raise ImportError(
"Couldn't import Django. Are you sure it's installed and "
"available on your PYTHONPATH environment variable? Did you "
"forget to activate a posetry environment (poetry shell)?"
"forget to activate a poetry environment (poetry shell)?"
)
raise
execute_from_command_line(sys.argv)

0 comments on commit bddcf07

Please sign in to comment.