On Thu, Jan 9, 2014 at 11:06 AM, luca72 wrote:
> Hello
> i have defined an url as:
>
> (r'^tipi/(\w)', 'polls.views.tipi'),
The word 'tipi', followed by a forward slash, followed by a SINGLE
'word' character, and then any other characters before the end of the
URL (but none of them will be captur
you are probably opening the wrong url, I also suggest using $ at the end
of the regex
On Thu, Jan 9, 2014 at 1:06 PM, luca72 wrote:
> Hello
> i have defined an url as:
>
> (r'^tipi/(\w)', 'polls.views.tipi'),
>
> the template is:
>
>
> {% if variabile == "vino" %}
>
> {% for a in lista_v
*tl;dr* if you do not reuse the same django application several times it is
not useful.
The following is a messy don't hesitate to ask for clarification so that me
or someone else can contribute more documentation regarding this topic,
there is probably more than that but that's what I understo
So what does instance actually mean here? Does it just mean another copy
of the app directory with a different directory name?
在 2012年12月30日星期日UTC+8上午3时06分03秒,Ryan Blunden写道:
>
> I've never used this feature but I believe it was created so that for a
> single Django project, you could provide m
I've never used this feature but I believe it was created so that for a single
Django project, you could provide multiple administration apps. For example,
you might have one for customers and one for back office staff that expose
different models, have different permissions etc.
So to answer y
> r'^order_by_(?P-?(title|attachment|date))/(?P[0-9]+)/',
>
> regex error
While I'm not sure on it, you might try making that a
non-capturing group using "(?:...)":
r'^order_by_(?P-?(?:title|attachment|date))/(?P[0-9]+)/'
which may be less ambiguous to a reverse regexp-parser (which it
sound
the question is
r'^order_by_(?P-?(title|attachment|date))/(?P[0-9]+)/',
regex error
On 7/29/07, Malcolm Tredinnick <[EMAIL PROTECTED]> wrote:
>
> On Sun, 2007-07-29 at 06:55 +, ZhangshenPeng wrote:
> > when you use url pattern [a-z]+ and named it , then use in {% url
> > %} ,everything is
anyone resolved this question???
On 7/29/07, Malcolm Tredinnick <[EMAIL PROTECTED]> wrote:
>
> On Sun, 2007-07-29 at 06:55 +, ZhangshenPeng wrote:
> > when you use url pattern [a-z]+ and named it , then use in {% url
> > %} ,everything is all right .
> > when I change
> > [a-z]+
> > into
> >
On Sun, 2007-07-29 at 06:55 +, ZhangshenPeng wrote:
> when you use url pattern [a-z]+ and named it , then use in {% url
> %} ,everything is all right .
> when I change
> [a-z]+
> into
> (title|attachment|date)
> django report error "unbalanced parenthesis".
> how to fix my code to do the right
9 matches
Mail list logo