Re: how to create bigint ?

2009-03-12 Thread Kegan Gan
I was just facing this 'requirement' a couple of days ago. I needed an Integer field that stores up to a hundred billion. Django's IntegerField get mapped as 32 bit field in PostgreSql, and just can represent integer over 2++ billion. (It worked on my development environment using sqlite though).

Re: FormSet max_num and extra

2009-03-15 Thread Kegan Gan
Ah, got it! Many thanks Malcolm. On Mar 16, 5:58 am, Malcolm Tredinnick wrote: > On Sun, 2009-03-15 at 04:25 -0700, Kegan wrote: > > I am dealing with formset, and finding the lack of documentation in > > understanding it. Hope anyone experienced with formset could help. > > At some point just

Re: django.contrib.auth tests fail

2009-05-14 Thread Kegan Gan
This could be related to ticket #10521 http://code.djangoproject.com/ticket/10521, which has been fixed. It's currently in the trunk already, since changeset http://code.djangoproject.com/changeset/10674 . ~KEGan On May 14, 12:36 am, Sean Brant wrote: > I am also having a issue with contrib.au

Re: Fwd: Best Django host

2009-05-20 Thread Kegan Gan
+1 for WebFaction. The control panel look+feel may looks weird, but the simplicity is just great and you get everything you need. The structure in your home directory is also sensible. Another plus for great technical support when you needed it. On May 20, 7:41 pm, Sam Kuper wrote: > 2009/5/2

Re: Euro DjangoCon Videos

2009-05-24 Thread Kegan Gan
+1 for the videos to be uploaded :) On May 24, 10:31 pm, Joshua Partogi wrote: > On May 24, 8:22 pm, giorgos wrote:> Hello to all, > > > Does anybody know if and where will Euro DjangoCon > > videos be > uploaded ?? > > There are many people out there interested in > Django and presentations >

Re: Revisit Django trunk and Python 2.6

2009-05-24 Thread Kegan Gan
Thanks! Time for the switch. On May 25, 2:09 am, Skylar Saveland wrote: > On May 24, 3:21 am, Kegan wrote: > > > I am always using Django trunk and Python 2.5.4. And having no > > problem. > > > I am thinking of switching to Python 2.6 (just to use latest python > > version). Anyone is already

Re: Expert

2009-05-24 Thread Kegan Gan
Dr.Attas, I have done this approximately 1 year ago. Took about 3-4 weeks to pick up enough Python, and another 3-4 weeks to be able to write a straight forward Django app. Follow the online tutorial and the Django Book. They are very very good to get started. You *can* write bad Django app, if

Re: dumpdata and loaddata as simple DB migration tool?

2009-06-03 Thread Kegan Gan
Hi Russell, On the first issue: Good point. I have not the opportunity to work with such a huge database. On the second issue: Yes, what I am doing now is really about writing conversion code to fit the old json to match the new schema. I find this to be quite straight forward for my use cases,

Re: Django deployment

2009-06-03 Thread Kegan Gan
This is how I did it. You have have a settings_default.py, which contains all the commons settings. In your development environment, you use settings.py that has this on the top ... from settings_defaults import * ... then you overwrite whatever setting variables that are needed for your develo

Performance monitoring

2009-12-09 Thread Kegan Gan
Hi, Google App Engine provides a rather extensive set of tools to monitor the performance of your applications running in App Engine. Is there something similar for Django? Thanks. -- You received this message because you are subscribed to the Google Groups "Django users" group. To post to thi

Re: Performance monitoring

2009-12-09 Thread Kegan Gan
Thanks for reply, Andy. I am aware of django-debug-toolbar. I am looking something to run with production. How do people monitor Django application performance in production environment today? Thanks. On Dec 10, 12:28 pm, Andy McKay wrote: > On 09-12-09 6:43 PM, Kegan Gan wrote: > >

Root url returning 302 FOUND

2009-12-17 Thread Kegan Gan
In my root urls.py I have the following: urlpatterns = patterns('', (r'^', include('story.urls')), ) In my story app, I have the following urls.py: urlpatterns = patterns('', url(r'^$', home_view, name='story-home'), url(r'^create/$', home_view, name='story-create'), ) Running on th

Re: Root url returning 302 FOUND

2009-12-20 Thread Kegan Gan
Anyone can shed some light to the matter? * Bring this post to the front. On Dec 18, 1:21 am, Kegan Gan wrote: > In myrooturls.py I have the following: > > urlpatterns = patterns('', >     (r'^', include('story.urls')), > ) > > In my story

Django 1.7 Final Status?

2014-06-15 Thread Kegan Gan
Hi, I realise that Django 1.7 is still in beta as of today. I have not been following very closely on the development. The roadmap indicate it should be final sometime in May 2014. What is the current status? Any updated release date? Thank you. -- You received this message because you are