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
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
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,
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
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
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
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
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,
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
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
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
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
> >
> >
> >
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
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
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
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
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()),
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
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
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
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
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
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
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
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
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,
>
26 matches
Mail list logo