Django GridContainers at Media Temple

2008-10-07 Thread Kegan
Wonder if anyone have had experience with the new Media Template Django GridContainer? http://mediatemple.net/webhosting/gs/django.html --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Django users" group. To post t

Re: Django GridContainers at Media Temple

2008-11-06 Thread Kegan
Anyone? On Oct 7, 5:04 pm, Kegan <[EMAIL PROTECTED]> wrote: > Wonder if anyone have had experience with the new Media Template > Django GridContainer? > > http://mediatemple.net/webhosting/gs/django.html --~--~-~--~~~---~--~~ You received this m

Re: Django and Python 2.6

2008-11-10 Thread Kegan
f you are on linux > though, you should have no problems. > > On Nov 10, 8:08 am, Kegan <[EMAIL PROTECTED]> wrote: > > > Hi, > > > If I start a new Django project today. Should I not be using Python > > 2.6 ? > > > I have read some threads here that ens

Django and Python 2.6

2008-11-10 Thread Kegan
Hi, If I start a new Django project today. Should I not be using Python 2.6 ? I have read some threads here that ensure Django 1.0+ have no problem with Python 2.6. However, is there any other reason you would discourage using of Python 2.6 (if you 'do' discourage) ? Example, inadequate 3rd part

Translation of type from urls to view

2009-02-17 Thread Kegan
I have the following urls: url(r'/id/(?P\d+)/$', process_view) and view: def process_view(request, id): Does the "id" in the view is automatic translated to int type? I seems to recall that was the case, with older version of Django (maybe I recall wrongly??). But not so with the tr

Re: Translation of type from urls to view

2009-02-17 Thread Kegan
Thanks! On Feb 18, 12:28 pm, Malcolm Tredinnick wrote: > On Tue, 2009-02-17 at 20:06 -0800, Kegan wrote: > > I have the following urls: > > >      url(r'/id/(?P\d+)/$', process_view) > > > and view: > > >      def process_view(request, id)

Re: Full-text search: what to use

2009-07-29 Thread Kegan
Any thoughts on using PostgreSQL built-in full text search ? On Jul 29, 5:49 pm, "dlvosse...@gmail.com" wrote: > I've recently adopted the use of xapian for full text search, via the > djapian django app which works like a charm. Xapian is written in C++ > with python bindings, and with the dja

FormSet max_num and extra

2009-03-15 Thread Kegan
I am dealing with formset, and finding the lack of documentation in understanding it. Hope anyone experienced with formset could help. What is the reason to have a "max_num" and "extra" argument when instantiating a form set (using formset_factory)? Can't you just use "max_num" to determine the n

Does fixtures loading invoke custom save method?

2009-04-13 Thread Kegan
I have a model with custom save() method. Does loading fixtures invoke this method? class MyModel(models.Model): def save(self, *args, **kwargs): doStuffs() >From my testing, doStuffs() is not called when loading fixtures. It is called when I do: instance = MyModel

Revisit Django trunk and Python 2.6

2009-05-24 Thread Kegan
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 doing this in development? production? Any problem? Thanks. --~--~-~--~~~---~--~~ You received t

Django 1.1 to be in future Google App Engine release

2009-06-02 Thread Kegan
Just for everyone information, I believe Guido just said that Django 1.1 will be in future Google App Engine release once it (Django 1.1) is out of beta. Looking forward to this Django 1.1 final! Link here: http://code.google.com/p/googleappengine/issues/detail?id=872&colspec=ID%20Type%20Status

dumpdata and loaddata as simple DB migration tool?

2009-06-02 Thread Kegan
Hi, About Django database migration. I know there's a couple of tools available (South, evolution, dmigration, etc), but I am pondering an alternative here. Hope good discussion entails. This is what I am doing manually now for my database migration needs. 1. Use Django's management command "du

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. > &g

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 is

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 >

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
d using the new model class with "manage loaddata". This is done on a per app basis (only for the app that needs the migration). On Jun 3, 2:57 pm, Russell Keith-Magee wrote: > On Wed, Jun 3, 2009 at 12:06 PM, Kegan wrote: > > > Hi, > > > About Django database mi

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

Django SECRET KEY

2020-11-04 Thread Kegan Ronholt
What is the best practice for hiding SECRET key in settings.py in production. I am finding all sorts of different ways to do it, but none seem to work. -- You received this message because you are subscribed to the Google Groups "Django users" group. To unsubscribe from this group and stop re