Saving files to s3 with python 3.3

2014-04-30 Thread Andreas Kuhne
Hi all, We are trying to rewrite our webplattform because it has been developed since 2009 and is more or less a patchwork of fixes. In doing so, we want to be able to use the latest versions of all plugins and frameworks, so we are looking at: Django 1.6 (or 1.7 if it is released before Septembe

assertXMLEqual behaviour

2014-04-30 Thread Jon Dunleavy
Hi, I am using django 1.6 but I can't find any information on the bugtracker as to whether this has changed but is this intentional behaviour of assertXMLEqual: # this passes self.assertXMLEqual( "Value", """Value""", ) # this fails self.assertXMLEqual( "Value", """ Val

django-mutant

2014-04-30 Thread Eddilbert Macharia
Hello Guys, I'm trying to create dynamic models using django-mutant and im having alot problem understandingg what is really happening, i have tried the provided guide http://integricho.github.io/2013/07/22/mutant-introduction/ but i'm still confused, is there any one out there who understands

Email encoding (DKIM, long lines, etc..)

2014-04-30 Thread notsqrt
Hi ! I am implementing DKIM validation for my emails. I noticed than some emails do not pass DKIM validation due to different body hashes. I followed the email flow, and found that postfix automatically truncates lines to 998 characters if they are too long (in accordance to https://tools.ietf.

Re: Email encoding (DKIM, long lines, etc..)

2014-04-30 Thread notsqrt
Quick addition : the ticket where it was approved to switch from quoted-printable to 7bit/8bit; but with the possibly unintended effect that lines were no longer short.. https://code.djangoproject.com/ticket/11212 -- You received this message because you are subscribed to the Google Groups "D

Re: assertXMLEqual behaviour

2014-04-30 Thread James Bennett
As far as I can tell from reading the source, there's no deliberate intention one way or another. However, from a strict/pedantic point of view, the example you give is demonstrating correct behavior; due to whitespace, the second document contains nodes not present in the first one. -- You rece

Best practice - evolving from one to several sites using Django

2014-04-30 Thread Ari Davidow
Hi, I am new to this group and new to Django. I have several websites that I want to drag into the current century. Initially I planned to do this with Drupal and know that it is relatively simple to add configuration information, modules, themes, for new sites using one Drupal installation. W

Re: Best practice - evolving from one to several sites using Django

2014-04-30 Thread Avraham Serour
if I'm not mistaken having a multi tentant django deploy means they will share the same DB I suggest having separate deployments for each site, as for sharing code you should create an app which is the shared code and put in version control and all your deployments would update from the same reposi

RE: Best practice - evolving from one to several sites using Django

2014-04-30 Thread Ilya Kazakevich
Hello Ari, First of all Drupal is PHP CMS, while Django is Python web-framework (and should be compared to PHP Zend or PHP Symfony then). Django supports multiple sites: https://docs.djangoproject.com/en/1.7/ref/contrib/sites/ But Django uses one database and each table would have some kind of

The Django 1.7 tees!

2014-04-30 Thread Sithembewena Lloyd Dube
To Whom It May Concern, I am devastated that I could not place an order for one of the new Django 1.7 tees. Now that I am ready to go, the campaign has ended on the merchant website. May I please place an order for one? I'd dearly like a memento of this milestone release. Pretty please? Size=smal

Re: django-mutant

2014-04-30 Thread Simon Charette
Hi Eddilbert, I'm the author of django-mutant. May I ask you what exactly you're trying to achieve with this application? Creating new field should be as simple as importing a field definition subclass from a contrib.* application. e.g. from mutant.contrib.text import CharFieldDefinition Cha

apache module - which is better?!

2014-04-30 Thread Hamed Rostami
which is better? 1-mod_python 2-mod_wsgi give me reason & document about this. -- You received this message because you are subscribed to the Google Groups "Django users" group. To unsubscribe from this group and stop receiving emails from it, send an email to django-users+unsubscr...@googleg

ManyToManyField causes invalid form when limit_choices_to argument set

2014-04-30 Thread rgreene
Good day, This is a somewhat contrived example, but I'm having the same problem in a real project. Assuming continents have many countries, and countries can belong to many continents, I have a continent_country "junction" table in the database and am using ManyToManyField as follows... Model

Re: ManyToManyField causes invalid form when limit_choices_to argument set

2014-04-30 Thread rgreene
Solved! It turned out the problem only occurred trying to uncheck the last checkbox. I needed to set blank=True on the ManyToManyField. -- You received this message because you are subscribed to the Google Groups "Django users" group. To unsubscribe from this group and stop receiving emails fro

Re: apache module - which is better?!

2014-04-30 Thread C. Kirby
mod_wsgi Django does not support mod_python On Wednesday, April 30, 2014 2:22:01 PM UTC-5, Hamed Rostami wrote: > > which is better? > 1-mod_python > 2-mod_wsgi > give me reason & document about this. > > > -- You received this message because you are subscribed to the Google Groups "Django u

regression? validate_email accepts trailing dash

2014-04-30 Thread Jason Brackins
Hi everybody, I've found this behavior that feels like a bug. I would like your opinion on whether it *is* a bug. In django 1.6 an EmailField will accept an address of the form 'f...@bar.com-' In django 1.4 it would trigger a ValidationError. Should this be considered a regression? The way I

error in "makemessages" command on latest django version (1.8dev)

2014-04-30 Thread Fabio Caritas Barrionuevo da Luz
hello, was testing in the latest version of Django[1] directly from Github and am having this problem *optparse.OptionConflictError: option -e/--extension: conflicting option string(s): -e* That would be a bug or am I doing something wrong In this link you can see all the steps I did to get t

Re: Email encoding (DKIM, long lines, etc..)

2014-04-30 Thread Russell Keith-Magee
On Wed, Apr 30, 2014 at 7:13 PM, wrote: > Hi ! > > I am implementing DKIM validation for my emails. > I noticed than some emails do not pass DKIM validation due to different > body hashes. > I followed the email flow, and found that postfix automatically truncates > lines to 998 characters if the

Re: The Django 1.7 tees!

2014-04-30 Thread Russell Keith-Magee
Hi Sithu, Unfortunately, we can't add orders once the campaign is closed - this is one of the features of TeeSpring as a fund raising method. We *can* relaunch the campaign, but that campaign would be independent to the original. It would have its own sales target, its own closing date, and so on

Re: apache module - which is better?!

2014-04-30 Thread Russell Keith-Magee
On Thu, May 1, 2014 at 4:18 AM, C. Kirby wrote: > mod_wsgi > > Django does not support mod_python > > It's also important to point out why this is - mod_python is dead. It's been officially deprecated by Apache, and is not being maintained. It hasn't been updated for several *years*. Yours, Russ

Error to customize a user

2014-04-30 Thread Lucas Simon Rodrigues Magalhaes
Hello, I have a problem when rendering my admin after creating a custom user. I followed the tutorial of Django [1] documentation and also Subclass AbstractBaseUser section of the book Twoo Scoops of Django. The error is described in this gist [2] and the code is in this repository [3]. Th

Re: Error to customize a user

2014-04-30 Thread alTus
You don't have `has_perm` and `has_module_perms` methods defined in your user model while they are required: https://docs.djangoproject.com/en/1.5/topics/auth/customizing/#custom-users-and-django-contrib-admin Not sure if it would help coz traceback is not about them but you can at least try and

Python/Django based Enterprise framowrk

2014-04-30 Thread Kenan Bek
Dear Django users, I am working on ERP solution for my company and I used to use Django as a web application framework. To automatise process of creating CRUD forms I use Django Admin with Django Suit package. It works pretty well. BUT it does not gives features for full customisation because i

Version number comparison and beta

2014-04-30 Thread Kevin Golding
Hi all I'm trying to update some existing code so that it will be compatible with 1.7, in particular the use of settings.AUTH_USER_MODEL instead of get_user_model(). Given the differences I'm going to have to check the version numbers and then have two alternatives eg: if StrictVersion(get_vers