This should help you out with adding extra context to TemplateView
http://godjango.com/15-class-based-views-part-1-templateview-and-redirectview/
Roy Smith wrote:
I'm using a generic TemplateView (django-1.4), but I want to be able
to add something to the context. Is that possible?
The docs a
If you are using Django 1.4 check in the application folder of your
project below your project folder. It should be in there.
Faeez Abd Rahman wrote:
Hi,
I have a problem whenever I create a new project using the start
project command, no manage.py file is created.
I'm using Mac OS X. Thank
Hi. I learn to inclusion_tag from django documentation. and i take
code from here. I try do it code: http://dpaste.com/69553/ but i get
error: http://dpaste.com/69555/ Where is my mistake?
--~--~-~--~~~---~--~~
You received this message because you are subscribed t
Hi. I use set_expiry(0) but it sets for session as default the value
from global_settings.py not (user’s Web browser is closed). also I see
table django_session via sql-shell and it not null for date field
there too, but date as default from global_settings.py.
Why is it happend?
--~--~-
Hi.
I want to have html-code:
3
I do try it with forms.py:
pos = (
(1,1),
(2,2),
(3,3),
)
field1 = forms.CharField( widget=forms.widgets.Select(choices=pos))
but I get strings which not have parametr selected="selected".
How need change it so as to get it?
Thanks
--~--~-~-
, Daniel Roseman <[EMAIL PROTECTED]>
wrote:
> On Nov 28, 3:47 pm, Buddy <[EMAIL PROTECTED]> wrote:
>
> > I have model:
>
> > class A(forms.Form):
> > p1 = forms.CharField()
> > p2 = forms.CharField()
>
> > class B(A):
> > class Me
I have model:
class A(forms.Form):
p1 = forms.CharField()
p2 = forms.CharField()
class B(A):
class Meta:
model = User
fields = ('username', 'email', 'first_name', 'last_name',)
http://dpaste.com/94378/
but fields that define in class B not apears when I render it in
Why I have problem in my internet browser FireFox and Opera on Linux
Ubuntu when I see to djangoproject.com site especially code example? A
text is hiding when I make zoom rule
Thanks you !!!
PS
Who Can fixed this bug?
--~--~-~--~~~---~--~~
You received this messag
8 matches
Mail list logo