Comments (1)
If you look at the constructor for UUIDField, you'll see that passing auto=True sets editable=False when calling the superclass (Field) constructor. This is why you aren't seeing this field in the django admin.
If you want to have the field show up in the Django admin, include it in the readonly_fields option of your ModelAdmin class (see https://docs.djangoproject.com/en/dev/ref/contrib/admin/#django.contrib.admin.ModelAdmin.readonly_fields)
from django-uuidfield.
Related Issues (20)
- introspection rules HOT 3
- String value with hyphens HOT 4
- StringUUID not scriptable
- Encounting syntax error when running Django 1.6 on Python 3.3 HOT 1
- Can you increment version number and upload to PyPI? HOT 5
- Form validation of mal-formed uuid is broken
- Serialization failure on Python3 due to unicode calls HOT 1
- ValueError: badly formed hexadecimal UUID string HOT 3
- Support for BinaryField in Django 1.6+ HOT 1
- Hyphenate problems HOT 4
- PostgreSQL throws DataError when trying to retrieve objects with invalid UUID HOT 3
- Not JSON serializable HOT 2
- Inconsistent backend UUID values in method get_db_prep_value() HOT 3
- unicode() method does not work in Python 3.3 HOT 4
- django.db.utils.ProgrammingError: column "uuid" is of type uuid but default expression is of type integer HOT 2
- a bug when hyphenate=true
- Version 0.5.1 release HOT 6
- SubfieldBase has been deprecated HOT 1
- Django 1.8+ HOT 1
- ImportError: cannot import name 'SubfieldBase' HOT 1
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-uuidfield.