Yeah, that is off topic but i'll answer it anyway ;-)

As you might have already guessed I'm developing XSLT and XSL-FO
Stylesheets.

Of course there are other things I do to create Workflows for
Content-production but those are my "main tools" 

Obviously I'm also developing with Python ^^

 

Von: django-users@googlegroups.com
[mailto:django-users@googlegroups.com] Im Auftrag von Cal Leeming
[Simplicity Media Ltd]
Gesendet: Donnerstag, 21. April 2011 19:02
An: django-users@googlegroups.com
Betreff: Re: filtering drop downs according to logged in user

 

Completely off topic but, what exactly does an "XSLT Developer" do?

On Thu, Apr 21, 2011 at 3:10 PM, Szabo, Patrick (LNG-VIE)
<patrick.sz...@lexisnexis.at> wrote:

Hi, 

 

I want to filter the dropdownlists that are automatically used to select
a foreign-key in forms (in my views).

Normally that could easily be done with "class Meta" in the Modelform.

Thing is i want to filter by an attribute of the current
user....specificly the groups that the user is assigned to.

 

So how do i do that ?!

Can i acces request.user in the models somehow ?!

 

Kind regards

. . . . . . . . . . . . . . . . . . . . . . . . . .

Patrick Szabo
XSLT Developer 

LexisNexis
Marxergasse 25, 1030 Wien

patrick.sz...@lexisnexis.at

Tel.: +43 (1) 534 52 - 1573 

Fax: +43 (1) 534 52 - 146 

 

 

-- 
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
django-users+unsubscr...@googlegroups.com
<mailto:django-users%2bunsubscr...@googlegroups.com> .
For more options, visit this group at
http://groups.google.com/group/django-users?hl=en.

 

-- 
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
django-users+unsubscr...@googlegroups.com.
For more options, visit this group at
http://groups.google.com/group/django-users?hl=en.


. . . . . . . . . . . . . . . . . . . . . . . . . .
Patrick Szabo
 XSLT Developer 
LexisNexis
Marxergasse 25, 1030 Wien

mailto:patrick.sz...@lexisnexis.at
Tel.: +43 (1) 534 52 - 1573 
Fax: +43 (1) 534 52 - 146 





-- 
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 
django-users+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/django-users?hl=en.

Reply via email to