I ran "python setup.py install", but I don't see a "notification"
folder in the "site-packages" directory. I do see a ".egg" directory
however.
From the shell, I do an "import notification" and get no errors. But
when I try to reference the "create_notice_type" function, it does not
recognize it.
I'm pretty new to both Python and Django, so if I just need to read up
on some basic documentation, I'd appreciate a pointer to it. I
haven't had any trouble installing a couple of other apps I've
downloaded, however this one does not have any specific installation
instructions, so I may be just missing something basic.
dir(notification) ========> which list all the methods ,classes in the
package
and see what it contains then atleast you will get a rough idea of
what is going wrong.
On Jul 3, 2:21 am, Anthony <alantho...@gmail.com> wrote:
> I ran "python setup.py install", but I don't see a "notification"
> folder in the "site-packages" directory. I do see a ".egg" directory
> however.
> From the shell, I do an "import notification" and get no errors. But
> when I try to reference the "create_notice_type" function, it does not
> recognize it.
> I'm pretty new to both Python and Django, so if I just need to read up
> on some basic documentation, I'd appreciate a pointer to it. I
> haven't had any trouble installing a couple of other apps I've
> downloaded, however this one does not have any specific installation
> instructions, so I may be just missing something basic.
On Jul 2, 10:42 pm, Rama Vadakattu <rama.vadaka...@gmail.com> wrote:
> after import notification
> just try to do this
> dir(notification) ========> which list all the methods ,classes in the
> package
> and see what it contains then atleast you will get a rough idea of
> what is going wrong.
Thank you for your suggestion. I actually tried doing
from notification.models import *
and
from notification.views import *
These work and properly load the models and views. My problem now is
that when I do a syncdb, I get:
Skipping creation of NoticeTypes as notification app not found
So, it looks like something related to the app is there, but the app
itself is missing (at least from the standpoint of creating the
database). Any help with this would be appreciated again.
On Tue, Jul 7, 2009 at 12:32 AM, Anthony <alantho...@gmail.com> wrote: > [...] My problem now is > that when I do a syncdb, I get:
> Skipping creation of NoticeTypes as notification app not found
> So, it looks like something related to the app is there, but the app > itself is missing (at least from the standpoint of creating the > database). Any help with this would be appreciated again.
Grepping the Django source tree for "Skipping" doesn't show any hits that look like they could result in that message, so it's coming from code outside Django. Looking at the doc for the app you are attempting to use:
that message appears as part of a suggested way of creating Notice Types, and from looking at the code the reason you would get the message is that you have not included the app in your INSTALLED_APPS in settings.py.
On Jul 7, 5:24 am, Karen Tracey <kmtra...@gmail.com> wrote:
> On Tue, Jul 7, 2009 at 12:32 AM, Anthony <alantho...@gmail.com> wrote:
...
> Grepping the Django source tree for "Skipping" doesn't show any hits that
> look like they could result in that message, so it's coming from code
> outside Django. Looking at the doc for the app you are attempting to use:
> that message appears as part of a suggested way of creating Notice Types,
> and from looking at the code the reason you would get the message is that
> you have not included the app in your INSTALLED_APPS in settings.py.
Hi,
Well, duh on me. I have no excuse, I just forgot to add it in there.
Thanks for going over your process and taking the time to check.