Re: Users table

2010-10-24 Thread Tran Cao Thai
http://www.lightbird.net/dbe/index.html Very good for beginners On Mon, Oct 25, 2010 at 8:53 AM, Miguel Araujo wrote: > Hi, > Django has a built in User model, If you put in your INSTALLED_APPS > 'django.contrib.auth' you will activate Django's built-in user management > app. Then if you want to

Re: admin site not working, problem with urls.py?

2010-10-05 Thread Tran Cao Thai
hope this helps : http://botland.oebfare.com/logger/django/2009/2/14/15/ The conversation is very funny also :D On Wed, Oct 6, 2010 at 9:01 AM, Lisa wrote: > Hi all, > I'm sure I have a pretty simple problem... > here's my url.py file > > from django.conf.urls.defaults import * > > # Uncomme

Re: Vim for Python and Django

2010-09-26 Thread Tran Cao Thai
@flebber: try this http://tortoisehg.bitbucket.org/ On Mon, Sep 27, 2010 at 9:28 AM, Mathieu Leduc-Hamel wrote: > Anybody know of there's the same kind of resources for emacs ? > > On Sun, Sep 26, 2010 at 7:22 PM, flebber wrote: >> Do the instructions here http://code.google.com/p/trespams-vim/w

Re: Universal form

2010-09-24 Thread Tran Cao Thai
y page without logging in. > > See > http://www.mail-archive.com/django-develop...@googlegroups.com/msg06473.html > > <http://www.mail-archive.com/django-develop...@googlegroups.com/msg06473.html> > Nick > > On Fri, Sep 24, 2010 at 8:23 AM, Tran Cao Thai > wrote: &g

Re: Universal form

2010-09-24 Thread Tran Cao Thai
a little bit search ends up with django-annoying. Is there anyone using it ? which one is better ? On Sat, Sep 25, 2010 at 1:25 AM, Shawn Milochik wrote: > Context processors will do this for you. > > > http://docs.djangoproject.com/en/dev/ref/templates/api/#writing-your-own-context-processors >

Universal form

2010-09-24 Thread Tran Cao Thai
Hello all, I have a login form that should appear in every pages of the site. How can i create it from the views file ? Since every form is triggered by calling a function in the views file, do i have to create the form in every function? -- You received this message because you are subscribed t

Re: Recommend a book

2010-09-23 Thread Tran Cao Thai
Learning Website Development with Django: A be (ginner's tutorial to building web applications, quickly and cleanly, with the Django application framework ( *ISBN-13:* 978-1847193353) The only one django book that i like. Give the reader a comprehensive look for django framework (though it is about

Re: Django IDE

2010-07-18 Thread Tran Cao Thai
eclipse + pydev is terrible when running on Linux IMO. Everytime starting the server, cpu runs like a horse without any reason. For me, gedit is the best. It is light, fast and have appearance support,powerful snippet plugin, and multi tab terminal integration. What else do you expect more to code

Re: Django IDE

2010-07-17 Thread Tran Cao Thai
find them, use them and you will know the best On Sun, Jul 18, 2010 at 1:53 AM, Jitendra Joshi wrote: > What is the best open source Django IDE ? > > -- > You received this message because you are subscribed to the Google Groups > "Django users" group. > To post to this group, send email to djang

ModelChoiceField

2010-06-27 Thread Tran Cao Thai
hi all, i am trying to write auto populated select box by using jquery and ModelChoiceField. I have 2 variables cates and subcates, the first one take all the objects from the Category model, the second takes None object (Subcategory.objects.none ()). at first the html rendering is fine. When i sel

Re: PyConAU2010

2010-06-26 Thread Tran Cao Thai
What a pity! i live in Melbourne :((. Hope that i can join it some day On Sun, 2010-06-27 at 12:43 +1000, Peter Williams wrote: > Hi all > > PyConAu 2010, currently in progress in Sydney, Australia, is proving > very successful and informative. There have been several excellent > speakers wit

Re: ModelChoiceField

2010-06-25 Thread Tran Cao Thai
Thank you very much. I missed that part in the documentation On Fri, Jun 25, 2010 at 4:54 PM, Oleg Lomaka wrote: > On 6/25/10 8:25 AM, Tran Cao Thai wrote: > >> is there any way to use the ModelChoiceField without any value in it? I >> tried to set query = None but it g

ModelChoiceField

2010-06-24 Thread Tran Cao Thai
Hi all, is there any way to use the ModelChoiceField without any value in it? I tried to set query = None but it gave an error while rendering the html page -- You received this message because you are subscribed to the Google Groups "Django users" group. To post to this group, send email to dj

Re: About raw sql query

2010-06-24 Thread Tran Cao Thai
but it is only a simple query, why don't you use the query api (aggregate function...) On Fri, Jun 25, 2010 at 12:22 AM, Tom Evans wrote: > On Thu, Jun 24, 2010 at 3:02 PM, Jakir71 wrote: > > I will need the largest id of table infantregistration.I used raw() > > method such as InfantRegistrat

Re: Django-grappelli issue

2010-05-04 Thread Tran Cao Thai
It works. Thank you very much. On Mon, May 3, 2010 at 2:21 AM, Scot Hacker wrote: > On May 1, 10:12 pm, Tran Cao Thai wrote: > > I discovered the grappelli app today and just set up it. However, the > admin > > site doesn't look as good as the screenshot fro

Django-grappelli issue

2010-05-01 Thread Tran Cao Thai
I discovered the grappelli app today and just set up it. However, the admin site doesn't look as good as the screenshot from the site. Here is the screenshot of my admin page http://i979.photobucket.com/albums/ae280/jasonvoorheeszzz/Capture.png It looks like that on FF 3.5.9 and even worse on IE

Re: Django IDE

2010-02-15 Thread Tran Cao Thai
i used to use wingware for a while. It 's cool, fast but not free (i used the trial version). Stick with Eclipse + pydev for a while also. IMO, it 's the best, however, eclipse is always slow (because it 's a java application), and don't have the integrated terminal ( i know that there are some plu

Re: django and webcams

2010-01-24 Thread Tran Cao Thai
opencv ? On Sun, Jan 24, 2010 at 5:59 AM, H.İbrahim Yılmaz wrote: > Hi, > I'm looking for a method to use my webcam for take a photo in my > project. What is the best solution for that? > Thanks > > -- > http://www.arkeoloji.web.tr > > -- > You received this message because you are subscribed to

Re: Send and Receive SMS from a django app

2010-01-13 Thread Tran Cao Thai
Wow, there is an answer after 2 mins. This community really rocks :D On Wed, Jan 13, 2010 at 8:55 PM, Daniel Hilton wrote: > >     http://www.rapidsms.org/ > > > 2010/1/13 Alessandro Ronchi : >> Is it possible with linux and django to send and receive data from SMS from >> a django APP? Did an