Skip to content

sucessfull registration message not displayed #3

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

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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