Re: Web services.

2012-05-02 Thread Sherif Shehab Aldin
On Fri, Apr 27, 2012 at 11:02 AM, Tom Evans <tevans...@googlemail.com>wrote: > On Thu, Apr 26, 2012 at 4:20 PM, Sherif Shehab Aldin > <silentqu...@gmail.com> wrote: > > Hi All, > > > > I am developing some django apps, mostly they are adds to the django > a

Web services.

2012-04-26 Thread Sherif Shehab Aldin
Hi All, I am developing some django apps, mostly they are adds to the django admin interface... What I need to do a lot is adding some Ajax calls, but I am a bit confused about weather It's better to provide those Ajax calls as web services like SOAP or REST, or I just create normal views.. I

Re: This Week In History

2012-01-05 Thread Sherif Shehab Aldin
You can generate a random number for the year, random number for the day, and query with them. Regards, Sherif. On Thu, Jan 5, 2012 at 10:14 PM, Tim Sawyer wrote: > Hi Folks, > > Does anyone have a strategy for selecting from a database where the date > is this week,

Re: Django daemon

2011-06-09 Thread Sherif Shehab Aldin
Alright, I think now I know what to do ;-) Thanks everyone who tried to help :-) On Thu, Jun 9, 2011 at 3:14 PM, Shawn Milochik <sh...@milochik.com> wrote: > On 06/09/2011 07:50 AM, Sherif Shehab Aldin wrote: > >> Actually that's what am doing, am saving the fi

Re: Django daemon

2011-06-09 Thread Sherif Shehab Aldin
Actually that's what am doing, am saving the files with timestamp, The question is, do I create a daemon to check the dir and process new files in order, and if that's the best practice, how do I use Django environment in the daemon so I can import the models?? On Thu, Jun 9, 2011 at 1:46 PM,

Django daemon

2011-06-09 Thread Sherif Shehab Aldin
Hi all, I need your suggestions regarding the following. I have a Django app, with custom command that runs throw cron and it grabs files from some servers, those files holds data that needs to be inserted into Django models. I can't make the Django command to read the files and insert the data