son
I'm even having the trouble is because of the use of functions like
reverse to avoid hard coding views and templates to urls!
Thanks for your feedback.
On Jan 3, 5:50 pm, Karen Tracey wrote:
> On Sun, Jan 3, 2010 at 5:15 PM, davathar wrote:
> > Ramiro, thanks for the links.
o I'm going to start over and see if I missed something critical in
my setup.
Thank you -Shane
On Jan 3, 3:01 pm, Ramiro Morales wrote:
> On Sun, Jan 3, 2010 at 4:44 PM, davathar wrote:
> > Thank you for the responses so far. But I still haven't identified
> > the
This one has bitten me too. It also manifests when using the
'reverse' function like so:
return HttpResponseRedirect(reverse('admin_url'))
Instead of redirecting to /studio/admin/ it redirects to /admin/
So, while /studio/admin/ resolves well, reversing the path doesn't
yield the reverse.
I'm
ed in Django 1.0 alpha
versions does not apply to mod_wsgi and is only necessary with
mod_python, due to mod_python not setting SCRIPT_NAME correctly. "
So where does that leave us? does mod_wsgi need some other
configuration?
On Jan 2, 10:25 pm, davathar wrote:
> Bill: Tried that, but it m
ass it that way to reverse:
>
> ...reverse('case_url', kwargs={'case':case.id})...
>
> Bill
>
> On Mon, Dec 28, 2009 at 8:22 PM, davathar wrote:
> > I'm stuck on a "reverse" problem. The 'case' view is supposed to
> >
the first level match and then
> continue for "/case", so the reverse URL seems to be correct, i.e. /
> support/case/1.
>
> How are you tacking the "/helpdesk" to your request initially?
>
> On Dec 29, 6:22 am, davathar wrote:
>
> > I'm stuck on a &
I'm stuck on a "reverse" problem. The 'case' view is supposed to
record posted info, then reload the same page. But it's dropping the
first part of the URL on the redirect and I've not been able to figure
out why.
It should be going to .com/helpdesk/support/case/1/ But it's going
to .com/suppor
Ok, so I'm sure that I violated DRY and probably a few other good
programming principles, but here's what I did that worked and doesn't
alter the source. It's a hack, but I'm still learning.
I created a new monkey_patches.py file and copied the function from
the core file and altered it. Now I
pper for the current
functionality and I'll share it here if I'm successful. I'm new to
OOP and Django and not really all that great at programming anyway.
But I'll see what I can figure out.
Thanks,
Shane
On Mar 3, 7:01 pm, Malcolm Tredinnick
wrote:
> On Tue, 2009-03-03 at
I'm using @never_cache as follows and IE7 has the correct behavior,
but Firefox 3.06 allows me to view the content of all previous pages
by clicking the back button even after going through a logout.
@never_cache
@login_required()
def search(request, search):
Gmail has the correct behavior in f
10 matches
Mail list logo