Re: save data using checkbox click an input

2013-06-02 Thread roopasingh250
Hi, I agree that the logic is duplicated, I corrected in views. I used that line to render the parent element and below the corresponding parent element their respective child element should come to display.That logic worked for me.I am updating my new template here,the view code is same,n

Re: how to import excel file into django models?

2013-06-02 Thread Derek
Just a small clarification - xlrd runs on both Windows and Linux and would be the recommended way to go here. Otherwise I agree with Vernon - create a base xlrd_reader class, to handle generic reading and data checking, and then have model-specific routines that handle assignment of data to spe

Re: django , python and ides

2013-06-02 Thread Sergiy Khohlov
emacs + few plugin. For me it is a better choise Many thanks, Serge On Sun, Jun 2, 2013 at 12:01 AM, Doug Snyder wrote: > Hey I just ran into a new opensource Python IDE that looks interesting > that wasn't around when I commited to Aptana > Ninja-ide > http://www.ninja-ide.org/ > review at:

Re: Help! Where is the rest part in url?

2013-06-02 Thread 曹亚文
Thanks for your reply. "fragment part" is an import trail for me. 在 2013年6月3日星期一UTC+8上午10时51分09秒,Javier Guerra写道: > > On Sun, Jun 2, 2013 at 9:41 PM, 曹亚文 > > wrote: > > I have a url like this "http://abcde.com/data/#p1=123&p2=456";. How to > get > > the 'p1' and 'p2'? > > I have spend over 4

Re: Help! Where is the rest part in url?

2013-06-02 Thread Javier Guerra Giraldez
On Sun, Jun 2, 2013 at 9:41 PM, 曹亚文 wrote: > I have a url like this "http://abcde.com/data/#p1=123&p2=456";. How to get > the 'p1' and 'p2'? > I have spend over 4 hours on it. Be ware, not ".../?p1...", but ".../#p1..." it's called the "fragment part", it identifies a fragment of a resource. bro

Help! Where is the rest part in url?

2013-06-02 Thread 曹亚文
Hi, I have a url like this "http://abcde.com/data/#p1=123&p2=456";. How to get the 'p1' and 'p2'? I have spend over 4 hours on it. Be ware, not ".../?p1...", but ".../#p1..." Thanks very much. -- You received this message because you are subscribed to the Google Groups "Django users" group. T

Re: ROOT_URLCONF = 'mysite.urls' : SyntaxError: invalid syntax

2013-06-02 Thread Drew Ferguson
On Sun, 2 Jun 2013 13:51:26 -0700 (PDT) "William T. Schultz" wrote: > Hello, > > I have been going through the Django first app tutorial with success > until I received the message, "File > "/Users/williamtschultz/mysite/mysite/settings.py", line 104 > ROOT_URLCONF = 'mysite.urls' : SyntaxError

ROOT_URLCONF = 'mysite.urls' : SyntaxError: invalid syntax

2013-06-02 Thread William T. Schultz
Hello, I have been going through the Django first app tutorial with success until I received the message, "File "/Users/williamtschultz/mysite/mysite/settings.py", line 104 ROOT_URLCONF = 'mysite.urls' : SyntaxError: invalid syntax" in Terminal after I enter "python mysite/manage.py". I have c

Re: how to import excel file into django models?

2013-06-02 Thread Vernon D. Cole
I have used two methods -- one works only on Windows, the other is cross platform -- and you have said nothing about your application so it is hard to advise... If you know Windows and SQL -- then use adobapi and open the spreadsheet as a table (see examples at http://sourceforge.net/projects/a

python manage.py syncdb (using mysql database)

2013-06-02 Thread lordkyoshi2
Hello I try to create a polls from Django first tutorial https://docs.djangoproject.com/en/1.5/intro/tutorial01/ but im blocked on syncdb if i choose on my settings the mysql, nothing happen, but if i take sqlite3 it create the base The prompt just stay on, as if i need to enter some inputs. I

app_label is not set properly when models are a package

2013-06-02 Thread Miroslav Shubernetskiy
Hi. I have this concern. As suggested before filing an issue, I want to get some community response. When all app models are stored within models module (models.py), the app_label is properly assigned the actual app name. This however does not work as expected when models are moved to their own

Re: Admin for proxy model for custom User

2013-06-02 Thread Tomas Neme
The docs say this has changed to get_queryset in dev version, 1.5 uses get_query_set isn't this a rather.. radical change? Is backwards compatibility maintained somehow? On Sun, Jun 2, 2013 at 12:40 PM, Tomas Neme wrote: > django.db.models.manager, L118 > > it seems to be "get_query_set" not "ge

Re: Admin for proxy model for custom User

2013-06-02 Thread Tomas Neme
django.db.models.manager, L118 it seems to be "get_query_set" not "get_queryset" -- 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-users+unsubscr...@google

Re: Deployment Conundrum

2013-06-02 Thread Russell Keith-Magee
On Sun, Jun 2, 2013 at 3:37 PM, Daniel Braun wrote: > Hello, > I'm working in a non-profit organization. It's a design archive and > research institute based in Israel. > We're developing (me actually, the only developer) a Django website to > replace our ASP/MS-Access horrible system. > > To the

Deployment Conundrum

2013-06-02 Thread Daniel Braun
Hello, I'm working in a non-profit organization. It's a design archive and research institute based in Israel. We're developing (me actually, the only developer) a Django website to replace our ASP/MS-Access horrible system. To the point - the only server I am allocated by the IT department is a