Comments (8)
@javrasya let me know if you need more information
from django-river.
After fiddling around i think i may have found the root problem and a workaround.
so basically my 0001_initial.py was generating this
dependencies = [
('river', '0007_auto_20161013_1149'),
]
This migration does not exist in the source code (and i am not sure were is it coming from) so i changed the migration to:
dependencies = [
('river', '0006_auto_20160524_0439'),
]
I noticed then that there was one migration left to do (the actual 0007)
root@8b7595afac0e:/code# python3 manage.py makemigrations --settings=smal.settings.local
System check identified some issues:
WARNINGS:
river.ProceedingMeta.groups: (fields.W340) null has no effect on ManyToManyField.
river.ProceedingMeta.parents: (fields.W340) null has no effect on ManyToManyField.
Migrations for 'river':
/usr/local/lib/python3.5/dist-packages/river/migrations/0007_auto_20161013_1150.py:
- Alter field parents on proceedingmeta
root@8b7595afac0e:/code# python3 manage.py migrate --settings=smal.settings.local
System check identified some issues:
WARNINGS:
river.ProceedingMeta.groups: (fields.W340) null has no effect on ManyToManyField.
river.ProceedingMeta.parents: (fields.W340) null has no effect on ManyToManyField.
Operations to perform:
Apply all migrations: admin, auth, authtoken, authtools, contenttypes, djcelery, ip_geocoding, local_accommodation, qualifications, river, sessions, sites, users
Running migrations:
Applying river.0007_auto_20161013_1150... OK
root@8b7595afac0e:/code#
Hope this helps
from django-river.
I think there is a problem with python 3
, because here is the result with python 2.7
dependencies = [
('river', '0006_auto_20160524_0439'),
]
I could reproduce your case with python 3
. I am looking at it.
from django-river.
I create migrations with python 2.7
most of time. In a weird way, python2.7 could't detect a migration which is 0007
one somehow python3
can detect. I will create this migration with python3
and commit it.
from django-river.
@psychok7 could you please test it with master branch, it supposed to be fixed, I commited the missing migration file.
from django-river.
Please, do not forget to install it with --upgrade to delete previous django-river to reset migrations. Because you created 0007 in your workspace right.
from django-river.
@javrasya oh ok, i will try to test it tomorrow or monday morning and let you know
from django-river.
@javrasya i tested the latest commit against a database without django river but with data and everything is working.
from django-river.
Related Issues (20)
- Delete object from model HOT 4
- [Question] How to incorporate multi-tenancy with django river?
- display river status details in DetailView
- can I create related_name for <river.models.State> HOT 1
- Workflow pattern issue (circular not working) HOT 10
- Will you consider adding pre-commit to help enforce syntax and formatting standards? HOT 2
- Bug in MSSQL driver (more than 2000 approvals) HOT 3
- When does the hook trigger in django-river?
- How can i use django river with django reset framework HOT 1
- type object 'TransitionApproval' has no attribute '_mptt_meta' HOT 1
- Multiple button shown if User belongs to more than one Group with workflow permissions HOT 1
- Return ticket current state status
- Error while running django async
- Permissions allow users to approver specific records only
- example of usage
- Material/Tutorial
- how to deal with the namespace
- Any active fork? HOT 2
- mptt version Conflicts ?
- What about Django 4.* support? HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from django-river.