Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Removing membership creation from TavernGroup.save() and attendee creation in Event.save() #64

Closed
wants to merge 8 commits into from

Conversation

yashwanthbabu
Copy link
Member

No description provided.

@akshar-raaj
Copy link
Member

@yashwanthbabu I think this branch was not based off master and it was based off Adding_RSVP_status_in_Attendee_unicode. You can merge master to this branch, so the Files changed only shows how this branch is different from master.

if kwargs["created"]:
user_instance = User.objects.filter(created_groups__name=model_instance)[0]
membership = Membership.objects.get_or_create(tavern_group=model_instance, join_date=timezone.now(), user=user_instance)
return reverse('tavern_group_details', kwargs={"slug": model_instance.slug})
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@yashwanthbabu I don't think you need to return a reversed url from a signal handler. In that case you should be able to remove the "return" statement. Check about it and take appropriate action.

@yashwanthbabu
Copy link
Member Author

@akshar-raaj I merged the master in this branch and pushed with the commit "merging master".

@yashwanthbabu yashwanthbabu changed the title Removing membership creation from TavernGroup.saver() and attendee creation in Event.save() Removing membership creation from TavernGroup.save() and attendee creation in Event.save() Sep 22, 2014
@shabda shabda closed this Apr 16, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants