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

Feature/megafon #44

Open
wants to merge 18 commits into
base: develop
Choose a base branch
from
Open

Feature/megafon #44

wants to merge 18 commits into from

Conversation

freddylimpens
Copy link
Contributor

@atiberghien je crée ce PR pour pouvoir discuter dessus

@@ -41,7 +41,7 @@ class ObjectProfileLink(models.Model):

@receiver(post_save, sender=User)
def create_profile_on_user_signup(sender, created, instance, **kwargs):
if created:
if created and not instance.is_superuser:
Copy link
Contributor Author

Choose a reason for hiding this comment

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

ça me semble OK, mais je me demande juste ce qui rend cet ajout nécessaire ?

@freddylimpens
Copy link
Contributor Author

@atiberghien ça me semble putot cool après une 2e lecture du code; j'ai pas plus de recul que ça sur MPTT, mais j'aime bien le fait de coder Questions et Réponses avec le mème modèle (Post) et c''est cool de voir qu'on réutilise aussi les autres briques (ObjectProfileLink).

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.

2 participants