Advanced Permissions and States

2008-12-20 Thread makkalot
Hi i'm developing an e-commerce site with Django, and have situations like this : - A user can execute different operations in different time-intervals if he has the right privileges. Ex : A user can edit only his products Ex : A user can edit only his orders when he has bought

Re: Advanced Permissions and States

2008-12-22 Thread makkalot
On Monday 22 December 2008 12:18:13 pm Paul van der Linden wrote: > Hi, Hi thanks for the reply > I'm working on a big project at my work myself. > We came to this problem last week (we did something to check it, but it > was unmanagable). > We wanted to move the check to the models. This is a lit

Do sth on time ?

2009-01-04 Thread makkalot
Hi list, I have a web app which is a kind of arbitration application. Users bid on some products or projects and the one who gives the biggest price gets the project. Every project has some bidding expiration time. What i need is how can i handle the situation to change the status of the proje

Thread safety in views ?

2009-02-15 Thread makkalot
Hi all i generate some xml files for my gallery app on every new request (i use cache also). That mean i do some file operation on most of gallery requests. I'm concerned about having the xml file in a inconsistent format. Therefore are the django views thread-safe or how can i solve that issue

Re: Thread safety in views ?

2009-02-15 Thread makkalot
On Sunday 15 February 2009 10:39:26 pm slav0nic wrote: > if u need start new thread - it will be work, but for more "djngo way" > use signals Well that is not what i'm concerned about, i asked if a view is accessed only by a one client. I dont want 2 views to acces the same xml and have the sha

My uppload form problem?

2008-01-24 Thread makkalot
Hi all i use django 0.96.1 version and i'm trying to upload file to server. Actually that is not the problem here my dropdown menus gone crazy :) I got an error that i have not entered a valid choice ! I have did that operation hundred times i can not understand whats wron! Here is my code htt

Run different django versions

2007-12-23 Thread makkalot
Hi i have 2 projects which one of them uses the svn version of the django and another uses 0.96.1 How should i handle that situation. Currently i checouted the svn version and created a ln -s to my site-packages version? How can i have the 0.96.1 when i work with my site and to have svn when i

0.96.1 newforms image upload?

2007-12-28 Thread makkalot
hi i'm using 0.96.1 with newforms. I dont have any choice to upgrade to svn version but i should make a form to upload some photos. 0.96.1'newforms doesnt have that part, so how can i solve that problem also. And how can i learn which parts have changed from that version to svn one? --~--~-