On 4/4/06, Max Battcher <[EMAIL PROTECTED]> wrote:
>
> limodou wrote:
> > No, urlconf just one place, we also have view and template need to
> > deal with.
>
> Last I checked, none of my views have URLs, other than redirects to
> relative paths like '../' or 'thanks/' or redirects to major pages l
limodou wrote:
> No, urlconf just one place, we also have view and template need to
> deal with.
Last I checked, none of my views have URLs, other than redirects to
relative paths like '../' or 'thanks/' or redirects to major pages like
'/' and '/member/login/'. As for my templates, certainly
On 4/4/06, oggie rob <[EMAIL PROTECTED]> wrote:
>
> > So we want to think about if the app_pefix can be easily changed or
> > remapped.
>
> Can't you just use "include"?
> urlpatterns = patterns('',
> ('^%s/' % app_prefix, include('app.urls')),
> )
>
> Pretty flexible, pretty simple, and alre
> So we want to think about if the app_pefix can be easily changed or remapped.
Can't you just use "include"?
urlpatterns = patterns('',
('^%s/' % app_prefix, include('app.urls')),
)
Pretty flexible, pretty simple, and already there!
-rob
--~--~-~--~~~---~--~-
"Russell Keith-Magee" <[EMAIL PROTECTED]> writes:
> Sure would! Attach them to ticket #1464.
Done, thanks.
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
"Django developers" group.
To post to this group, send email
In there I just want to express my thoughts about urls.py framework, I
want to propose myself solution.
What's the question?
==
A project may be separated into many pieces of apps, and these apps
can be move to other places or reused, so the url of the apps maybe
changed, and how
On 3/31/06, Jacob Kaplan-Moss <[EMAIL PROTECTED]> wrote:
>
> On Mar 31, 2006, at 1:30 PM, Alan Bailey wrote:
> > IsModified()
>
> This could be useful, but it's probably not worth doing since Django
> would have to keep two copies of all your data in memory to figure
> this out. Doubling the mem
On 4/4/06, Seth Falcon <[EMAIL PROTECTED]> wrote:
Hi,I'm just getting started with django and worked through the tutorialusing the magic-removed branch.I made some fixes based on info found on the wiki to make the tutorialwork. Wondering if someone would like the diffs.
Sure would! Attach them to
Hi,
I'm just getting started with django and worked through the tutorial
using the magic-removed branch.
I made some fixes based on info found on the wiki to make the tutorial
work. Wondering if someone would like the diffs.
+ seth
--~--~-~--~~~---~--~~
You rec
More and more comments are being posted about the documentation on the
magic-removal branch. This reminded me that I have a patch in Trac
(ticket #1263) to fix some of the documentation and it has been sitting
for a while now.
Jacob: is there something wrong with this, or is it just unloved?
I o
One more thing I forgot: though the Dojo "Event + I/O editon" dojo.js
provides all the Dojo modules the admin needs at the moment, the
package includes a full Dojo source tree, so if you want to start
playing with this and improving it or experimenting with things you've
wanted to do once Dojo/Dja
I've just finished up the first attempt at Django/Dojo integration;
this is, essentially, the Django admin app refactored to make use
exclusively of Dojo packages (both from Dojo itself and from a custom
Django namespace) for all its JavaScript needs. So I've bundled it up
and made it available fo
I've just come up against the same problem. I ended up coding a custom
filter as a workaround.
#Custom Filter
@register.filter
def bartest(value, arg):
if (value == int(arg)):
return "trueval"
else:
return "falseval"
>>> snip <<<
template example:
{{ foo.id|bartes
akaihola wrote:
>> If I understood docs correctly this is now possible in m-r branch.
>
> Sounds interesting! Which part of the docs?
Ops, my error, no docs. Sorry for misleading post :(
I mostly got this from M2M field usage, and with all the talk of "removing the
magic" I presumed that I
Hi,
I'd like to be able to pass a Manipulator object into the generic views.
See http://code.djangoproject.com/ticket/1563 for the patch.
The proposed change allows a very nice code pattern:
- the view function handles fetching the required data and doing sanity
checks, creates a manipulator
15 matches
Mail list logo