Re: This is what I get after import django when I enter the print(django.ger_version()) command

2014-02-01 Thread Avraham Serour
What python version do you have? What django version? On Feb 2, 2014 8:00 AM, "James Goforth" wrote: > print(django.get_version()) > Traceback (most recent call last): > File "", line 1, in > File "django/__init__.py", line 6, in get_version > from django.utils.version import get_version

This is what I get after import django when I enter the print(django.ger_version()) command

2014-02-01 Thread James Goforth
print(django.get_version()) Traceback (most recent call last): File "", line 1, in File "django/__init__.py", line 6, in get_version from django.utils.version import get_version File "django/utils/version.py", line 1 SyntaxError: future feature unicode_literals is not defined >>> -- Y

Re: Problems Sending Email From Django SIte

2014-02-01 Thread Mark Phillips
Matt, That fixed it! Now, I get error messages as expected. Thanks so much for finding my missing comma!! Mark On Sat, Feb 1, 2014 at 5:15 PM, Matt Schinckel wrote: > Your ADMINS setting is incorrect. > > In python, the value ((a,b)) is not a 1-tuple containing a 2-tuple, as you > want,

Re: Problems Sending Email From Django SIte

2014-02-01 Thread Matt Schinckel
Your ADMINS setting is incorrect. In python, the value ((a,b)) is not a 1-tuple containing a 2-tuple, as you want, but a single 2-tuple, which django interprets as a tuple containing _just_ email addresses. Try: ADMINS = (('Mark', 'x...@example.com'),) Note the trailing comma after the inner

Re: Problems Sending Email From Django SIte

2014-02-01 Thread m1chael
any luck? On Sat, Feb 1, 2014 at 12:58 PM, m1chael wrote: > maybe try > > EMAIL_HOST = "0.0.0.0" > > On Sat, Feb 1, 2014 at 12:57 PM, m1chael wrote: >> have you tried adding 'localhost' to 'local_domains'? >> >> On Sat, Feb 1, 2014 at 12:54 PM, m1chael wrote: >>> also, what is "a" ?? are you tr

Back button in a SessionWizardView

2014-02-01 Thread César García Tapia
I'm writing a quite complex Wizard (lots of pages, lots of inputs), so I'd like to add a Back button to it. My first thought was just using a "history.back()" javascript call, but in the previous form I had some inputs created with Javascript that get lost if I just browse back, so I need to ac

Re: Question About South And Migrating to Production

2014-02-01 Thread Me Sulphur
We have used South for staging and production for a while now (what good otherwise it is?). Our deployment flow is something on the lines of: (Note: Tasks are automated using Fabric) 1. Have a production_settings.py file in the git repo 2. Migrations are also commited to the repo 3. When changes

Re: Problems Sending Email From Django SIte

2014-02-01 Thread m1chael
maybe try EMAIL_HOST = "0.0.0.0" On Sat, Feb 1, 2014 at 12:57 PM, m1chael wrote: > have you tried adding 'localhost' to 'local_domains'? > > On Sat, Feb 1, 2014 at 12:54 PM, m1chael wrote: >> also, what is "a" ?? are you trying to email a...@something.com ?? or just >> 'a' ?? >> >> >> On Sat,

Re: Problems Sending Email From Django SIte

2014-02-01 Thread m1chael
have you tried adding 'localhost' to 'local_domains'? On Sat, Feb 1, 2014 at 12:54 PM, m1chael wrote: > also, what is "a" ?? are you trying to email a...@something.com ?? or just > 'a' ?? > > > On Sat, Feb 1, 2014 at 12:52 PM, m1chael wrote: >> check Exim options relating to unqualified address

Re: Problems Sending Email From Django SIte

2014-02-01 Thread m1chael
also, what is "a" ?? are you trying to email a...@something.com ?? or just 'a' ?? On Sat, Feb 1, 2014 at 12:52 PM, m1chael wrote: > check Exim options relating to unqualified addresses > > On Sat, Feb 1, 2014 at 11:08 AM, Mark Phillips > wrote: >> No joy.same reject error and no emall sent

Re: Problems Sending Email From Django SIte

2014-02-01 Thread m1chael
check Exim options relating to unqualified addresses On Sat, Feb 1, 2014 at 11:08 AM, Mark Phillips wrote: > No joy.same reject error and no emall sent. > > I am stumped on how to diagnose this problem. > > Mark > > > On Sat, Feb 1, 2014 at 8:59 AM, m1chael wrote: >> >> yeah >> >> On Sat, Fe

Re: Problems Sending Email From Django SIte

2014-02-01 Thread Mark Phillips
No joy.same reject error and no emall sent. I am stumped on how to diagnose this problem. Mark On Sat, Feb 1, 2014 at 8:59 AM, m1chael wrote: > yeah > > On Sat, Feb 1, 2014 at 10:51 AM, Mark Phillips > wrote: > > Thanks.what email address...the one in admins? > > > > Mark > > > > > >

Question About South And Migrating to Production

2014-02-01 Thread Mark Phillips
I started a django 1.6 project in a virtual environment (Debian, python 2.7) and installed south.I created the models, database, performed many migrations and it all worked well. All with mysql. I then split the settings.py file into production and development and set up a production server on ap

