Django

Code

Ticket #3483 (closed: fixed)

Opened 2 years ago

Last modified 9 months ago

Document AUTH_PROFILE_MODULE

Reported by: Marc Fargas <telenieko@telenieko.com> Assigned to: nobody
Milestone: Component: Documentation
Version: SVN Keywords:
Cc: Triage Stage: Accepted
Has patch: 1 Needs documentation: 0
Needs tests: 0 Patch needs improvement: 0

Description

The AUTH_PROFILE_MODULE isn't documented, the whole "Profile" support is undocumented except for a small reference to the 'get_profile' method in authentication docs maybe it should be documented somewhere, the best source of information I could find about it is this b-list post, there is also this wiki page which should be updated to reflect this new setting maybe with a note to the documentation if it gets added.

On the code you can get a few more information: here

Attachments

authentication.profile.diff (3.9 kB) - added by adrian@adrima.es on 08/15/07 12:21:27.
Patch adding "Extendig the profile system" to the documentation
authentication.profile-v2.diff (3.9 kB) - added by adrian@adrima.es on 08/15/07 13:02:42.
added "login required" to the view, and other small changes

Change History

02/12/07 13:26:31 changed by ubernostrum

  • needs_better_patch changed.
  • needs_tests changed.
  • needs_docs changed.

The Django book documents it: http://www.djangobook.com/en/beta/chapter12/#cn226

That can probably be rolled in to the official docs, per plans to do that with most of the stuff in the book.

02/17/07 04:27:12 changed by Simon G. <dev@simon.net.nz>

  • stage changed from Unreviewed to Accepted.

07/03/07 12:56:50 changed by anonymous

This is still undocumented.

08/02/07 02:55:39 changed by aribao@gmail.com

Why is still undocumented? Are you planning to change it? I'm gonna start a big project and I need this feature, but please tell me if you plan to change this. Is the setting AUTH_PROFILE_MODULE the right way to get it working?

08/02/07 17:51:46 changed by Simon G. <dev@simon.net.nz>

Why haven't we done it? Lack of time. Feel free to help out. If it's in the book it's not likely to change.

(follow-up: ↓ 7 ) 08/15/07 03:39:41 changed by adrian@adrima.es

I'll start to work on it today or on Friday. I hope I can submit the patch before next week.

(in reply to: ↑ 6 ) 08/15/07 03:40:56 changed by adrian@adrima.es

Replying to adrian@adrima.es:

I'll start to work on it today or on Friday. I hope I can submit the patch before next week.

By the way, I'm the same user as aribao@gmail.com, I just wrote other email. adrian@adrima.es = aribao@gmail.com :-)

08/15/07 06:06:18 changed by Simon G. <dev@simon.net.nz>

that would be most appreciated!

08/15/07 12:21:27 changed by adrian@adrima.es

  • attachment authentication.profile.diff added.

Patch adding "Extendig the profile system" to the documentation

08/15/07 12:24:01 changed by adrian@adrima.es

  • has_patch set to 1.

I have documented the extendable profile system. Most of the text comes from the djangobook because I'm Spanish and I thought it would be better to copy it rather than write it by myself.

Important: The patch MUST be reviewed by some native English speaker before applying it.

I hope it's ok.

08/15/07 13:02:42 changed by adrian@adrima.es

  • attachment authentication.profile-v2.diff added.

added "login required" to the view, and other small changes

08/18/07 09:37:36 changed by Simon G. <dev@simon.net.nz>

Thank you! Jacob's just checking out the legalities of what can/can't be merged in from the Djangobook (we want to be very careful here for obvious reasons), but once that's sorted out we'll deal with it :)

12/01/07 14:45:05 changed by ubernostrum

  • status changed from new to closed.
  • resolution set to fixed.

(In [6810]) Fixed #3483: Documented AUTH_PROFILE_MODULE and custom user profiles


Add/Change #3483 (Document AUTH_PROFILE_MODULE)




Change Properties
Action