Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add little feature regarding urls #66

Open
TitanFighter opened this issue Aug 31, 2016 · 0 comments
Open

Add little feature regarding urls #66

TitanFighter opened this issue Aug 31, 2016 · 0 comments

Comments

@TitanFighter
Copy link

TitanFighter commented Aug 31, 2016

In my project users may custom their addresses, so if they want address may look like site.com/kuzia, but by default address look like site.com/id123. For such customization I have a field user_url.

Imagestore uses <username>:

    url(r'^user/(?P<username>\w+)/albums/', AlbumListView.as_view(), name='user'),
    url(r'^user/(?P<username>\w+)/$', ImageListView.as_view(), name='user-images'),

which in my case does not work and need to be changed whether in urls to <user_url> or in views.

My little 5 cents - could you add to the settings such option like: USER_URL_FIELD?
Thank you.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant