Skip to content

sucessfull registration message not displayed #3

@bikirandas

Description

@bikirandas

My Registration of user in database is successful but i am unable to redirect my page to successful registration page after the registration

def create_profile(sender, **kwargs):
# print(sender)
if kwargs['created']:
user_profile = UserProfile.objects.create(user=kwargs['instance']) # error occurs here with Userprofile has no attributes objects. please help me with same

this is my repository

https://github.com/bikirandas/LiquorStore

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions