What changes you did ?
Regards,
Akash Kandpal.
On Wed, Aug 29, 2018, 12:34 AM Vincent wrote:
> I figured it out :
>
> from django.db import models
> from django.contrib.auth.models import User
>
>
> # Create your models here.
> class Events(models.Model):
> Name = models.CharField(max_length=6
I figured it out :
from django.db import models
from django.contrib.auth.models import User
# Create your models here.
class Events(models.Model):
Name = models.CharField(max_length=64)
Date = models.DateTimeField()
Description = models.CharField(max_length=200)
Admin = models.ForeignKey(Use
Hello,
I'm new to Django and i'm trying to made a simple app in which users can
attend to an event. I'm trying to have this manageable through the admin
site but i get the following error :
: (admin.E202) fk_name 'attendees' is
not a ForeignKey to 'evenement.Events'.
My goal is to have an inte
3 matches
Mail list logo