as usual i solved by myself!
with something like this:
user = User.objects.get(username=username)
try:
profile_obj = user.get_profile()
except ObjectDoesNotExist:
return HttpResponseRedirect('/some/path/')
thank you anyway...
On Sep 3, 4:16 pm, andreas schmid wrote:
>
hi,
im trying django-profiles and i like it but im not understanding why if
a profile does not exist it has to output a http404. i think it doesnt
has really much sense because if a profile is not yet created or not
public it shouldnt give a 404 but a "im sorry but the profile is not
available be
2 matches
Mail list logo