Django Development Server and Chrome - autorefresh

2015-09-21 Thread Hari Mahadevan
Hi, I created a chrome extension that along with a custom django app automatically refreshes a Chrome browser page whenever the Django development server detects file change and reloads itself. I have been using this for a couple of months now and find it indispensable as I use VIM for Django

IntegrityError : AUTH_USER DJango 1.8

2015-09-21 Thread Jose Paul
Daer All, I am trying to run DJango 1.8 test cases . I am getting several IntegrityError error on AUTH_USER table . SQL generated by test case INSERT INTO "AUTH_USER" ("PASSWORD", "LAST_LOGIN", "IS_SUPERUSER", "USERNAME", "FIRST_NAME", "LAST_NAME", "EMAIL", "IS_STAFF", "IS_ACTIVE", "DATE_J

regarding SESSION_COOKIE_DOMAIN

2015-09-21 Thread Bharat Perumalla
Hi I am trying to use single-sign-on with sub domains. I configured SESSION_COOKIE_DOMAIN in django settings as ".cvbn.com" for all websites. I configured Apache with below configuration Header set Access-Control-Allow-Origin * Header set Access-Control-Allow-Credentials: "true"

DJango 1.8 test case fails with IntegrityError error

2015-09-21 Thread Jose Paul
I am trying to run DJango 1.8 test cases with DB2 Several insert statement fails Here is the insert command generated by test case. INSERT INTO "AUTH_USER" ("PASSWORD", "LAST_LOGIN", "IS_SUPERUSER", "USERNAME", "FIRST_NAME", "LAST_NAME", "EMAIL", "IS_STAFF", "IS_ACTIVE", "DATE_JOINED") VALUES

Re: DJango 1.8 test case fails with IntegrityError error

2015-09-21 Thread Jose Paul
Please see the call stack too ,for one of the error "C:\Users\IBM_ADMIN\PythonWorkspace\DJangoTestCases\src\DJangoTestCases\tests\admin_filters\tests.py", line 229, in setUp self.alfred = User.objects.create_user('alfred', 'alf...@example.com') File "C:\Python27\lib\site-packages\django\con

Re: DJango 1.8 test case fails with IntegrityError error

2015-09-21 Thread Simon Charette
Hi Jose, I looks like ibm_db_django doesn't support Django 1.6+ yet . Simon Le lundi 21 septembre 2015 07:14:39 UTC-4, Jose Paul a écrit : > > I am trying to run DJango 1.8 test cases with DB2 > > Several insert statement fails > > Here is the inser

Django was present in FSD in Costa Rica

2015-09-21 Thread Luis Zárate
Hello everyone. The past week was the Free software day here in Costa Rica (Yes, It was a week of FSD's because it was in different days in different cities), we had 5 different events for this day in different cities. As part of our effort for introduce Django in this country I imparted two lectu

Re: Django was present in FSD in Costa Rica

2015-09-21 Thread Rafael E. Ferrero
BUENÍSIMO LUIS!!! EXCELENTE INICIATIVA!!! Muchos exitos para tí y para Django en Costa Rica Saludos, Rafael Ferrero (desde Argentina) -- Rafael E. Ferrero 2015-09-21 17:21 GMT-03:00 Luis Zárate : > Hello everyone. > > The past week was the Free software day here in Costa Rica (Yes, It was a >

Re: Best way to trigger javascript function when returning a page from django view

2015-09-21 Thread Martín Torre Castro
I'm looking soon which cases don't return the form filled with data, but I've just tested and we have one that validates, but doesn't return the data fields filled. Maybe we're doing something wrong. I'm investigating. On 21 September 2015 at 04:11, Vijay Khemlani wrote: > "It's true that when

Re: Django was present in FSD in Costa Rica

2015-09-21 Thread Vijay Khemlani
Felicitaciones desde Chile también, y espero que más gente por allá se interese en el framework :) On Mon, Sep 21, 2015 at 5:26 PM, Rafael E. Ferrero wrote: > BUENÍSIMO LUIS!!! EXCELENTE INICIATIVA!!! > > Muchos exitos para tí y para Django en Costa Rica > > Saludos, Rafael Ferrero (desde Argent

Re: Invalid HTTP_HOST, can someone explain why I am getting this?

2015-09-21 Thread frocco
I am still getting this invalid host from time to time. Does this mean that someone is trying to hack my site? www.g3suprimentos.com.br is not anything I own. For now, I am just ignoring this. Thanks -- You received this message because you are subscribed to the Google Groups "Django users" g

Re: Invalid HTTP_HOST, can someone explain why I am getting this?

2015-09-21 Thread François Schiettecatte
Not likely, all that is happening is that you are getting requests where the ‘Host:’ HTTP header is not set or set to something other than what is accepted by your site. Most likely a buggy client. I get that all the time, I just ignore it. Cheers François > On Sep 21, 2015, at 6:16 PM, frocc

Re: Invalid HTTP_HOST, can someone explain why I am getting this?

2015-09-21 Thread Carl Meyer
On 09/21/2015 04:22 PM, François Schiettecatte wrote: > Not likely, all that is happening is that you are getting requests > where the ‘Host:’ HTTP header is not set or set to something other > than what is accepted by your site. Most likely a buggy client. I get > that all the time, I just ignore

Re: Invalid HTTP_HOST, can someone explain why I am getting this?

2015-09-21 Thread frocco
I am using webfaction and django 1.5 Is this something webfaction and resolve? On Monday, September 21, 2015 at 6:26:40 PM UTC-4, Carl Meyer wrote: > > On 09/21/2015 04:22 PM, François Schiettecatte wrote: > > Not likely, all that is happening is that you are getting requests > > where the ‘Hos

Re: Reverse for 'post_detail' with arguments '()' and keyword arguments '{'pk': 1}' not found. 1 pattern(s) tried:

2015-09-21 Thread Luis Zárate
The error is in the template, please check the url statement inside the template. Or share with ours the template file. El sábado, 19 de septiembre de 2015, sankar vasu escribió: > Hi All, > > I got below error, please advise. please look at the following link: http://pysan.pythonanywhere.com/ >

Re: DJango 1.8 test case fails with IntegrityError error

2015-09-21 Thread Jose Paul
Hi Simon, I am working on this support . But the test case generates sql with null values for non null fields. We cannot change the model ,because this is part of python ,i believe. The problem might be the schema generated for the table from the model . I can see only one field as non null in