Note that there are some explanatory texts on larger screens.

plurals
  1. POGet django-registration and django-profile working together
    text
    copied!<p>I am in process to setting up a new django project and I want to use the provided apps django-registration and django-profile. I installed both of them with easy-install and managed to get the django-registration working fine. My next step would be to connect the django-profile app to the working branch. The django-registration offers a service, that redirects to a URL, which is defined in the settings.py-variable LOGIN_REDIRECT_URL. My guess was, that I can simply paste a url of the django-profile app to connect both. (e.g. '/profiles/'). My settings.py-variable AUTH_PROFILE_MODULE is set on 'registration.User', (trying to use the django-registration model!). But I get a SiteProfileNotAvailable at /profiles/ No exception supplied error. I tried to follow these steps: <a href="https://bitbucket.org/ubernostrum/django-registration/src/tip/docs/index.rst" rel="noreferrer">https://bitbucket.org/ubernostrum/django-registration/src/tip/docs/index.rst</a> <a href="https://bitbucket.org/ubernostrum/django-profiles/src/tip/docs/overview.txt" rel="noreferrer">https://bitbucket.org/ubernostrum/django-profiles/src/tip/docs/overview.txt</a> But i am not sure, if I done everything properly, namely this paragraph from overview.txt</p> <blockquote> <p>For default use, create a profile model for your site and specify the <code>AUTH_PROFILE_MODULE</code> setting appropriately. Then add <code>profiles</code> to your <code>INSTALLED_APPS</code> setting, create the appropriate templates and set up the URLs. For convenience in linking to profiles, your profile model should define a <code>get_absolute_url()</code> method which routes to the view <code>profiles.views.profile_detail</code>, passing the username.</p> </blockquote> <p>So my questions are:</p> <ul> <li>Is that a well known error?</li> <li>Is it the right way to set 'registration.User' as AUTH_PROFILE_MODULE?</li> <li>What is ment by "should define a <code>get_absolute_url()</code> method which routes to the view <code>profiles.views.profile_detail</code>, passing the username." in the overview.txt?</li> </ul>
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload