I started a new project on google code, django-requests[1], and i'm
looking for opinions, suggestions, help..
The project goal is make a simple and generic way to moderate requests
made by users to add, edit or remove objects.
Thanks
[1] - http://code.google.com/p/django-requests/
--
You
should handle
the rest, as if the upload_to were a string..
Gleber
On 13 fev, 04:04, Karen Tracey <kmtra...@gmail.com> wrote:
> On Sat, Feb 13, 2010 at 12:09 AM, Gleber <glebi...@gmail.com> wrote:
> > I don't know if this is a bug.. Here is the minimal test case:
>
I don't know if this is a bug.. Here is the minimal test case:
class CustomStorage(FileSystemStorage):
def get_valid_name(self, name):
import random
return '%s.abc' % (random.randint(100, 999),)
def test_uploadto(self,filename):
return 'aaa/%s' % filename
testA =
Try surround the values of the constants with Decimal("x"), like:
APLUS = Decimal("4.33")
A = Decimal("4")
AMINUS = Decimal("3.67")
...
On Feb 2, 4:58 pm, raj wrote:
> To populate a ModelMultipleChoiceField of a ModelForm I'd used a hack
> similar to Shawn's initial
Thanks for the reply,
This is much more complex than I thought..
I will stay with the way of two queries, better than one query per
object..
Gleber
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
"Django
h only one query?
I need this cause I have to display a list of 50+ ModelBs and i can't
execute 50+ queries only for that..
Gleber
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
"Django users" group.
To post
6 matches
Mail list logo