Re: How to install Django on Windows - pip, command prompt.

2014-07-05 Thread Setiaman Lee
You can get and install python from activestate.com where pip is included. So you can run pip from command prompt. Rgrds Setiaman On 6 Jul 2014 11:44, "Sen" wrote: > I was going through >

Re: performance of delete

2013-04-24 Thread Setiaman Lee
then move the code to the Django. Rgrds, Setiaman Lee On Thu, Apr 25, 2013 at 8:12 AM, Larry Martell <larry.mart...@gmail.com>wrote: > I have a table that has 2.5 million rows and 9 columns that are all > int except for 2 varchar(255) - i.e. not that big of a table. I am > executing

Re: Hierarchy Model

2012-07-15 Thread Setiaman Lee
Hi All, It works by blocking it with the single quote. :) Thanks for the help. Cheers, Setiaman On Jul 16, 2012 2:44 AM, "yarko" wrote: > > > On Sunday, July 15, 2012 9:02:39 AM UTC-5, Setiaman wrote: >> >> Hi, >> >> I want to implement hierarchy data model which is quite

Hierarchy Model

2012-07-15 Thread Setiaman Lee
Hi, I want to implement hierarchy data model which is quite common in Relational Data Model. Let's say I have Employee model which has the relation to the boss which link to the employee model itself. It will look like this: class Employee(models.Model): empname =

Re:Handling millions of rows + large bulk processing (now 700+ mil rows)

2012-06-30 Thread Setiaman Lee
Hi Cal, Interesting topic. Count me in. On Jun 30, 2012 11:10 PM, "Cal Leeming [Simplicity Media Ltd]" < cal.leem...@simplicitymedialtd.co.uk> wrote: > Hi all, > > As some of you know, I did a live webcast last year (July 2011) on our LLG > project, which explained how we overcome some of the

Re: Send message to SMS Gateway

2012-06-23 Thread Setiaman Lee
distributor. Some distributor provide http protocol but they still recommend to use SMPP and I want to use Python/Django to interact with their server. You have give me some valuable information, especially RapidSMS. It looks cool. I need to research it first. Thanks guy. Cheers, Setiaman Lee On Sat

Re: Filtering ForeignKey Drop Down in Admin Interface

2012-04-12 Thread Setiaman Lee
Hi, Thanksit works like champion. Rgrds, Setiaman Lee On Wed, Apr 11, 2012 at 3:00 PM, Святослав Б <ad3w.in...@gmail.com> wrote: > Hi! > > Override ModelAdmin get_form() method and filter your field. > > class MyAdmin(admin.ModelAdmin): >     def get_form(self, req

Filtering ForeignKey Drop Down in Admin Interface

2012-04-11 Thread Setiaman Lee
that has been created by the login user? Rgrds, Setiaman Lee. -- 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-user