Re: Django IRC & sqlite3 .schema

2013-02-25 Thread Bulkan
Hi Dorian, To join the #django channel on freenode you need to use a nick that has been registered with NickServ [1] For your real question, how are you unsuccessful in running that command ? Can you please give a bit more info on what you're doing ? Is there any error output etc. Cheers [1] -

Django IRC & sqlite3 .schema

2013-02-25 Thread Dorian Kiss
Hi. I have some issues here which I'm hoping you will be able to help me with, Firstly, I tried to get into the Django IRC @freenote.net but I get the message: #Django Cannot join channel (+r) - you need to be identified with services. Secondly(and the reason I wanted to enter the IRC on this

Re: HTML5 Offline apps with Django 1.4

2013-02-25 Thread Ranjith Chaz
Thanks for the reply, Russell. I had tried it already. What I get when I do this is, the html source instead of the web page. That is, the complete html code gets printed out in the browser and it happens in all browsers irrespective of mobile, desktop. On Thursday, February 21, 2013 1:08:16 P

Re: CommonMiddleware doubt

2013-02-25 Thread Odagi
Thanks for your answer. I made my own research and seem to be OK to remove trailing slashes, Google do it in some of their sites ;) The recommendation is: 1. choose one option for canonical URLs option a. http://www.domain.com/resource option b.http://www.domain.com/resource/ 2. The

Re: Impossible? Django with NTLM SSO auth on windows?

2013-02-25 Thread Branko Majic
On Mon, 25 Feb 2013 21:06:33 +0100 Anton wrote: > Hi, > > I am using my django in the following way: > > OS: Windows 7 (64 bit) > > + Python 2.7.3 (32bit) > > + apache 2.4.3 (32 bit) from apachelounge >(I use the version which was build with vs2008 like python 2.7.3) > http://www.a

Impossible? Django with NTLM SSO auth on windows?

2013-02-25 Thread Anton
Hi, I am using my django in the following way: OS: Windows 7 (64 bit) + Python 2.7.3 (32bit) + apache 2.4.3 (32 bit) from apachelounge (I use the version which was build with vs2008 like python 2.7.3) http://www.apachelounge.com/download/win32/binaries/httpd-2.4.3-win32- VC9.zip + d

Re: Multi Client Django System

2013-02-25 Thread Subodh Nijsure
Could - Django multitenant cold possibly help you? https://pypi.python.org/pypi/django-simple-multitenant -Subodh On Fri, Feb 22, 2013 at 7:43 PM, Delcio Torres wrote: > Dear Sirs, > > Maybe this is a concept question, but here we go. > > I'm doing test development to learn django and using ad

Re: Possible bug with Form Wizard and condition_dict?

2013-02-25 Thread Michael Stefaniak
I'm seeing a similar error and can't figure it out. In a function I'm using to decide whether to show a step or not. def show_step(wizard): # try to get the cleaned data of step 1 cleaned_data = wizard.get_cleaned_data_for_step('initial_config') or {} return wizard.steps.current in cl

Web hosting control panel for Django projects

2013-02-25 Thread Francesco Facconi
Hello everybody. I am searching for a Web Hosting Control Panel that allows me to have Django projects. It would be nice if it is an open source project. I have looked on the Wikipedia comparison page http://en.wikipedia.org/wiki/Comparison_of_web_hosting_control_panels but I have not found a

Persist toggle (show/hide) state when form is submitted using window.localStorage

2013-02-25 Thread Max Demars
Hello, I have a form that use the collapse.js of django admin (outiste django admin). I would like to persist the show/hide fieldsets state when the form is submitted. According to this question

Re: how to evaluate "cities/countries of the world" static table for an application.

2013-02-25 Thread Tom Evans
On Mon, Feb 25, 2013 at 12:47 PM, Johan ter Beest wrote: > > On Feb 25, 2013, at 8:05 AM, Fatih Tiryakioglu wrote: > > Hello all, > > Is there any shortcut for evaluating such a database table, or should I > collect myself all this information. Please help. If you prefer a package > which one do

Re: CommonMiddleware doubt

2013-02-25 Thread Bill Freeman
You can make your own middleware. That's not a big deal, and you can start with a clone of the existing middleware. Do investigate what reverse and the url template tag are going to do with these views. I don't see any reason that you shouldn't remove trailing slashes, but someone else may have

Re: how to evaluate "cities/countries of the world" static table for an application.

2013-02-25 Thread Johan ter Beest
On Feb 25, 2013, at 8:05 AM, Fatih Tiryakioglu wrote: > Hello all, > > Is there any shortcut for evaluating such a database table, or should I > collect myself all this information. Please help. If you prefer a package > which one do you prefer, or all of them is workable. This should give y

Re: how to evaluate "cities/countries of the world" static table for an application.

2013-02-25 Thread Rafael E. Ferrero
http://en.wikipedia.org/wiki/Cities_of_present-day_nations_and_states Maybe this help !! 2013/2/25 Rafael E. Ferrero > If these doesnt exist i think that its a great idea to develop an open > data base for store that info. > > Just my opinion! > > See ya! > > > 2013/2/25 Fatih Tiryakioglu > >>

Re: how to evaluate "cities/countries of the world" static table for an application.

2013-02-25 Thread Rafael E. Ferrero
If these doesnt exist i think that its a great idea to develop an open data base for store that info. Just my opinion! See ya! 2013/2/25 Fatih Tiryakioglu > Hello all, > > Is there any shortcut for evaluating such a database table, or should I > collect myself all this information. Please help

Re: Multi Client Django System

2013-02-25 Thread Frank Bieniek
We achived the second level auth, by tying an extended group to a company, all company members are part of this group, so we can leverage the normal auth mechanismen. Hope this gives you an idea. Thanks Frank class CompanyManager(models.Manager): filter_by_user_limit_field = None def

Re: how to use static in development with PyCharm?

2013-02-25 Thread W.
Hi, I know it may not be direct answer for your question, but try to avoid of hard defined paths. http://lincolnloop.com/django-best-practices/projects.html Handling File Paths One function of your settings is to tell Django where to find things such as your static media and templates. Most