Comments (2)
Basically for storage efficiency. I do not find any relevant reasons to be "consistent" with django defaults.
Also, django warns about storing null for string fields, but says nothing about others types.
Also, changing it, will break backward compatibility.
from djorm-pgarray.
Not matching the django defaults here requires adding these fields to the south introspection rules. Manually setting null=False
has no affect.
I'll open a pull request with fixes.
from djorm-pgarray.
Related Issues (20)
- Unicode values and `ArrayFormField` HOT 4
- ArrayField(dbtype='date') HOT 3
- Table creation in Django 1.7 HOT 1
- Multiple DB representations for blank values HOT 1
- dbtype / type_cast are not Django-esque HOT 2
- How to remove an element from the array? HOT 6
- ArrayFormField with dimension > 1 HOT 1
- How to use PostgreSQL array operator in Django 1.6? HOT 2
- Bug with the default form field HOT 5
- TLDR: where's PyPI release? HOT 1
- How work with pgarray? HOT 2
- Model class is read multiple times, but pop removes the dbtype argument HOT 8
- Django Admin HOT 1
- Incorect work with migrations in Django 1.7 HOT 6
- How to properly delete an object that uses pg_array fields HOT 2
- Tag version 1.2 in git HOT 2
- Migrating to 1.8's django.contrib.postgres.fields.ArrayField HOT 3
- Use GIN index by default
- django.db.utils.ProgrammingError: operator class "text_pattern_ops" does not accept data type text[]
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 djorm-pgarray.