* Joel Mathew [181120 11:18]:
> Yes, for your special case where you seem to have a pre-existing migration,
> you dont need makemigrations before migrate. I was just commenting that
> this is not the usual case.
Thank you.
> On Wed, 21 Nov 2018 at 01:43, Tim Johnson wrote:
>
> > * Joel Math
Anyway, there is no point running `makemigrations` after `migrate` is run.
That doesnt do anything, unless you have made a change in your models after
your migrate is done
Sincerely yours,
Joel G Mathew
On Wed, 21 Nov 2018 at 01:45, Joel Mathew wrote:
> Yes, for your special case where you s
Yes, for your special case where you seem to have a pre-existing migration,
you dont need makemigrations before migrate. I was just commenting that
this is not the usual case.
Sincerely yours,
Joel G Mathew
On Wed, 21 Nov 2018 at 01:43, Tim Johnson wrote:
> * Joel Mathew [181120 10:35]:
>
* Joel Mathew [181120 10:35]:
> makemigrations should come before migrate. You cant migrate without
> creating the migrations first.
Now I am being confused:
The sequence that Joel suggests did not work for me.
(I tried it before opening this thread)
The reverse sequence that was suggest
makemigrations should come before migrate. You cant migrate without
creating the migrations first.
Sincerely yours,
Joel G Mathew
On Wed, 21 Nov 2018 at 00:47, Tim Johnson wrote:
> * Shubham Rewale [181120 08:44]:
> > python manage.py migrate
> > Then use
> > Python manage.py makemigrations
* Shubham Rewale [181120 08:44]:
> python manage.py migrate
> Then use
> Python manage.py makemigrations
Thank you. That worked to apply the missing item.
Note: Had tried that in the past but reversed the sequence of the
two commands.
Have a great day Shubham
> On Tue, 20 Nov 2018, 10:
python manage.py migrate
Then use
Python manage.py makemigrations
On Tue, 20 Nov 2018, 10:10 p.m. Tim Johnson using django on ubuntu 16.04
> python 3.5.2
> django.VERSION =
> (2, 0, 0, 'final', 0)
> Working from the Django Core book by Nigel George.
> When launching
>
> (djenv) tim@linus:~/prj/cg
using django on ubuntu 16.04
python 3.5.2
django.VERSION =
(2, 0, 0, 'final', 0)
Working from the Django Core book by Nigel George.
When launching
(djenv) tim@linus:~/prj/cgi/djenv/djtest$ ./manage.py runserver
Performing system checks...
System check identified no issues (0 silenced).
# the fol
8 matches
Mail list logo