Re: Django

2014-04-19 Thread Srinivasulu Reddy
Hello mark, I got suggestion what you all mention was great to me. I did poll application and have some basic view on django, but thing I have to mention here is there are so many module how learn all these in effective way. Like for example take 'django.templates' , it contai

Re: Django

2014-04-19 Thread Mario Gudelj
Two scoops is not a beginner's book. Start with tutorials. The one on django site is a must, but there are lots of other tuts as well on the net. Tango with django is a good one. Also django book is awesome resource although somewhat outdated now. But I'd read first 7 chapters anyway On 20/04/2014

Re: Please help me out, I tried to get sync for whole day @@

2014-04-19 Thread Mike Dewhirst
On 20/04/2014 1:11 AM, Toan ComS wrote: DATABASES = { 'default': { 'ENGINE': 'django.db.backends.sqlite3', #'NAME': 'mysite'), 'NAME': 'mysite', } } Is it wrong? I think so. Try removing the parens afte 'mysite' -

Re: Please help me out, I tried to get sync for whole day @@

2014-04-19 Thread voger
If there is a space in front of DATABASES then yes it is wrong. Python doesn't forgive lousy indentation On 04/19/2014 06:11 PM, Toan ComS wrote: DATABASES = { 'default': { 'ENGINE': 'django.db.backends.sqlite3', 'NAME': 'mysite'), } } Is

Re: Please help me out, I tried to get sync for whole day @@

2014-04-19 Thread Toan ComS
> DATABASES = { > 'default': { > 'ENGINE': 'django.db.backends.sqlite3', > 'NAME': 'mysite'), > } > } > Is it wrong? -- You received this message because you are subscribed to the Google Groups "Django users" group. To unsubscribe from this group and stop receiving

Re: Django

2014-04-19 Thread John DeRosa
On Apr 19, 2014, at 8:02 AM, Mark Phillips wrote: > "Two Scoops of Django" is also very good. > > +1 for TSoD. Super book! -- You received this message because you are subscribed to the Google Groups "Django users" group. To unsubscribe from this group and stop receiving emails from it, se

Re: Django

2014-04-19 Thread Mark Phillips
"Two Scoops of Django" is also very good. I would suggest following the tutorial from start to finish and build the poll app. This will give you a hands on over view of the basics. After the poll app, come up with a project of your own and start building it. Use a virtual environment, git, south,

Re: Django

2014-04-19 Thread François Schiettecatte
The tutorial on the django site is very good, and there is a wealth of documentation. That is how I learnt django. And the OReilly books for python are great, as is Dive Into Python by Pilgrim. François On Apr 19, 2014, at 2:07 AM, Srinivasulu Reddy wrote: > > Hello folks, >

Re: Please help me out, I tried to get sync for whole day @@

2014-04-19 Thread voger
There it says "unexpected indent" and points to the DATABASES in your settings.py. Check to see if it is indented properly. On 04/19/2014 05:02 PM, Toan ComS wrote: -- You received this mes

Re: Please help me out, I tried to get sync for whole day @@

2014-04-19 Thread Andrew Farrell
This looks like you have an index error in your settings.py file. Probably an extra space at the start of line 58. If you run python settings.py, you probably get the same error. On Sat, Apr 19, 2014 at 10:02 AM, Toan ComS wrote: >

Please help me out, I tried to get sync for whole day @@

2014-04-19 Thread Toan ComS
-- You received this message because you are subscribed to the Google Groups "Django users" group. To unsubscribe from this group and stop receiving emails from it, send an email to django-

windows service for django debug server

2014-04-19 Thread Mark Mikofski
I know this is a bad idea, but in case anyone was looking for a windows service for the django debug server (runserver.py) here is a hack ported from Trac: http://poquitopicante.blogspot.com/2014/04/django-debug-server-windows-service.html It depends on Mark Hammond's PyWin32 (http://sourcefor

Django

2014-04-19 Thread Srinivasulu Reddy
Hello folks, I am new to python/django . i am earning myself i want to know effective way of learning python / django . i am following django book for django . Light bird apps also. So please anyone can help me to find the good way learn the python / django . I love to learn

How to use custom widgets with dojango?

2014-04-19 Thread voger
I want to move my project from jquery to dojo toolkit and I see that there is a dojango project that integrates dojo with django. The instructions are simple enough and I already managed to run the sample project provided. Unfortunately I need to use some custom dojo widgets that I already have

Production django server : NoReverseMatch: Reverse for 'login' with arguments '()' and keyword arguments '{}' not found.

2014-04-19 Thread 董健
i got NoReverseMatch when deloy cartridge to the webfaction. i can not not figure out what happened. the problem annoyed me for two days. any help will be precious. below it is the whole debug information. mod_wsgi (pid=4764): Exception occurred processing WSGI script '/home/victoria88/web

URL variables failed to be found from POST

2014-04-19 Thread nobody
Hi, I set up an URL when cliking a submit button, I got http://myhost.com/user/?userid=5987. If it is a REQEST, I can get useid = request.GET['userid']. But in POST, I could not get the variable from the POST, I could not even find the variable in POST, the following check userid in request.PO

POST URL questions

2014-04-19 Thread nobody
Hi, I set up an URL when cliking a submit button, I got http://myhost.com/user/?userid=5987. In REQEST, I can get useid = request.GET['userid'], but in POST, I could not get the variable from the POST: if userid in request.POST userid = request.POST.get("userid", "") Despite the userid=59