Comments (4)
I can't see a difference between the model definition and the model that would be created by the migration files (although I'm only reading the code on GitHub, not running it). What's missing?
This isn't just because you haven't yet run the migrations is it?
from django-csp-reports.
Ah, that's it.
I think it's generally traditionally to package and version migrations with your app, so that when an a user updates their copy, Django knows what incremental database changes need to be made.
from django-csp-reports.
Ah good, I didn't think the migrations were wrong.
I haven't got around to doing a release to PyPi yet. I'm on holiday at the moment, but will endeavour to do it when I'm back.
from django-csp-reports.
I've made a separate issue to do a release to PyPi (#9).
from django-csp-reports.
Related Issues (20)
- Any PYPI updates? HOT 3
- Store record fields individually HOT 1
- Run tests in CI HOT 1
- Enforce coding standards HOT 1
- Summary command HOT 3
- Enforce pydocstyle
- Update Django admin interface
- Update tests
- Replace utils.Config with third party library HOT 1
- Refactor string representations
- With Python 3 Django generates a new migration for ordering HOT 1
- django 2.0> support HOT 3
- Provide support for django 2.1 HOT 4
- Summary template is missing from pypi package HOT 4
- Django 4.0 support? HOT 2
- Extra migration file when changing DEFAULT_AUTO_FIELD in Django 3.2 HOT 1
- Warning with default_app_config
- Make CSP Model Customable HOT 6
- Question about security issues HOT 1
- Add django 5.0 compatibility.
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-csp-reports.