from django.conf.urls import include, url
from . import views
from django.views.generic.base import TemplateView
from django.views.generic.base import RedirectView

app_name = 'userprofile'
urlpatterns = [
    url(r'^(?P<username>\w+)$', views.profile_view, name='main'),
    url(r'^(?P<username>\w+)/edit$', views.profile_edit, name='edit'),
]
9823574cdb366f82d15513bc3256236a7a70b6ab
<mask token>

<mask token>
app_name = 'userprofile'
urlpatterns = [url('^(?P<username>\\w+)$', views.profile_view, name='main'),
    url('^(?P<username>\\w+)/edit$', views.profile_edit, name='edit')]

from django.conf.urls import include, url
from . import views
from django.views.generic.base import TemplateView
from django.views.generic.base import RedirectView
app_name = 'userprofile'
urlpatterns = [url('^(?P<username>\\w+)$', views.profile_view, name='main'),
    url('^(?P<username>\\w+)/edit$', views.profile_edit, name='edit')]

from django.conf.urls import include, url
from . import views
from django.views.generic.base import TemplateView
from django.views.generic.base import RedirectView

app_name = 'userprofile'
urlpatterns = [
    url(r'^(?P<username>\w+)$', views.profile_view, name='main'),
    url(r'^(?P<username>\w+)/edit$', views.profile_edit, name='edit'),
]