-
Notifications
You must be signed in to change notification settings - Fork 28
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
Bug - User_id #30
Comments
where is that field? can you show the file name and the locations? |
yes, there is a ForeignKey to the user, so if the user already have an account, we link the appointment to the user class Booking(models.Model):
user = models.ForeignKey(settings.AUTH_USER_MODEL,
on_delete=models.CASCADE, blank=True, null=True)
date = models.DateField()
... |
But the user is not defined everywhere else? So what user are we talking about. |
Django user modal. we need to assign the appointment to the user in the create booking view |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Not sure what's the plan with this field, but it's empty. Just remove? Or
The text was updated successfully, but these errors were encountered: