Re: i need a unlimited subcategories

2009-04-27 Thread Paul Nema
Modified Preorder Tree Traversal (mptt) http://code.google.com/p/django-mptt/ On Mon, Apr 27, 2009 at 9:52 AM, joker wrote: > > how can i use unlimited category? > > like > > category1 >subcategory1-1 > subcategory1-1-1 > subcategory1-1-2 > subcategory1-1-3 >

Newbie to Novice – Using Admin DateTime Picker in your Form

2009-03-19 Thread Paul Nema
I've noticed many people new to Django (and sometimes also new to Python) often post the same/similar questions in various forums. How to I get something to work and/or do you have an example for X. As I've also experienced this problem I've decided to post my little solution. Its not the only way

Re: getting started...with django

2009-03-04 Thread Paul Nema
After the tutorial and reading the docs, if you're the visual type, try these screencasts. Very helpful and illuminating. http://thisweekindjango.com/screencasts/?page=3 and http://showmedo.com/videos/django On Wed, Mar 4, 2009 at 11:58 AM, CLIFFORD ILKAY wrote: > mseg...@gmail.com wrote: > >

Re: Ignore Case Sensitive Property

2009-03-03 Thread Paul Nema
http://docs.djangoproject.com/en/dev/topics/db/queries/#topics-db-queries to do case insensitive try Application.objects.filter(name__iexact=searchText) iexact A case-insensitive match. So, the query: >>> Blog.objects.get(name__iexact="beatles blog") Would match a Blog titled "Beatles Blog", "

Re: Django nube

2009-02-26 Thread Paul Nema
The error message provides the answer: "Please fill out DATABASE_NAME in the settings module before using the database." When using sqlite3 you are required to provide a path the target DB as per comment: # Or path to database file if using sqlite3. so Add the full path to DATABASE_NAME. I.E. DAT

Re: Faster Database?

2009-02-25 Thread Paul Nema
One option is to create a new table that is a mirror of the target table except the new table should NOT have any of the keys enabled. Using a bulk load tool add the data to the new table. Then add the keys to the new table. Drop the old table and rename the new table to the original target tabl

Re: How can import the Widgets of Admin.

2009-02-07 Thread Paul Nema
How to I get the value from a class verbose_name in a models.Model based generic list? I.E. I want to use the value in a class element verbose_name for a table header Thanks --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google