Electronics & Programming

develissimo

Open Source electronics development and programming

  • You are not logged in.

#1 Oct. 31, 2005 13:30:08

r.
Registered: 2009-11-02
Reputation: +  0  -
Profile   Send e-mail  

Tag Library questions


I downloaded and installed the blog app from the django_website area.
However the main view is failing since tag library comments.comments is
not found.

Has anyone encountered this also? What am I missing? Where should this
tag library be installed and what should it be called? (I downloaded
the 3 files in the template/comments ditrectory, but this did not
help.)

(I read up on tag libraries and the docs say that the admin tool can be
used to browse through the available tags, filters, models, views.
Neat! But my version of admin seems to have nothing like the "built-in
reference" that is discussed. What needs to be done to activate this
functionality in my admin app? I am using a post-Oct.18 version of
Django in case that makes a difference.)

Offline

#2 Oct. 31, 2005 13:35:55

Jacob K.
Registered: 2009-11-02
Reputation: +  0  -
Profile   Send e-mail  

Tag Library questions


On Oct 31, 2005, at 7:30 AM, rockmh wrote:I downloaded and installed the blog app from the django_website area.However the main view is failing since tag librarycomments.comments isnot found.You need to make sure that "django.contrib.comments" is in yourINSTALLED_APPS.Jacob

Offline

#3 Oct. 31, 2005 13:48:37

Richie H.
Registered: 2009-11-02
Reputation: +  0  -
Profile   Send e-mail  

Tag Library questions



> (I read up on tag libraries and the docs say that the admin tool can be
> used to browse through the available tags, filters, models, views.
> Neat! But my version of admin seems to have nothing like the "built-in
> reference" that is discussed. What needs to be done to activate this
> functionality in my admin app? I am using a post-Oct.18 version of
> Django in case that makes a difference.)

I couldn't find this either, but it turned out that the only problem was
there's no link to it in the Admin site. If your Admin URL ishttp://localhost:8000/djadmin/then the documentation URL ishttp://localhost:8000/djadmin/doc/The only thing you might need to do is
install docutils - the documentation page will tell you about that if it's
not installed.

I modified my admin base_site.html template to include a link to the
documentation. (Is there really not one in there by default, or did I
miss it?)

--
Richie

Offline

#4 Nov. 1, 2005 01:55:35

r.
Registered: 2009-11-02
Reputation: +  0  -
Profile   Send e-mail  

Tag Library questions


Thanks. That solved the missing taglib problem, but still the blog is
not working. I am guessing that I have to actually install the comments
app. Yup. Running
"django-admin.py install comments" did the trick!

I will post a link to my blog after a bit of testing and dressing up
the appearance.

Offline

Board footer

Moderator control

Enjoy the 18th of November
PoweredBy

The Forums are managed by develissimo stuff members, if you find any issues or misplaced content please help us to fix it. Thank you! Tell us via Contact Options
Leave a Message
Welcome to Develissimo Live Support