ozknightwalker / django-basic-apps

Automatically exported from code.google.com/p/django-basic-apps
0 stars 0 forks source link

profile app doesn't handle missing profile gracefully #23

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
One or both of these should be implemented:
 * a management command to create missing profiles
 * make views tolerate missing profiles

Views affected:
 * profile_edit should create a missing profile without complaining (right
now there is a NotFound exception
 * profile_detail should show a message like "this user hasn't yet created
a profile"

Original issue reported on code.google.com by ericd...@gmail.com on 10 Nov 2008 at 3:33

GoogleCodeExporter commented 8 years ago
this patch silently creates profiles on detail/edit views. Users without 
profiles
still won't show in the list view, which I think is also a bug although less 
critical.

Original comment by ericd...@gmail.com on 10 Nov 2008 at 4:19

Attachments:

GoogleCodeExporter commented 8 years ago

Original comment by npbor...@gmail.com on 17 Nov 2008 at 6:21