Re: Gunicor + Postgres + Python 3

2014-03-09 Thread Nick Santos
Hey Henrique, Can you send the code for the view that generates the page? -Nick On Sun, Mar 9, 2014 at 9:14 PM, Henrique Oliveira < henriqueollive...@gmail.com> wrote: > Hi there, > > I have set Django + gunicorn + python 3 in a production env, but I am > gettin

Gunicor + Postgres + Python 3

2014-03-09 Thread Henrique Oliveira
Hi there, I have set Django + gunicorn + python 3 in a production env, but I am gettin critical timeout on simple request(home). Any Ideas? 14-03-09 23:11:21 [14029] [INFO] Listening at: http://127.0.0.1:8001 (14029) 2014-03-09 23:11:21 [14029] [INFO] Using worker: sync 2014-03-09 23:11:21

Looking for direction on some admin console customization.

2014-03-09 Thread Dennis Marwood
My goal is to be able to build a new blog entry via the admin console that is comprised of text, image slider, and video models. I would choose to create a new blog entry and then add a text model, a video model, and another text model, or something like that. Each blog entry could be unique

Django-Associations v0.1.7 Released.

2014-03-09 Thread Pronoy Chopra
Hello! I have finally launched Django-Associations 0.1.7 today after a month of work. For those of you who don't know what it is, here's a short summary of how DA can help you in your development process. When working on a View, the common method of debugging or back tracing an issue is

Re: tutorial part3 : polls didn't match URL patterns

2014-03-09 Thread frankel . nathan
AJ NOURI, I had the exact same issue. The trick for me was to edit the existing file at mysite/mysite/urls.py. I had previously created a new file at mysite/urls.py (one directory up). The code from the tutorial works for me now that I have it in the proper directory. Your message was from

Re: Trying to set up hashed versioning in Django for static files

2014-03-09 Thread Vernon Burt
I suppose that's my confusion - before this, each application directory had it's own /static/ directory with /css/, /js/ and /img/ directories as needed. I adjusted the settings as mentioned and tried the following: DEBUG = False PROJECT_PATH = os.path.dirname(os.path.abspath(__file__))

Re: problem with integrating bootstrap 3.1.1 and django 1.6

2014-03-09 Thread rafiee.nima
On Sunday, March 9, 2014 10:29:37 PM UTC+3:30, Camilo Torres wrote: > > On Sunday, March 9, 2014 12:11:11 PM UTC-4:30, rafiee.nima wrote: >> >> I am new to bootstarp and I want to use it in my django project. >> I put the needed folder's(css , js , img) in my project static folder and >> config

Re: DDT not showing

2014-03-09 Thread Aiden
Yep debug_toolbar is installed, as is the middleware On Sunday, 9 March 2014 19:17:41 UTC, Nick Santos wrote: > > Since you didn't say that you have - did you add it to your INSTALLED_APPS? > > -Nick > > > On Sun, Mar 9, 2014 at 12:03 PM, Aiden wrote: > >> Hi all, >> >>

Re: DDT not showing

2014-03-09 Thread Nick Santos
Since you didn't say that you have - did you add it to your INSTALLED_APPS? -Nick On Sun, Mar 9, 2014 at 12:03 PM, Aiden wrote: > Hi all, > > Banging my head against a wall trying everything to get DDT to appear > using Gunicorn+nginx > I have the

DDT not showing

2014-03-09 Thread Aiden
Hi all, Banging my head against a wall trying everything to get DDT to appear using Gunicorn+nginx I have the following: DEBUG = True TEMPLATE_DEBUG = True SHOW_TOOLBAR_CALLBACK = lambda x: True DEBUG_TOOLBAR_PATCH_SETTINGS = False along with the URL settings for __debug__ in my urls.conf. The

Re: problem with integrating bootstrap 3.1.1 and django 1.6

2014-03-09 Thread Camilo Torres
On Sunday, March 9, 2014 12:11:11 PM UTC-4:30, rafiee.nima wrote: > > I am new to bootstarp and I want to use it in my django project. > I put the needed folder's(css , js , img) in my project static folder and > config my setting.py to access static directory > I can access bootstrap.css from

Bug using transactions in Django 1.6.2 and gunicorn with gevent

2014-03-09 Thread tapan pandita
We ran into this bug in our production system and spent hours debugging it and we have our results. Looks like this is quite a major bug, at least for us. When we start our application on gunicorn, it spawns workers. Every request coming to the same worker uses the same django DatabaseWrapper

problem with integrating bootstrap 3.1.1 and django 1.6

2014-03-09 Thread rafiee.nima
hi I am new to bootstarp and I want to use it in my django project. I put the needed folder's(css , js , img) in my project static folder and config my setting.py to access static directory I can access bootstrap.css from http:///..myprojecet/static/bootstrap.css which means I correctly config

Re: Dreamhost for Django hosting.

2014-03-09 Thread Dan Gentry
I've had good luck hosting an app with a Dreamhost shared hosting account. I even wrote a post about it a couple of years ago. (Maybe I should update it for 2014) http://dashdrum.com/blog/2011/08/django-on-dreamhost/ On Saturday, March 8, 2014 11:53:54 PM UTC-5, Chen Xu wrote: > > I am

Re: [newbie] BASE_DIR vs. SETTINGS_DIR

2014-03-09 Thread David
Dear Russell, thanks -- brilliant advice! Greetings from Copenhagen, David On 09/03/14 01:10, Russell Keith-Magee wrote: > > On Sun, Mar 9, 2014 at 5:09 AM, David > wrote: > > Dear list, > > I follow >