Hi Benjamin, Thanks, I'll have look.
Bob On Mar 25, 4:43 pm, Benjamin Reitzammer <[email protected]> wrote: > Hi Bob, > this not a Django specific question/problem but more a general Python > question. > The information you are looking for is most likely located in the > os.environ object. > So take a look at this in your python commandline/shell > > >>> import os > >>> [i for i in os.environ.items()] > > and look for the item that contains the username you are looking for. > > HTH & Cheers > > Benjamin > > On Thu, Mar 25, 2010 at 16:27, BobAalsma <[email protected]> wrote: > > I work as a single person on a single machine. I use an unstable > > programme that requires me to employ more than one OS user. The > > programme will store some files locally (in each specific user > > environment). > > > I am trying to build a Django application to centralise the > > information gathered by this unstable programme, but in some cases I > > need to refer to the stored files. So I want to store the > > "originating" OS user name in the database, along with the other > > information. > > > So yes, there are concurrent users; I know I will never use the same > > user name twice; it is a single machine solution, not using any > > network - I think there is no security problem to be solved here. > > > I have looked at the documentation and forums, but could not find an > > answer to my question. > > > Regards, > > Bob > > > -- > > You received this message because you are subscribed to the Google Groups > > "Django users" group. > > To post to this group, send email to [email protected]. > > To unsubscribe from this group, send email to > > [email protected]. > > For more options, visit this group > > athttp://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 [email protected]. 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.

