We find out migrations with condition on Django version doesn't work.
Let's have migrations based on Django version for user last_login:
1. Create database
2. Run migrations in Django 1.7 - that correctly creates table custom_user
with last_login NOT NULL
3. Update Django to 1.9
4. Run migrat
I have two databases in my project, db1, which changes quite frequently,
and db2, which seldom changes. The app was original written in django 1.3,
but we've upgraded since then, and now uses 1.8. Now I need to make a
change on db2 for the first time since the upgrade from 1.3. I make my
change
hi Hogstad,
Before doing app migrate please python manage.py migrate auth ==>I hope
this will solve the issue
On Thu, Nov 24, 2016 at 3:54 PM, odd hogstad
wrote:
> I have two databases in my project, db1, which changes quite frequently,
> and db2, which seldom changes. The app was original writt
Hello,
I've created custom intermediate form for my Admin panel and the
problem is, when
I post that form my action is not triggered (but it is triggered when
I select it to show form).
Do you have any idea what can be wrong? This use case is not well
documented, and only SO question I've found i
I'm not sure. Possibly you could hack up a solution with separate migration
directories for each Django version you want to support, e.g.
migrations_dj19, migrations_dj18, ... and then point to the correct
directory with settings.MIGRATION_MODULES. I'm doubtful if that can be done
elegantly whe
db1 holds the auth stuff already. Do I need to also have it in db2 for the
migrations to work?
torsdag 24. november 2016 12.22.14 UTC+1 skrev pradam.programming følgende:
>
> hi Hogstad,
> Before doing app migrate please python manage.py migrate auth ==>I hope
> this will solve the issue
>
> On
Hello,
how can i accomplish filtering in ListView via GET ?
Now i am trying it with ListView and FormMixin...
To keep long story short:
- we are visiting page and filling form (which are generating from forms.py)
- than we are sending it via GET to the same page
- and somehow we need to validate
Yes do the same.
On Thu, Nov 24, 2016 at 11:16 PM, odd hogstad
wrote:
> db1 holds the auth stuff already. Do I need to also have it in db2 for the
> migrations to work?
>
> torsdag 24. november 2016 12.22.14 UTC+1 skrev pradam.programming følgende:
>>
>> hi Hogstad,
>> Before doing app migrate p
8 matches
Mail list logo