Comments (4)
This command works as closely to makemigrations
as can possibly be. Keep in mind there is a settings level variable you can set so you donโt have remember and have to run it with โignore-app
every time called DJANGO_SQUASH_IGNORE_APPS
found here.
If you have a suggestions, @philfriesen and I are all ears. What we currently have works for us, if you want any changes we will evaluate all PRs presented.
from django-squash.
You can always do something like:
MY_APPS = ['a', 'b', 'c']
DJANGO_APPS = ['da', 'db', 'dc']
THIRD_PARTY_APPS = ['tpa', 'tpb', 'tpc']
INSTALLED_APPS = DJANGO_APPS + THIRD_PARTY_APPS + MY_APPS
DJANGO_SQUASH_IGNORE_APPS = DJANGO_APPS + THIRD_PARTY_APPS
just a suggestion
from django-squash.
Thanks! I'll try maintaining a list for ignore_app for now. Will look into creating a PR for excluding all apps in a subdirectory or something ๐
from django-squash.
Related Issues (7)
- Optional auto adding namespace the functions used in the code and reverse_code arguments of RunPython HOT 6
- 6/site-packages/django_squash/apps.py", line 2, in <module> from django.db.migrations.serializer import Serializer HOT 2
- 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.