About the Django URL tag {% url %}……

2012-08-29 Thread Scarl
My python version is 2.7.2 , and django version is 1.2.7 I have a test just now. If i put the name parameter in mysite.urls like url(r'^test/$', 'testpage', name='www'), the {% url www %} can work... But when I put the name parameter in mysite.myapp.urls like url(r'help/$', 'testpage', name='www'

Re: About the Django URL tag {% url %}……

2012-08-29 Thread Scarl
I am so sorry……I didn't provide the render params... -- You received this message because you are subscribed to the Google Groups "Django users" group. To view this discussion on the web visit https://groups.google.com/d/msg/django-users/-/04wrFi8MWRcJ. To post to this group, send email to djan

How to extend the TextField in Django?

2012-09-20 Thread Scarl
I want to extend the textfield like this, could anyone help me? thx! -- You received this message because you are subscribed to the Google Groups "Django users" group. To view this discuss

Re: How to extend the TextField in Django?

2012-09-20 Thread Scarl
Thanks Lachlan ! 在 2012年9月21日星期五UTC+8上午10时19分44秒,Scarl写道: > > > <https://lh5.googleusercontent.com/-PQC8Rzyq-v0/UFvOkohnABI/ACY/h60EHgp6_nE/s1600/textfield.jpg> > > I want to extend the textfield like this, could anyone help me? thx! > > -- You received t

Does django's built-in comments component support pagination?

2012-09-23 Thread Scarl
I wonder is it possible to display 10 comments on one page? If it can, how to do it? Using the django.core.paginator? please help! thx! -- You received this message because you are subscribed to the Google Groups "Django users" group. To view this discussion on the web visit https://groups.go

Re: Does django's built-in comments component support pagination?

2012-09-23 Thread Scarl
perfect example. You have to replace de model by the model of your > comments. > > On Sunday, September 23, 2012 11:12:10 AM UTC-3, Scarl wrote: >> >> I wonder is it possible to display 10 comments on one page? If it can, >> how to do it? Using the django.core.paginator? &

Re: Does django's built-in comments component support pagination?

2012-09-23 Thread Scarl
ought that views handle comments. I see now that comments are > handled by the framework itself. > > El domingo, 23 de septiembre de 2012 11:12:10 UTC-3, Scarl escribió: >> >> I wonder is it possible to display 10 comments on one page? If it can, >> how to do it? Using

a problem about django-grappelli

2012-10-29 Thread Scarl
After I use django-grappelli, the admin site looks very nice. But when I enter /admin/diary/day, and add something, it looks terrible. It shows left side only! I want it to ex

How to make django-registration use Chinese as username?

2012-12-09 Thread Scarl
I am a chinese user. I want to use django-registration to make a user-registration application. But I find django-registration only support english username. And its help_text are also english. I need to use Chinese as username. What should I do? -- You received this message because you are su