[PATCH 2/2] docs: Add a paragraph about the django admin console

Stephen Finucane stephenfinucane at hotmail.com
Tue Aug 30 08:58:31 AEST 2016

On 26 Aug 12:12, Daniel Axtens wrote:
> > +## Django administrative console
> > +
> > +In order to access the administrative console at `/admin`, you need at least
> > +one user account to be registered and configured as a "staff" account to access
> > +the Django administrative console.  This can be achieved by altering the
> > +`auth_user` table and setting your favorite user entry to have `is_staff` set
> > +to `1`. Once done, such user can add projects which are required for email
> > +delivery to operate correctly.
> > +
> > +Once the administrative console is accessible, you would want to configure your
> > +different sites and their corresponding domain names, which is required for the
> > +different emails sent by patchwork (registration, password recovery) as well as
> > +sample `pwclientrc` files provided by your project's page.
> > +
> Hmm. Wouldn't it be easier to do this with 'python[3] manage.py createsuperuser'? (or
> just 'createsu' if you're using docker or vagrant)

I like the idea but Daniel is correct: the createsuperuser command is
the way to do this. Could you document this approach instead, please?


More information about the Patchwork mailing list