# Path: apps/common/urls.py
# def arg_id(name):
#     return _build_arg(name, ID)
# 
# def arg_slug(name):
#     return _build_arg(name, SLUG)
# 
# def arg_username(name):
#     return _build_arg(name, USERNAME)


from django.conf.urls import patterns, include, url
from apps.common.urls import arg_id, arg_slug, arg_username
# -*- coding: utf-8 -*-
# Copyright (c) 2012 Fabian Barkhau <fabian.barkhau@gmail.com>                  
# License: MIT (see LICENSE.TXT file) 




L = arg_id("link_id")
U = arg_username("username")


urlpatterns = patterns("apps.account.views",
    url(r"^account/profile$",            "profile"),
    url(r"^account/view/%s$" % U,        "view"),
    url(r"^account/set_passport$",       "set_passport", { "wizard" : False }),
    url(r"^account/edit$",               "edit",         { "wizard" : False }),

# Path: apps/common/urls.py
# def arg_id(name):
#     return _build_arg(name, ID)
# 
# def arg_slug(name):
#     return _build_arg(name, SLUG)
# 
# def arg_username(name):
#     return _build_arg(name, USERNAME)


# Path: apps/account/urls.py
from django.conf.urls import patterns, include, url
from apps.common.urls import arg_id, arg_slug, arg_username

# -*- coding: utf-8 -*-
# Copyright (c) 2012 Fabian Barkhau <fabian.barkhau@gmail.com>                  
# License: MIT (see LICENSE.TXT file) 




L = arg_id("link_id")
U = arg_username("username")


urlpatterns = patterns("apps.account.views",
    url(r"^account/profile$",            "profile"),
    url(r"^account/view/%s$" % U,        "view"),
    url(r"^account/set_passport$",       "set_passport", { "wizard" : False }),
    url(r"^account/edit$",               "edit",         { "wizard" : False }),

    url(r"^account/link/create$",        "link_create"),