forked from eldarion/idios
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathNOTES
21 lines (13 loc) · 724 Bytes
/
NOTES
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
Notes on idios
==============
Projects using basic_profiles typically add the following to settings:
ABSOLUTE_URL_OVERRIDES = {
"auth.user": lambda o: "/profiles/profile/%s/" % o.username,
}
AUTH_PROFILE_MODULE = "basic_profiles.Profile"
It would be nice if the URL path wasn't hardcoded there, duplicating what's in
urls.py
Autocompleting user selection uses the separate autocomplete_app.
basic_profiles actually added these lines to urls.py:
url(r"^username_autocomplete/$", "autocomplete_app.views.username_autocomplete_friends", name="profile_username_autocomplete"),
url(r"^username_autocomplete/$", "autocomplete_app.views.username_autocomplete_all", name="profile_username_autocomplete"),