Files @ b7e2ce2a4d44
Branch filter:

Location: website/www/conservancy/apps/fossy/urls.py

bsturmfels
Switch to relative imports

The relative imports make it clearer what code is within the project and where
it's coming from.
1
2
3
4
5
6
7
8
9
from django.conf.urls import url

from .views import CommunityTrackProposalCreateView, CommunityTrackProposalThanksView


urlpatterns = [
    url(r'^community-tracks/$', CommunityTrackProposalCreateView.as_view(), name='fossy-add'),
    url(r'^(?P<pk>[\w-]+)/$', CommunityTrackProposalThanksView.as_view(), name='fossy-thanks'),
]