# Path: accounts/views.py
# def registration(request):
# def activate_account(request, username, uid_hash):
# def resend_activation_emmil(request):
# def home(request):
# def about(request):
# def link_services(request):
# def link_service_callback(request, service_id):
# def store_service_credentials_helper(credentials, account, service_id):
# def link_service_get_token(request, service_id):
# def unlink_service(request, service_id):
# 
# Path: accounts/views.py
# @login_required
# def home(request):
#     return render(request, 'accounts/home.html')


from django.conf.urls import url
from django.core.urlresolvers import reverse_lazy
from accounts import views
from oauth2_provider.views.token import AuthorizedTokenDeleteView, AuthorizedTokensListView
from accounts.views import home


# Auth urls
# https://stackoverflow.com/questions/6930982/how-to-use-a-variable-inside-a-regular-expression
# domainPrefix = "authenticate/"
domainPrefix = ""
urlpatterns = [
    # Home
    url(r'^%s$' % domainPrefix, home, name='home'),

# Path: accounts/views.py
# def registration(request):
# def activate_account(request, username, uid_hash):
# def resend_activation_emmil(request):
# def home(request):
# def about(request):
# def link_services(request):
# def link_service_callback(request, service_id):
# def store_service_credentials_helper(credentials, account, service_id):
# def link_service_get_token(request, service_id):
# def unlink_service(request, service_id):
# 
# Path: accounts/views.py
# @login_required
# def home(request):
#     return render(request, 'accounts/home.html')


# Path: accounts/urls.py
from django.conf.urls import url
from django.core.urlresolvers import reverse_lazy
from accounts import views
from oauth2_provider.views.token import AuthorizedTokenDeleteView, AuthorizedTokensListView
from accounts.views import home



# Auth urls
# https://stackoverflow.com/questions/6930982/how-to-use-a-variable-inside-a-regular-expression
# domainPrefix = "authenticate/"
domainPrefix = ""
urlpatterns = [
    # Home
    url(r'^%s$' % domainPrefix, home, name='home'),

    url(r'^%sabout/$' % domainPrefix, views.about, name='about'),