Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Field html rendering as text #1

Open
prkstaff opened this issue Sep 9, 2014 · 4 comments
Open

Field html rendering as text #1

prkstaff opened this issue Sep 9, 2014 · 4 comments

Comments

@prkstaff
Copy link

prkstaff commented Sep 9, 2014

Im using django 1.6.5, postgresql and getting this error ( see in the screenshot)
screen shot 2014-09-09 at 4 15 25 pm
screen shot 2014-09-09 at 4 14 49 pm

@dploeger
Copy link
Owner

I've created a test module. Could you please install this and test, if this isn't working, too?

https://drive.google.com/folderview?id=0BygOeAS4NYnleXVhMFJFQ0ZPcWM&usp=sharing

If it works, maybe you can check your code by referencing the demo code.

You have to create the following URL mapping for it and obviously add it to your INSTALLED_APPS-configuration:

url(r'^test/$', TestListView.as_view(), name="test_list"),
    url(
        r'^test/create',
        login_required(
            TestCreateView.as_view()
        ),
        name="test_create"),

Thanks!

@prkstaff
Copy link
Author

Your example give me the same error:
screen shot 2014-09-30 at 11 03 43 am

my pip freeze:
Django==1.6.5
Pillow==2.5.3
argparse==1.2.1
distribute==0.6.24
django-bootstrap3==4.11.0
django-keyedcache==1.5.1
django-livesettings==1.4-14
django-resized==0.2.4
django-simple-captcha==0.4.2
django-widget-tweaks==1.3
psycopg2==2.5.3
six==1.7.3
wsgiref==0.1.2

@prkstaff
Copy link
Author

It seems like that the aplication is trying to load some resorces without success:

"NetworkError: 404 NOT FOUND - http://0.0.0.0:8000/static//css/colorpicker.css"
colorpicker.css
"NetworkError: 404 NOT FOUND - http://0.0.0.0:8000/static/colorfield/js/colorpicker.js"
colorpicker.js
"NetworkError: 404 NOT FOUND - http://0.0.0.0:8000/static//css/colorpicker.css"
colorpicker.css
"NetworkError: 404 NOT FOUND - http://0.0.0.0:8000/static/colorfield/js/colorpicker.js"

@dploeger
Copy link
Owner

dploeger commented Oct 9, 2014

Hmm... Yes, I see them in the source code but on my site, they don't get loaded at all...

Could you please try to remove that class Media-statement?

I've upgrade my test site to Django 1.7, Django-bootstrap3 4.11.0 and everything works.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants