fabiocaccamo / django-colorfield

:art: color field for django models with a nice color-picker in the admin.
MIT License
632 stars 95 forks source link

MEDIA_URL in fields.py #8

Closed mattots closed 9 years ago

mattots commented 10 years ago

Shouldn't this be STATIC_URL? Otherwise it's trying to find colorfield/jscolor.js in my client-uploaded media directory!

jaredly commented 10 years ago

I'm not actively using django anymore, and haven't been keeping up with the latest releases. If you want to change that in a pull request, I'd be happy to accept.

fabiocaccamo commented 9 years ago

It's fixed.

phoebebright commented 8 years ago

Just: js = ('colorfield/jscolor/jscolor.js',) ?

fabiocaccamo commented 8 years ago

@phoebebright have you tried the latest release?

phoebebright commented 8 years ago

The problems I was having were to do with my test environment (oops), however django suggested format for form media files now does not include the STATIC_URL so I left that part of the comment in. Feel free to ignore!