willseward / django-custom-field Goto Github PK
View Code? Open in Web Editor NEWEnd user defined custom fields for Django including contrib.admin support
License: MIT License
End user defined custom fields for Django including contrib.admin support
License: MIT License
File "/usr/lib/python2.7/dist-packages/django/db/migrations/loader.py", line 93, in load_disk
for name in os.listdir(directory):
OSError: [Errno 20] Not a directory: '/usr/local/lib/python2.7/dist-packages/django_custom_field-2.9-py2.7.egg/custom_field/migrations'
When I install custom-field and try to run python python manage.py syncdb I get following error:
OSError: [Errno 20] Not a directory: '/Users/USERNAME/Documents/dev/demo/env/lib/python2.7/site-packages/django_custom_field-1.5-py2.7.egg/custom_field/migrations'
I use Django version 1.5.4
User would prefer the box to be unchecked by default when created.
Hi,
Great project, I was looking for something like this.
Followed the steps in the Readme, however, it would break my admin view.
I debugged and found the problem:
Since Django 1.8 ids of models can be UUID, which is what I am using in my models.
This does not work with line 105 in models.py:
object_id = models.PositiveIntegerField()
Do you have any idea how this could be made agnostic to the type of the id of a model?
(I could switch to int for my ids and add another property with uuid, but others that used models with mixed id types would still run in the same issue).
Thanks for the great work!
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.