Re: HttpResponse.has_header

2013-05-12 Thread Masklinn
On 12 mai 2013, at 05:04, Larry Martell wrote: > On Sat, May 11, 2013 at 9:08 AM, Masklinn wrote: >> >> On 2013-05-11, at 17:01 , Larry Martell wrote: >> >>> On Sat, May 11, 2013 at 8:23 AM, Masklinn wrote: On 2013-05-11, at 15:57 , Larry Martell wrote: > > Yes, that is what I di

Yet Another NoReverseMatch Error

2013-05-12 Thread neil
I have an app within my project called popular_keywords. Within *urls.py* I have this: *urlpatterns = patterns("apps.popular_keywords.views",* * url("^%keyword/(?P.*)%s$" % _slashes, "matching_items_list", **name="matching_items")* *)* Within *views.py* I have this funct

Problems installing my first django app

2013-05-12 Thread lastripas records
I've followed the tutorial for building my first app on django. I run all the comands via ssh to my remote server. I make a directory on my server into 'public_html' default directory. Then on this folder I run the comand django-admin.py startproject mysite When I try to run the manage.py...it gi

Django and apache

2013-05-12 Thread Stanley Agba
Hello guys, please I'm kind of a noob at django and I'm trying to deploy a django site on Apache with mod_wsgi, I am not using a virtualenv as the server has python installed. I added the following to my /etc/apache2/apache2.conf ServerName example ServerAlias example ServerAdmin exa

Feed uploaded file into process

2013-05-12 Thread Torsten Bronger
Hallöchen! I want users to upload very large tar balls to my site. I think it is sensful to feed them to "tar -xzf" during the upload. Is this possible with Django? I think the standard way with iterating over chunks doesn't start before the whole file has been already stored on disk, does it?

Re: Django and apache

2013-05-12 Thread Branko Majic
On Sun, 12 May 2013 03:17:04 -0700 (PDT) Stanley Agba wrote: > Hello guys, > please I'm kind of a noob at django and I'm trying to deploy a django > site on Apache with mod_wsgi, I am not using a virtualenv as the > server has python installed. > I added the following to my /etc/apache2/apache2.

Re: Django and apache

2013-05-12 Thread Venkatraman S
What i am going to suggest is totally orthogonal to your requirement as i am not helping you with apace+mod_wsgi. Though this generally works, but i think you should consider nginx if you are thinking about new deployments or learning this skill. And the reasons why i suggest nginx? Well.. 1. extr

Re: Can I use Connector/Python instead of MySQLdb? And how?

2013-05-12 Thread Vernon D. Cole
The core developers are working on the problem as we speak. I would suggest using either another database engine or Python 2.7 until they get it going. I am guessing a few weeks, but that is only a guess. If you do use Python 2.7 be sure to follow the suggestions to write your code as 3.3 co

Re: Can I use Connector/Python instead of MySQLdb? And how?

2013-05-12 Thread Vernon D. Cole
On Saturday, May 11, 2013 7:43:40 PM UTC-6, icedr...@gmail.com wrote: > > I am using Python 3.3.1 and Django 1.5.1. MySQLdb doesn't support Python > 3, so I want to use Connector/Python instead. But I don't know how to do > this. > > Is it easy to do this? If it is, how can I do this? > > Thank

Re: Use different apps or not?

2013-05-12 Thread Philippe Schraepen
Thanks for the clarification! I'll definitely read the book! On Saturday, May 11, 2013 12:28:50 AM UTC, Lloyd Dube wrote: > > Hi Phillipe, > > I think that it really depends on how modular you would like your Django > project to be. Do you want the stats generation functionality to be > separat

Re: HttpResponse.has_header

2013-05-12 Thread Larry Martell
On Sun, May 12, 2013 at 1:07 AM, Masklinn wrote: > On 12 mai 2013, at 05:04, Larry Martell wrote: >> On Sat, May 11, 2013 at 9:08 AM, Masklinn wrote: >>> >>> On 2013-05-11, at 17:01 , Larry Martell wrote: >>> On Sat, May 11, 2013 at 8:23 AM, Masklinn wrote: > On 2013-05-11, at 15:57 ,

Re: HttpResponse.has_header

2013-05-12 Thread Larry Martell
On Sat, May 11, 2013 at 9:04 PM, Larry Martell wrote: > On Sat, May 11, 2013 at 9:08 AM, Masklinn wrote: >> >> On 2013-05-11, at 17:01 , Larry Martell wrote: >> >>> On Sat, May 11, 2013 at 8:23 AM, Masklinn wrote: On 2013-05-11, at 15:57 , Larry Martell wrote: > > Yes, that is what

Django 1.4.4 HttpResponseRedirect to a PUT causing a second PUT?

2013-05-12 Thread John
I have an endpoint for renaming an object. After the update occurs, the view function returns an HttpResponseRedirect to redirect the client to the restful endpoint now representing that object (since it has been renamed). The update is a PUT. I expect the 302 redirect to cause my browser to i

Re: Django and apache

2013-05-12 Thread Stanley Agba
Thanks Guys, The server is up and running with mod_wsgi, tho the admin page is not loading with the static files. I have added this to my apache.conf file: Alias /static/admin /usr/lib/python2.7/dist-packages/django/contrib/admin/static/admin Kind of stuck after this On Sunday, 12 May 2013 11

Re: Django and apache

2013-05-12 Thread Venkatraman S
Set STATIC_ROOT in your settings.py and run 'collectstatic'. You need not mention in your /static/admin /usr/lib/python2.7/dist-packages/django/contrib/admin/static/admin in your apache conf then. On Mon, May 13, 2013 at 7:16 AM, Stanley Agba wrote: > Thanks Guys, > The server is up and running w

Re: Problems installing my first django app

2013-05-12 Thread gilberto dos santos alves
use command whereis django-admin.py (ubuntu, fedora, centos etc) put this on folder /usr/local/bin. if whereis result not found use another command: find / -iname 'django-admin*'and you will see all files that begin with django-admin (* is coringa) Em domingo, 12 de maio de 2013 05h59min29s

A question about using django compressor with CDN

2013-05-12 Thread Vineet Naik
Hello, I have a question about the django_compressor[1] app. Sorry if this violates the rules of the mailing list but after asking the question on github issues section and not receiving any reply, I think may be someone who is using django_compressor can help me here. I am trying out django_comp