maccesch / cmsplugin-contact

Extendable contact plugin for django-cms with spam protection and i18n
BSD 2-Clause "Simplified" License
71 stars 62 forks source link

Contact plugin not syncing with DB and not available #14

Closed ydaniv closed 13 years ago

ydaniv commented 13 years ago

Hi,

I know this issue was opened before twice and I went over those issues but still couldn't get the plugin to show up.

I'm on Django 1.3, Python 2.6.6 and tried versions 0.9.7, 0.9.8 and latest.

Also tried installing stopspam but it doesn't show up either.

Could you publish an up-to-date list of steps of how to get this working?

Thanks! ~Y

mitar commented 13 years ago

Do you use south? What means "not syncing"? Is there an error?

maccesch commented 13 years ago

Hi!

Thanks for your feedback. The readme should actually be up to date.

Stopspam is no longer required, all necessay files are included.

Please type python manage.py shell into your terminal and there try import cmsplugin_contact. If that works please try from cmsplugin_contact.cms_plugins import *.

In one of these cases an error should be shown. If that doesn't answer your question by itself please post the output here.

ydaniv commented 13 years ago

Tried with and without South but I get the same results.

I've installed the latest again using easyinstall, and it looks fine. Opened shell and did all the imports you said successfully, no errors.

I do syncdb from scratch after adding 'cmsplugin_contact' to my installed apps and it doesn't show up in the created tables list. Tried entering admin to check if the contact plugin is available and it ain't.

Any idea?

mitar commented 13 years ago

Ehm, but you do clean the database between all this tries? Because syncdb changes database only the first time (if table does not yet exist).

How do you run Django? You use development server? Or FastCGI/WSGI?

ydaniv commented 13 years ago

Of course, i erase the file. It's Django's dev server on Windows, using SQLite.

One correction it's Python 2.6.3 but don't think it matters.

I thought it might be something with my site-packages folder or the scripts in it, so i took the cmsplugin_contact folder out of the .egg folder (that's when my IDE starts finding it) but results are still the same ):

maccesch commented 13 years ago

Hm.... In the shell can you try from cmsplugin_contact.models import *?

ydaniv commented 13 years ago

OK, it's not a cmsplugin_contact problem, it's a generic problem with installing new packages.

For some reason, from a certain point everything I try to install python finds but manage.py doesn't.

Can't find an answer to that.

~Y

On Tue, Aug 16, 2011 at 10:39 PM, maccesch < reply@reply.github.com>wrote:

Hm.... In the shell can you try from cmsplugin_contact.models import *?

Reply to this email directly or view it on GitHub:

https://github.com/maccesch/cmsplugin-contact/issues/14#issuecomment-1819603

maccesch commented 13 years ago

hm maybe you have an app, that breaks importing every app that is listed after it?

mitar commented 13 years ago

Or manage.py uses other Python version.