Code Monkey home page Code Monkey logo

django-adminfiles's People

Contributors

ad3w avatar armonge avatar carljm avatar jezdez avatar shagi avatar vitaly4uk avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar

django-adminfiles's Issues

tinymce integration

Hi there,
i've been wondering how you got adminfiles to work so nicely with a wysiwyg editor in the video -
i tried doing this to get it working with tinymce

class NoticiasAdmin(FilePickerAdmin):
prepopulated_fields = { 'slug' : ['titulo']}
adminfiles_fields = ('texto')
class Media:
js = ('js/tiny_mce/tiny_mce.js', 'js/textareas.js')

Both the tinymce field and the adminfiles show up fine, but when i try to insert an uploaded image into the text nothing happens

Thanks for the awesome tool!hope i can get it to work!

TemplateSyntaxError

TemplateSyntaxError at /adminfiles/all/
Syntax error. Expected: thumbnail source geometry [key1=val1 key2=val2...] as var
... adminfiles/templates/adminfiles/uploader/base.html, error at line 37

Attribute Error

AttributeError at /admin/adminfiles/fileupload/add/
'QueryDict' object has no attribute 'has_key'

in adminfiles/admin.py in response_add:
34: if request.POST.has_key('_popup'): 

This error appears when trying to add new file (on the form with FilePickerAdmin and on separate adminfiles form).
I use django 1.8 and required packages for adminfiles has been installed.

Also I have problem with migrating with adminfiles in INSTALLED_APPS , error when I run command migrate is:

psycopg2.ProgrammingError: relation django_content_type does not exist 

Using django-adminfiles there is such message, when i run server:

/usr/local/python-3.4.3/lib/python3.4/importlib/_bootstrap.py:321: RemovedInDjango19Warning: django.contrib.contenttypes.generic is deprecated and will be removed in Django 1.9. Its contents have been moved to the fields, forms, and admin submodules of django.contrib.contenttypes.
  return f(*args, **kwds)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.