problem about django-cms-Collection of common programming errors


  • AlexG_1010100101
    python django django-cms
    I’m try to fix an app that worked with django 1.4 within a new installation where I’m using Django 1.5 when I try to syncdb I have:TypeError: __init__() got an unexpected keyword argument ‘verify_exists’That’s because my app model.py have inside:link = models.URLField(verify_exists=True, max_length=255, null=True, blank=True)with what I d replace ‘verify_exists’ to make it compatible with Django1.5?

  • Luke
    django django-models django-queryset django-cms django-queries
    I have an error using get_or_create on a queryset: “TypeError at … save() got an unexpected keyword argument ‘using’ “. I’m using django 1.4.3, but looking around i found that those problems were fixed in django 1.2. this is the code section:class MailingListSubscriptionForm(forms.ModelForm):”””Form for subscribing to a mailing list”””# Notes : This form will not check the uniquess of# the ’email’ field, by defining it explictly and setting# it the Meta.exclude list, for allowing registration

  • plumwd
    django-templates django-registration django-cms
    I’m currently working on a project that uses django-registration and Django CMS. When display the pages that implement django-registration my page titles do not render.Currently have <title>{% page_attribute page_title %}</title> in base.html which all my templates inherit from.In the pages that do not use django-registration the titles display just fine, but django-registration display as <title></title>My pages are all created within the CMS and everything else is rend

  • qdot
    google-app-engine django-nonrel django-cms
    I’m trying to get the django-cms to work on google-app-engine. Did anyone succeed in getting such a beast to work?I’ve got a sample django-norel app to work and deploy correctly, I’ve got the django-cms to locally crash in a bunch of absolutely cryptic ways.DatabaseError at / First ordering property must be the same as inequality filter property, if specified for this query; received site, expected publisher_stateBefore I spend a lot of time trying to bughunt it, any success stories?

  • AlexG_1010100101
    django-cms django-filer
    I have a django 1.4 installation and I have django-cms running. I’m try to install filer but when I syncdb or runserver I keep having this error.from filer.models import mixinsImportError: cannot import name mixinsIn my setting.py I have:INSTALLED_APPS = ( ‘django.contrib.auth’, ‘django.contrib.contenttypes’, ‘django.contrib.sessions’, ‘django.contrib.sites’, ‘django.contrib.messages’, ‘django.contrib.staticfiles’, # Uncomment the next line to enable the admin: ‘django.contrib.admin’, ‘cms’, ‘m

  • Ben Griffiths
    jquery django django-cms
    I’ve got a django site running quite happily with django-cms but now I want to include some of my own fancy javascript using jQuery. I’m rather new to django, so my problems might stem from this.Django-cms uses jQuery itself, and so if I add jquery to the header – things break rathter unsurprisingly. How do I add my own jQuery without affecting django-cms?At the moment my javascript files are stored in the media root which I’ve defined in the projects settings.py and, as mentioned, I reference t

  • supervacuo
    django django-admin django-cms django-grappelli
    I just installed grappelli into a Django-CMS site by following the standard routine – pip install django-grappelli, add it to INSTALLED_APPS, add in the url pattern, then syncdb and collectstatic. However, although all the other pages in the admin area look great with the new “theme”, the layout for CMS Pages settings in Django-CMS (the drag ‘n drop interface) are all messed up.Why is that, and is there a fix for this, yet?Thanks.EDIT: Thanks, Brandon for your reply. Is there a way to completely

  • Luke
    python django django-admin django-cms django-file-upload
    i have a problem with a local installation on django cms 2.3.3: i’ve installed it trough pip, in a separated virtualenv. next i followed the tutorial for settings.py configuration, i started the server. Then in the admin i created an page (home), and i’ve tried to add an image in the placeholder through the cmsplugin_filer_image, but the upload seems that doesn’t work. here’s my settings.py:# Django settings for cms1 project. # -*- coding: utf-8 -*- import os gettext = lambda s: s PROJECT_PATH =

  • Rodrigo Guedes
    django heroku amazon-s3 django-cms
    I’ve a django project on heroku and amazon s3. I’m using django 1.4.2 and django-cms 2.3.4 My problem is that i can’t edit or add any plugins to pages. Yesterday it works perfect but after I have changed a few things in a textfield it all went wrong… The problem with the textfield is fixed now but i still can’t edit/add any plugins. the only things I know are the following error-messages:Failed to load resource: the server responded with a status of 403 (Forbidden) Failed to load resource: th

  • Luke
    javascript django tinymce django-cms django-tinymce
    i’m using django-tinymce in a django project. After following the setup as suggested from docs, i’ve experienced some problems while deploying it. In fact, with the same settings, with development runserver, I got it working locally, but on a test machine (NGinx + Gunicorn), i have this error on console:Uncaught TypeError: undefined is not a function tiny_mce.js:1k.create.init tiny_mce.js:1(anonymous function) tiny_mce.js:1(anonymous function) tiny_mce.js:1c.each tiny_mce.js:1o tiny_mce.js:1(ano

  • zsquare
    django-cms django-filer
    Ive been trying to get ckeditor working with the CMS. I cant seem to get inline images working with filer. I’m trying to add an image from the list of cms plugins and can select the image from the list of images already uploaded, but on finally clicking “ok” in the popup, the image appears as “undefined” in the text area.Any pointers as to what might be going wrong?

  • alecxe
    django django-cms django-filer
    I want to upload images to media folder. But Filer by default uploads images to %Y/ %m /%d folders. I tried to change the FILER_STATICMEDIA_PREFIX but after changing the value, upload is not working. I also tried to modify the default FILER_STORAGES to change the UPLOAD_TO’s value but after that the images are not getting copied to clipboard. Showing undefined undefined. All I want is to store the images in the folder name (created in filer) instead of date wise folders.What should I do? Any

  • Dan Hoerst
    django django-cms
    I’m really new to Django CMS.I created a virtual env, installed django cms, and I have two simple template with placeholders.I have installed django filer for file, image and folder. It s working but when I upload an image ..the image is actually uploaded I can see in media folder but on the django interface the thumbnails are undefined.I have installed easy_thumbnails but in the media folder I can’t see the “filer_public_thumbnails” folder.This may be similar problem to this: undefined uploads

  • user1294886
    django django-admin django-cms
    I have just started using django-cms so please forgive my newbieness.Every time i try to upload a file in the admin area, for example an image file using cmsplugin_filer_file’ / cmsplugin_filer_image it comes up as undefined in the clipboard area. It’s strange because the running dots appear as if it is loading the image then bang image undefined. It allows me to create folders but I cannot view uploaded files.On closer inspection the image has been uploaded to a directory under today’s date in

Web site is in building