"django-notification" app installation

82 views
Skip to first unread message

Anthony

unread,
Jul 2, 2009, 5:21:12 PM7/2/09
to Django users
Hi,

I'm having trouble installing this application (got if from github:
http://github.com/jtauber/django-notification/tree/master).

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.

thanks

Rama Vadakattu

unread,
Jul 3, 2009, 1:42:46 AM7/3/09
to Django users
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.

Anthony

unread,
Jul 7, 2009, 12:32:39 AM7/7/09
to Django users


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.

Karen Tracey

unread,
Jul 7, 2009, 8:24:00 AM7/7/09
to django...@googlegroups.com
On Tue, Jul 7, 2009 at 12:32 AM, Anthony <alant...@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:

http://github.com/jtauber/django-notification/blob/e04fdc9420306826b1b80623dfcad819813dc082/docs/usage.txt#L11

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.

Karen

Anthony

unread,
Jul 7, 2009, 11:11:32 PM7/7/09
to Django users


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:
>
> http://github.com/jtauber/django-notification/blob/e04fdc9420306826b1...
>
> 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.

Reply all
Reply to author
Forward
0 new messages