Hello,
I'm writing some simple webblog, just for self teaching, and I have a
question how to do better. Here is the situation, I have base.html, I
have blog.html which extends base. Now in that blog I would like to
put posts, full text posts, without comments, and link to the post
only with commen
So the problem is, that I can't login regular users, who has is_staff
field set to false. If it is set to true, everything is fine. So now
what I have:
default login function (django.contrib.auth.views.login) and the view
which renders the page after login has
django.contrib.auth.decorators.login_
adding that posts number to
'forums' object.
On Feb 3, 5:29 pm, Eric Abrahamsen <[EMAIL PROTECTED]> wrote:
> On Feb 3, 8:31 pm, "R. K." <[EMAIL PROTECTED]> wrote:
>
> > Hello, I'm wondering if there is such thing in django? For example,
> > f
Hello, I'm wondering if there is such thing in django? For example,
forum has topics, and topics has posts, so it would be post has
foreign key to topic, and topic has foreign key to forum. And the
question is, how to get how many posts forum has?
Thanks in advance,
4 matches
Mail list logo