Have you added the application your models belong to to the INSTALLED_APPS
part of settings.py? And have you added the models file in that application?

Regards,

Andréas

2017-08-07 21:33 GMT+02:00 <jjanderson52...@gmail.com>:

>
> I have been working on a django application for several months, learning
> as I go. I have run into a problem now and I'm not sure what I should be
> doing next.
>
> Up until now my admin has worked, but I had a problem and a colleague told
> me he was pretty sure it was a pycharm bug. He suggested that I remove the
> database (db.sqlite3). I did that and I also removed all of the existing
> migration files in my development area.
>
> When I run 'python manage.py makemigrations', I now get the followoing
> output:
>
> /home/jja/.virtualenvs/PivotalBase-2017.6.16/bin/python
> /home/jja/prog/newSiggy/manage.py makemigrations
> setting.py: BASE_DIR =  /home/jja/prog/newSiggy
> FINISHED settings.py
> No changes detected
>
> Process finished with exit code 0
>
> Then I run 'python manage.py migrate' and my output is:
>
> /home/jja/.virtualenvs/PivotalBase-2017.6.16/bin/python
> /home/jja/prog/newSiggy/manage.py migrate
> setting.py: BASE_DIR =  /home/jja/prog/newSiggy
> FINISHED settings.py
> Operations to perform:
>   Apply all migrations: admin, auth, contenttypes, sessions, sites
> Running migrations:
>   No migrations to apply.
>
> Process finished with exit code 0
>
>
> I'm not sure what to do next. My models are in place, my 2 admin
> directories are in place. I have created an 'xxx_admin' file for each model
> and I have registered the admin classes. After running 'makemigrations' and
> 'migrate', a db.sqlite3 file exists, but only the django tables are to be
> found, not the tables for my models. I'm going through the documentation to
> try to figure out if I have missed a step in the process, but so far I have
> not found anything.
>
> Any suggestions?
>
> Jim A.
>
> --
> You received this message because you are subscribed to the Google Groups
> "Django users" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to django-users+unsubscr...@googlegroups.com.
> To post to this group, send email to django-users@googlegroups.com.
> Visit this group at https://groups.google.com/group/django-users.
> To view this discussion on the web visit https://groups.google.com/d/
> msgid/django-users/ba1d7f25-f83b-4f74-99a3-7992c29b6f2c%40googlegroups.com
> <https://groups.google.com/d/msgid/django-users/ba1d7f25-f83b-4f74-99a3-7992c29b6f2c%40googlegroups.com?utm_medium=email&utm_source=footer>
> .
> For more options, visit https://groups.google.com/d/optout.
>

-- 
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to django-users+unsubscr...@googlegroups.com.
To post to this group, send email to django-users@googlegroups.com.
Visit this group at https://groups.google.com/group/django-users.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-users/CAK4qSCedYeoJmWt7NHtr1ivX875O%3DKUUpNVFcxed4V%3DEk9Bfgw%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to