Re: redirect with post parameters

2008-06-17 Thread MarcoX
Peter and Daniel, thanks for the reply. I must use the POST method because the external site WANT a post method. parameter2 is a "stupid" info that the external site required. I try with your (simple) solution, a hidden html form with a javascript redirect... many thanks. On 17 Giu, 18:34, Dani

redirect with post parameters

2008-06-17 Thread MarcoX
Hi all django friends, I must login a user in my site than redirect to another site with 2 parameters via post method. It's possible do that in my registration view? my example code: if request.POST: redirect_to = settings.REDIRECT_URL errors = manipulator.get_validation_errors(r

Re: Users vs Sites

2007-10-11 Thread MarcoX
group of users (journalist group) to write stories for a unique site. The permissions that now is possible to specify in django admin doesn't permit to carry out these specific ties. I hope that my explanation is enough clear, otherwise I try to explain it better. Many thanks. MarcoX On

Re: Users vs Sites

2007-10-10 Thread MarcoX
thank you, Chris. The solution of my problem is therefore very difficult to implement. The branch of which you speak to me is still in testing. And however it seems that it cannot resolve my problem completely. Therefore not are others (simpler) solutions? MarcoX On 10 Ott, 18:31, Chris

Users vs Sites

2007-10-10 Thread MarcoX
Hi to all, I have a problem on the configuration of the users in django. In my plan I have 4 sites. I would want that in the admin view I can specify for some users the possibility of being able to make determined actions for determined sites. For example, the user X can write the object Y only fo

Re: order by problem with foreign key

2007-10-08 Thread MarcoX
Hi karen, I have removed the attribute null=True and now it works fine. Thank you. On 8 Ott, 16:38, "Karen Tracey" <[EMAIL PROTECTED]> wrote: > Looks like you might be hitting: > > http://code.djangoproject.com/ticket/2076(order_by with related table does > not work) > > From the comments in the

order by problem with foreign key

2007-10-08 Thread MarcoX
Hi all, I have 2 models. class Story(models.Model): title = models.CharField(maxlength=150,core=True) . counter = models.ForeignKey(ClickCounter,edit_inline=models.STACKED,num_in_admin=0,blank=True,null=True) class ClickCounter(models.Model): number_views = models.IntegerField(d