Re: Admin: Unknown fields

2015-09-30 Thread Rolston Jeremiah
Hello Florian Schweikert, Thank you. The commas (',') were the problem. Consider this user-issue closed. Great place to learn Thanks to all. Rjae On Monday, September 28, 2015 at 6:56:42 PM UTC-4, Rolston Jeremiah wrote: > > Hello, > > I am new to Python and Django so please bear with me.

Re: Admin: Unknown fields

2015-09-29 Thread Florian Schweikert
On 29/09/15 18:47, Rolston Jeremiah wrote: > class Genus(models.Model): > genus_id = models.AutoField(primary_key=True), > scientific_genus = models.CharField(max_length=32), > common_name = models.CharField(max_length=32), > common_examples = models.TextField(), It's probably because of the ',' a

Re: Admin: Unknown fields

2015-09-29 Thread Rolston Jeremiah
On Monday, September 28, 2015 at 6:56:42 PM UTC-4, Rolston Jeremiah wrote: > > Hello, > > I am new to Python and Django so please bear with me. > > I have created a model(below) and would now like to access > from the admin interface. As per instructions I found on the > django site (Part 2 t

Re: Admin: Unknown fields

2015-09-28 Thread Gergely Polonkai
Hello, I suspect you didn't make/run migrations: python manage.py makemigrations python manage.py migrate The first command creat the so-called migration files that are required to update the database by adding new tables and fields, while the second one does the actual upgrade. Also, allow me

Admin: Unknown fields

2015-09-28 Thread Rolston Jeremiah
Hello, I am new to Python and Django so please bear with me. I have created a model(below) and would now like to access from the admin interface. As per instructions I found on the django site (Part 2 tutorial version 1.8.4) model ///