Comments (2)
Hi @dotcomlatam,
What version of django are you using?
--- update ---
I suspect you're using django 2.0 or 2.1, you will notice that the class Serializer
does not exist.
https://github.com/django/django/blob/stable/2.0.x/django/db/migrations/serializer.py
https://github.com/django/django/blob/stable/2.1.x/django/db/migrations/serializer.py
I, like django, do not support anything bellow 2.2. See https://www.djangoproject.com/download/#supported-versions, you will see that 2.1 left support back in Dec 2019. Note how the class Serializer
exists here.
https://github.com/django/django/blob/stable/2.2.x/django/db/migrations/serializer.py#L275
If you're interested, this is what i'm currently supporting https://github.com/kingbuzzman/django-squash/blob/master/setup.py#L53 the same information can be seen here https://pypi.org/project/django-squash/ on the left hand side under "Classifiers" > "Framework"
from django-squash.
@dotcomlatam If you think i closed this incorrectly, and this is not your issue, you're more than welcome to opening it back up, just provide more details.
Cheers
from django-squash.
Related Issues (7)
- Optional auto adding namespace the functions used in the code and reverse_code arguments of RunPython HOT 6
- Touches migrations inside site-packages HOT 4
- IndexError: list index out of range HOT 4
- Hello again, sorry I missed your answer. So I plan to reopen issue, cause I tried to squash my migrations again :) HOT 4
- Installed database extensions are not kept in the squashed migrations HOT 6
- NameError: name 'RunPython' is not defined HOT 12
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-squash.