Re: Python +django

2019-09-09 Thread Hani Fanous
Must admit I agree. With text you can at least try things out as you go and attempt to debug problems. With video this is almost impossible. Hani > On Sep 9, 2019, at 7:57 AM, o1bigtenor wrote: > >> On Mon, Sep 9, 2019 at 6:33 AM selim atmaca wrote: >> >> You sh

Do not open any file from me that contains a pdf

2011-12-21 Thread Hani Musallam
My account was hacked. If you are not expecting a pdf from me, do not open the file. The email may have subject regarding a report of some kind. Please ignore. My apologies to all. Hani -- You received this message because you are subscribed to the Google Groups "Django users" grou

Re: Django Hosting Survey

2008-10-08 Thread Hani
Happy Webfaction user here. :) On Oct 6, 1:30 pm, Jeff <[EMAIL PROTECTED]> wrote: > I am about to begin a new Django project and I am currently evaluating > hosting options. I know there has been a number of discussions on this > topic, and I have read most of them. However, seeing how quickly >

accessing an attribute for the first item in a template context

2008-07-16 Thread Hani
ntuitive. I should be able to just explicitly grab the first item and access it's attributes in the template. Is there a better way? How do I do this? Thanks, Hani --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups

Re: help request using python_twitter api with django and errno 25

2008-06-28 Thread Hani
Hi James, Thanks. Perfect response and very helpful. Greatly appreciate it. Hani On Jun 28, 1:03 am, "James Bennett" <[EMAIL PROTECTED]> wrote: > On Fri, Jun 27, 2008 at 11:02 PM, Hani <[EMAIL PROTECTED]> wrote: > > My questions are: > > 1. can anyone ex

help request using python_twitter api with django and errno 25

2008-06-27 Thread Hani
ave to use the patch, could someone provide easy to follow steps for me to apply it (absolutely no clue here)? Thanks tons in advance, Hani --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Django users" grou

Re: pull a random record from the database

2007-11-10 Thread Hani Musallam
would then be able to access the random book object from anywhere. What do you think? Regadless, thanks very much for your help on this. (btw, I have read your blog and its cool.) Hani On Nov 10, 2007 12:03 AM, James Bennett <[EMAIL PROTECTED]> wrote: > > On Nov 9, 2007 10:32 PM,

Re: pull a random record from the database

2007-11-09 Thread Hani
Loren, Kenneth and Joe, Thanks for your response. I'm going to try your code and see. Thanks, Hani On Nov 9, 8:21 pm, Kenneth Gonsalves <[EMAIL PROTECTED]> wrote: > On 10-Nov-07, at 12:56 AM, LorenDavie wrote: > > > import random > > Book.objects.all()[random.ran

Re: pull a random record from the database

2007-11-09 Thread Hani
nd is the info you provided earlier what I need and I just am not getting it? Thanks, Hani On Nov 9, 2:25 pm, "James Bennett" <[EMAIL PROTECTED]> wrote: > On Nov 9, 2007 1:00 PM, Hani <[EMAIL PROTECTED]> wrote: > > > I did go through the API documentation but

Re: pull a random record from the database

2007-11-09 Thread Hani
. :) On Nov 9, 1:46 pm, "James Bennett" <[EMAIL PROTECTED]> wrote: > On Nov 9, 2007 12:44 PM, Hani <[EMAIL PROTECTED]> wrote: > > > What I would like to do is create a method to the model, say > > random_id, so that object.random_id will access a random ins

pull a random record from the database

2007-11-09 Thread Hani
or a manager in models.py? Obviously a newbie is asking so please excuse the lack of clarity. Thanks, Hani --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Django users" group. To post to this group, sen

Re: model help for a newbie

2007-10-29 Thread Hani
tful reply but also for pointing me to where to look stuff up in the online docs. Hani On Oct 27, 9:41 pm, Malcolm Tredinnick <[EMAIL PROTECTED]> wrote: > On Sun, 2007-10-28 at 01:15 +, Hani wrote: > > Hi, > > A complete and utter newbie seeks help. > > > I hav

model help for a newbie

2007-10-27 Thread Hani
Hi, A complete and utter newbie seeks help. I have a model Beer with another model called TastingNotes tied via foreign key to the Beer table. models.py class Beer(models.Model): beer=models.CharField(max_length=50, core=True) def __unicode__(self): return self.