Re: Problems Sending Email From Django SIte

2014-02-01 Thread m1chael
yeah On Sat, Feb 1, 2014 at 10:51 AM, Mark Phillips wrote: > Thanks.what email address...the one in admins? > > Mark > > > On Sat, Feb 1, 2014 at 7:55 AM, m1chael wrote: >> >> I'm just guessing now try adding the setting: >> >> DEFAULT_FROM_EMAIL='x...@x.xxx' >> >> On Fri, Jan 31, 20

Re: How to make a url login protected

2014-02-01 Thread Larry Martell
On Saturday, February 1, 2014, Ara Sivaneswaran wrote: > Hi, > > Is there anyway to force login to access to some url's? > > Here is my url: > url(r'^notify/', get_notify_pattern()), > url(r'^admin/wiki/view', get_wiki_pattern()), > > I tried putting: login_required(get_wiki_pattern()) but it say

Re: Problems Sending Email From Django SIte

2014-02-01 Thread Mark Phillips
Thanks.what email address...the one in admins? Mark On Sat, Feb 1, 2014 at 7:55 AM, m1chael wrote: > I'm just guessing now try adding the setting: > > DEFAULT_FROM_EMAIL='x...@x.xxx' > > On Fri, Jan 31, 2014 at 11:51 PM, Mark Phillips > wrote: > > Exim4 has two logs - main and rej

Re: How to make a url login protected

2014-02-01 Thread François Schiettecatte
See: https://docs.djangoproject.com/en/1.6/topics/auth/default/#the-login-required-decorator François On Feb 1, 2014, at 10:41 AM, Ara Sivaneswaran wrote: > Hi, > > Is there anyway to force login to access to some url's? > > Here is my url: > url(r'^notify/', get_notify_pattern()),

How to make a url login protected

2014-02-01 Thread Ara Sivaneswaran
Hi, Is there anyway to force login to access to some url's? Here is my url: url(r'^notify/', get_notify_pattern()), url(r'^admin/wiki/view', get_wiki_pattern()), I tried putting: login_required(get_wiki_pattern()) but it says: 'tuple' object is not callable Thanks, Ara -- You received this

Re: Proxy problem (permissions denied)

2014-02-01 Thread Gkpetrak
Hi Me Sulphur, Thank you so much my friend ! A two weeks problem solved !! The problem was the csrfmiddleware token in my POST request. Thank you in advance, George -- You received this message because you are subscribed to the Google Groups "Django users" group. To unsubscribe from this group

Re: Loading data from Django into RedShift - ORM vs SQL?

2014-02-01 Thread damondeville
Hi, Does anyone here have experience in using the django-redshift ORM available in: https://github.com/binarydud/django-redshift in a django web app? If so could you share it with us? Is it robust? Scalably efficient? Many thanks. On Thursday, October 17, 2013 9:21:08 AM UTC+2, Victor Hooi wrot

Re: Problems Sending Email From Django SIte

2014-02-01 Thread m1chael
I'm just guessing now try adding the setting: DEFAULT_FROM_EMAIL='x...@x.xxx' On Fri, Jan 31, 2014 at 11:51 PM, Mark Phillips wrote: > Exim4 has two logs - main and reject. > > Message from python prompt and mutt - shows activity in main, but not > reject. > > Message from Server 500 err

Error running ./manage.py runserver with Mayan-EDMS project

2014-02-01 Thread Dominik Cabrerizo
Hi all! I am trying to install Mayan EDMS on Debian Wheezy on a Cubietruck (armhf). I follow this instructions: http://mayan.readthedocs.org/en/latest/intro/installation.html and everything works fine until I try to start the server with: ./manage.py runserver I am a python/django newbie and o

Re: Problems Sending Email From Django SIte

2014-02-01 Thread Mark Phillips
Exim4 has two logs - main and reject. Message from python prompt and mutt - shows activity in main, but not reject. Message from Server 500 error with django app - no activity in main, and a message in reject - 2014-01-31 21:30:55 unqualified recipient rejected: H=localhost [127.0.0.1] That is

Error running ./manage.py runserver with Mayen EDMS project

2014-02-01 Thread Dominik Cabrerizo
Hi all! I am trying to install Mayan EDMS on Debian Wheezy on a Cubietruck (armhf). I try to insall according to the instructions on http://mayan.readthedocs.org/en/latest/intro/installation.html Everything works fine until I run: ./manage.py runserver Then I get an error and can't continue. Ca

datatable with edit,save support

2014-02-01 Thread Hanz
Hello all, I'm trying to put into operation Datatable with crud support. On the server side using https://bitbucket.org/pigletto/django-datatables-view, but i can not set edit and delete operations. Can anyone advise me how to do it? Best with an example. Thank you, Hanz django 1.6 django-data

Re: RPython / Django Web Applications Developer - Michigan $90-$100/hr

2014-02-01 Thread Kannan
Hi Leigh, Is this is open for remote work? On Fri, Jan 31, 2014 at 2:21 AM, Leigh Haugen wrote: > Great opportunity on a Cloud Development team for somebody who is willing > to take a temporary job here in Michigan. > > > > *Python / Django Web Applications Developer, Michigan 6+mth contract, >