On 27 sep, 18:36, Collin Grady <[EMAIL PROTECTED]> wrote:
>
> Actually, you don't - I just checked the formfield method of
> ManyToManyField, and you can pass the queryset directly to that, so it
> will use that when it generates the field instead of whatever it would
> normally default to.
>
Ye
On 27 sep, 18:03, Collin Grady <[EMAIL PROTECTED]> wrote:
> Mario Gonzalez said the following:
>
> > I should have to write the all callback and I think that's not what
> > I want. My proposal is if you've got a special queryset, just pass it
> > troug
On 27 sep, 16:25, Collin Grady <[EMAIL PROTECTED]> wrote:
> Mario Gonzalez said the following:
>
> > In my DB I've got lot of users, each one with different groups and
> > permissions, and I don't want to show them in my form. So, I want to
> > pass a par
Hello:
I usually show forms using form_for_model(), however there's
something I think is missing. My model is something like:
class TransferFile(models.Model):
file = models.FileField(upload_to="/some/path/in/my/system/")
owner = models.ForeignKey(User, db_column="owner", db_ind
Hello! one week ago I opened this ticket
http://code.djangoproject.com/ticket/4928 please take a look when you
can. It's got a patch also.
Regards!
--
http://www.advogato.org/person/mgonzalez/
--~--~-~--~~~---~--~~
You received this message because you are subs
On Jul 21, 11:55 pm, Gary Wilson <[EMAIL PROTECTED]> wrote:
>
> No, not all of the open tickets anyway. There will _always_ be open
> tickets no matter how hard we all try to close them :)
>
Yeah! that's my point of view and we share it. Maybe I didn't
explain myself but I wanted to arrive to
On Jul 19, 11:47 pm, "Adrian Holovaty" <[EMAIL PROTECTED]> wrote:
> Hi Mario,
>
Hi Adrian, many thanks for your answer.
> Please check the FAQ, which is where we've written our definitive
> answer to this question --
>
> http://www.djangoproject.com/documentation/faq/#when-will-you-release...
Dears hackers, I want to ask a question, for you maybe it will be
just foolish but, I've seen the open tickets, I'm trying to write some
patch for some of them but my help it's not enough :-( and they are a
lot.
Are you going to wait until all those tickets will be closed? is
there a date limit
On Jul 13, 1:04 am, "Russell Keith-Magee" <[EMAIL PROTECTED]>
wrote:
> defines AUTH_BACKENDS to be a string, not a tuple, and that is the
> error you are catching (note the missing comma). Note the missing
> comma. If you have the comma in the tuple, Django correctly reports
> that the backend doe
On 11 jul, 22:33, "Russell Keith-Magee" <[EMAIL PROTECTED]>
wrote:
>
> > if AUTHENTICATION_BACKENDS is empty or something is wrong then
> > nothing is detected, only an ImporError. The patch catch the
> > ValueError.
>
> Where and how is the error revealed? When you import an application?
> When
Hello, today after an svn update I've got a
Traceback (most recent call last):
File "/usr/lib/python2.5/site-packages/django/core/servers/basehttp.py",
line 273, in run
self.finish_response()
File "/usr/lib/python2.5/site-packages/django/core/servers/basehttp.py",
line 312, in finish_re
I found a variable in django/core/management.py file named
project_name, its content should be the project name but it's not. It
saves the parent directory name instead, so I wrote a patch that fix
it.
Please, see
http://code.djangoproject.com/ticket/3846
Regards!
--
http://www.advogato.org/p
Hello, I'm trying to know the callback name after a resolve process
from django.conf import settings
from django.http import HttpResponse
from django.core.urlresolvers import resolve
class AuthorizedMiddleware(object):
def process_request(self, request):
return HttpResponse(str(
Hello. I've got an issue that I want to deal with if you let me. I
think, as everybody we've got a project with many applications on it.
And also there are lots of users available, however what about if I
want to deny some apps to some users?
Or, how can I know what app can be used by someone
On 17/10/06, Rafael SDM Sierra <[EMAIL PROTECTED]> wrote:
> ps2.: I need this a lot becouse I'm using FreeBSD, and it start only 50
> connections simultaneously, but my system use
but you can change that and default, postgres support 100
connections (2 for superuser)
>
--
http://www.advogato
On 16/10/06, James Bennett <[EMAIL PROTECTED]> wrote:
>
> SQLite is *not* something to be using if proper locking and safe
> concurrent access will be important; SQLite's own docs point out a
> couple of cases where its locking just won't work, and they recommend
> moving to a client-server RDBMS
Hi, I'm writing a code for a media server and I want to serve static
files to authenticated users only. I check against Django's session
table (django_session) and that's ok (IMO) but in session_data there
isn't the userid and I need it for security reasons; So I sent you
what I'm doing so far and
On 11/10/06, Mario Gonzalez ( mario__ ) <[EMAIL PROTECTED]> wrote:
> On 11/10/06, Don Arbow <[EMAIL PROTECTED]> wrote:
> >
> > There's already a filter called 'default_if_none', check the
> > documentation.
> >
> yeah, I saw it before I
On 11/10/06, Don Arbow <[EMAIL PROTECTED]> wrote:
>
> There's already a filter called 'default_if_none', check the
> documentation.
>
yeah, I saw it before I sent this email :( sorry if I disturbed
anyone. I did it like:
#in a template:
{{ foo|default_if_none:"" }}
Thanks!
> Don
>
Hello! I think we've been talking in irc, my nick is mario__ and now
I really like to help to django code, if you let me. Sometimes sql
queries returns NULL values and python change that with a None type,
then I cannot show a None in a web page so, I have to change that
like:
#in a view
if fo
20 matches
Mail list logo