Thanks for your answers, I will stick with the official
django.contrib.auth.models.
On Monday, November 5, 2012 11:59:16 PM UTC+1, Russell Keith-Magee wrote:
>
>
> On Mon, Nov 5, 2012 at 7:50 PM, André Dieb
> > wrote:
>
>> From what I see on django's source code (dev), there used to be an import
Em segunda-feira, 5 de novembro de 2012, Russell Keith-Magee escreveu:
>
> On Mon, Nov 5, 2012 at 7:50 PM, André Dieb
>
> > wrote:
>
>> From what I see on django's source code (dev), there used to be an import
>> of django.contrib.auth.models.User inside django.contrib.admin.models,
>> which mea
On Tue, Nov 6, 2012 at 8:55 AM, André Dieb wrote:
> Em segunda-feira, 5 de novembro de 2012, Russell Keith-Magee escreveu:
>
>
>> On Mon, Nov 5, 2012 at 7:50 PM, André Dieb wrote:
>>
>>> From what I see on django's source code (dev), there used to be an
>>> import of django.contrib.auth.models.U
Hi,
I have an application that needs to do a fairly big search across a large
number of records that goes something like...
filterList = accounts.objects.filter(name="foo", company="bar", blah blah
blah..)
itemsList = items.objects.filter(account__in=accountList,
status="delivered", andSo="on
On Tue, Nov 6, 2012 at 12:13 PM, André Dieb wrote:
> On Tue, Nov 6, 2012 at 8:55 AM, André Dieb wrote:
>>
>> Em segunda-feira, 5 de novembro de 2012, Russell Keith-Magee escreveu:
>>
>>>
>>> On Mon, Nov 5, 2012 at 7:50 PM, André Dieb wrote:
From what I see on django's source code (dev)
Hi Abraham,
This is beautiful & is of huge help! thank you. :)
I created a new file named /validators.py and add the below
code.
from django.core.validators import EmailValidator
from django.core.exceptions import ValidationError
def multi_email_validator(value):
if value and "," in value:
Hi,
I'm starting a new project, that is composed with various modules
(application). This project will sold to costumers (ca. 100) with different
configurations (modules, language, ...). My intention is to have models, urls,
views, templates globally for all costumers. Costumer specific are obv
Hello
I have to take a page with 4 variable that can be string number or mixed
including point how i have to configure the url:
(r'^scarico/./././.','prova.views.scarico')
How i have to do it?
Thanks
Luca
--
You received this message because you are subscribed to the Google Groups
"Django u
> filterList = accounts.objects.filter(name="foo", company="bar", blah blah
blah..)
>
> itemsList = items.objects.filter(account__in=accountList,
status="delivered", andSo="on")
>
>
Not sure if I understand it correctly, but shouldn't this work better?
items
list=items.objects.filter(status="
You can always use itertools.chain() if you want to do it in memory.
Instead of doing it in memory as you've suggested, perhaps you need to
index the account's PK so when your Items object manager queries for them,
it can be quick.
import itertools
list1 = [1,2,3,4]
list2 = ['a','b','c','d'
I have been running into this problem for a long while trying to setup my
first Django project and I keep coming back to this problem. I am
relatively new when it come to Linux, I'm learning but still have a long
way to go. I am using CentOS 5.8 cPanel which comes with Python 2.4.
Following ins
Whenever you run a Django command (e.g., startapp, runserver), just use
the full path to your Python 2.7 interpreter. For example:
$ /opt/python2.7/bin/python manage.py runserver 80
Similarly, if you're installing packages via pip or easy_install:
$ /opt/python2.7/bin/pip install some_package
$
On Tuesday, November 6, 2012 3:13:40 PM UTC+1, rdollinger wrote:
>
> Hi,
>
> I'm starting a new project, that is composed with various modules
> (application). This project will sold to costumers (ca. 100) with different
> configurations (modules, language, ...). My intention is to have models,
This guide worked perfectly for me when setting up my dev environment on
Mountain Lion. (Virtualenv, Virtualwrapper, Homebrew, Xcode, Postgres, Python,
Django, etc.)
https://gist.github.com/1852087
--
You received this message because you are subscribed to the Google Groups
"Django users" gr
Hello,
There is a bug submitted 3 years ago:
https://code.djangoproject.com/ticket/11580
I have exact the same problem using django 1.4.
Are there any plans to fix that in near future?
--
You received this message because you are subscribed to the Google Groups
"Django users" group.
To post t
On Monday, November 5, 2012 7:07:23 PM UTC+1, drunksaint wrote:
> This model was running perfectly in the DEV deployement. When I moved to
> PROD in apache, this broke (as in there are multiple instances of scObj
> being created, so a score update from player-1's move on player-2 is not
> ref
On 11/6/12 7:09 AM, Bestrafung wrote:
I have been running into this problem for a long while trying to setup
my first Django project and I keep coming back to this problem. I am
relatively new when it come to Linux, I'm learning but still have a
long way to go. I am using CentOS 5.8 cPanel whic
Hi Luca,
Is the answer you're looking for something like this?:
(r'^scarico/(?P\w+)/(?P\w+)/(?P\w+)/(?P\w+)/$
','prova.views.scarico')
Where \w+ is regex for anything except white-space ()
(more options: http://docs.python.org/2/library/re.html )
If you're using functional views the def would
Thank you for the info. That's how I've been doing it but assumed something
wasn't right as it wasn't working and I keep getting errors. I think I've
ruled out python as the problem Need to start looking at the mod_wsgi and
Apache setup.
I have another post regarding Apache errors I will get ba
I'm not familiar with how to do this but the suggestion is noted. I will
look into it. Thanks.
On Tuesday, November 6, 2012 11:26:41 AM UTC-5, Thomas wrote:
>
> Use virtualenv. Always.
>
> - Tom
> > --
> > You received this message because you are subscribed to the
I think I've pretty well ruled out python as the issue. It looks to be in
the Apache/mod_wsgi setup somewhere. I can start the built-in runserver,
"python manage.py runserver 0.0.0.0:8000", and work with it but Apache
refuses to work. I've never worked with mod_wsgi or Django before so I'm
not
If you're running via mod_wsgi, then you need to look at which version
of Python mod_wsgi was built with. Probably /not /2.7 in that case.
http://code.google.com/p/modwsgi/wiki/InstallationIssues#Multiple_Python_Versions
_Nik
On 11/6/2012 10:02 AM, Bestrafung wrote:
> Thank you for the info. Tha
Hi Neil, maybe its more easy accessing Foreign Key values [1].
Att,
Marcello.
[1] http://www.djangobook.com/en/2.0/chapter10.html
Enviado do meu Sony Ericsson Xperia mini
Neil Pritchard escreveu:
>Hi,
>
>I have an application that needs to do a fairly big search across a large
>number of
On Mon, Nov 5, 2012 at 1:07 PM, drunksaint wrote:
> This model was running perfectly in the DEV deployement. When I moved to
> PROD in apache, this broke (as in there are multiple instances of scObj
> being created, so a score update from player-1's move on player-2 is not
> reflected in a differe
Nice! Thanks!
--Fred
Fred Stluka -- mailto:f...@bristle.com -- http://bristle.com/~fred/
Bristle Software, Inc -- http://bristle.com -- Glad to be of service!
Open Source: Without walls and fences, we need no Windows or Gat
Hi Michał,
You posted exactly the same question to Django-dev yesterday, and Florian
answered that question 2 hours after you posted it. Reposting exactly the
same question to a different mailing list isn't very helpful, and it won't
change the answer.
Yes, the bug is 3 years old. It will be fixe
Cool. I didn't know about Celery. Thanks Phillip!
On Friday, October 26, 2012 4:11:53 AM UTC-4, Philip wrote:
>
> I think what you are looking for is Celery (http://celeryproject.org/).
> This handles asynchronous tasks in a clean and tidy manor meaning your
> normal requests are free to return
27 matches
Mail list logo