so i have to use the HttpResponseRedirect() class, right? I am not very familiar with this class and its handling, can i pass it arguments like those i pass to an template? how can i use my template with redirects. Would you please so kind and send some code snippets
On May 4, 9:45 am, babis <[EMAIL PROTECTED]> wrote: > sorry, ignore the first message :) > > hey everyone, > > i have a question/problem.. > > in my template i have defined some anchors like this > <a name='first-anchor' /> > <h1>Header</h1> > > so, how can one jump to those anchor positions frow within a view. > > my view looks like this > > def theview(request): > template = 'thetemplate.html' > > <snip> > > param = { > 'configs' : confs, > } > > l = loader.get_template(template) > c = Context(param) > > return HttpResponse(l.render(c)) > > now, how can i define the anchor position in this view to jump > directly to the #first-anchor tag --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Django users" group. To post to this group, send email to django-users@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/django-users?hl=en -~----------~----~----~----~------~----~------~--~---