was this rejected?
my use case is: I have a single django program, which I run in multiple
instances, each on a different port and connecting to a different
database. for each instance, I have a separate `config_INSTANCE.py` file.
the database settings fit in the `config` file, but I have to p
x27;t know if it is the best):
'contenttypes' before 'auth' in INSTALLED_APPS
and this little modif using sorted()
method:
https://github.com/mariuccio/django/blob/stable/1.8.x/django/contrib/contenttypes/management.py#L50
Thanks for any advice,
Mario
--
You received this
I am out of the office until 09/24/2013.
Dad in hospital. Will check email on and off.
contact Varuna Ps Lakshminarayana/India/IBM or Praveen Devarao/India/IBM
for emergencies
Note: This is an automated response to your message "Abridged summary of
django-developers@googlegroups.com - 41 Mess
/eab320359f0d16d8?hl=en_US)... , so i
am curious how the above approach deals with the multi-threaded
scenario
regards
Mario Briggs
--
You received this message because you are subscribed to the Google Groups
"Django developers" group.
To unsubscribe from this group and stop receiving emai
h out to you if we are in need of this
regards
Mario
--
You received this message because you are subscribed to the Google Groups
"Django developers" group.
To post to this group, send email to django-developers@googlegroups.com.
To unsubscribe from this group, send email to
django-deve
Hi Helgi,
that's an awesome story. We share your appreciation.
Rahul and Ambrish would be really satisfied and motivated if their
ibm_db_django adapter was used in this.
thanks
Mario
On Jul 2, 4:03 pm, Helgi Borg wrote:
> Remember the Eyjafjallajökull eruption that stopped air traf
ute the SQL to create the hidden column
during Django's index creation process. Rahul hasnt yet started
digging where to add that. The 'Blocker' question was if uphead anyone
knew that would be problematic for the backend to do ?
regards
Mario
--
You received this message be
l be created on this hidden column. When there is a
lookup by value, the backend will actually do the lookup on the hidden
indexed column. - you see any blockers to this ?
BTW, index is not turned ON on LogEntry.object_id. Do you feel this
use-case usage is low to warrant that ?
regards
Mario
-
y the admin that the
X limit on the index has been overrun)
cheers
Mario
--
You received this message because you are subscribed to the Google Groups
"Django developers" group.
To post to this group, send email to django-develop...@googlegroups.com.
To unsubscribe from this group, send e
Peter, maybe you can elaborate why you choose 'Text' and why you need
an a unique index on it.
thanks
Mario
--
You received this message because you are subscribed to the Google Groups
"Django developers" group.
To post to this group, send email to django-develop...@goog
hat i guess ?
Unique index on Text, i agree with you.
Mario
--
You received this message because you are subscribed to the Google Groups
"Django developers" group.
To post to this group, send email to django-develop...@googlegroups.com.
To unsubscribe from this group, s
racle NCLOB. The fact that one
can index it, changes things and let me relook at the needs here
regards
Mario
--
You received this message because you are subscribed to the Google Groups
"Django developers" group.
To post to this group, send email to django-develop...@googlegroups.com.
butes in a
field definition. To date, Django has maintained a clear mapping
between Field type and database type."
I am not suggesting that backends change the type in the DB based on
the 'length'. They should use 1 fixed type for GenericKeyField
regards
Mario
--
You received
- so you mentioned that u were scared to make the
changes becuase of problems with migrations - once Helgi makes that
change and the next time he is upgrading to the a higher version of
Django, is there anything he needs to do ?
cheers
Mario
--
You received this message because you are subscribed
me -
> something like GenericKeyField tells you nothing about the storage,
> but does tell you when it might be appropriate to use it.
>
GenericKeyField - Its hard for me to see that a end-user would not be
interested in the specific type of his column at the database
especially if its a
e DB2 backend did the same hack as Karen mentioned, we would be
guilty of abetting bad database design. Therefore we will not do that.
Instead we will let users run into errors when they do a '=' compare
of a Django Text type, and then let them ponder whether they need that
column as a
is > 4000 or something is
then the right choice. This is validated by what Karen says is the
Oracle fix.
Note: the original workaround provided to Helgi was to use varchar
(3000) and if willing to be more adventurous then try INTEGER
thanks
Mario
--
You received this message because you are su
We are still interested in providing the adaptor. Look forward to the
'Getting Started'.
Regarding the 'Maintaining problem', this is not a problem as
evidenced by the IBM Rails adaptor project as Rails has progressed
from 1.x to 2.x
On Apr 14, 2:26 pm, Robert <[EMAIL PROTECTED]> wrote:
> If have
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
lback(f)
if formfield:
field_list.append((f.name, formfield))
base_fields = SortedDictFromList(field_list)
Have I got to create a ticket?
Regards.
Mario.-
--~--~-~--~~~---~--~~
You received this message because you are subscribed to
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/d
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
I've got a problem with escape filter. I need to convert \n to ,
however I don't need a new line beetween a line as the linebreaks
filter does.
If I add a .replace('\n', '') in the escape method() from
django.utils.html I've got that I want.
What can we do about it? a new filter or add ano
Hi, I'm a Spanish native speaker from Chile. I use django in
productions systems and I've seen the po files. Some msgid's are not
translated and I want to help with that. Also, there's an es_AR but
not es_CL, I'd like to help with that to :-)
is ok with you?
--
http://www.advogato.org/perso
I'd like to try to fix the bug for ticket #2522 and #2470
(both are apparently the same).
I'm studying the code and trying to understand the possible reason
for ther error. Although new to Django, I have a reasonable
knowledge of Python. However, I'd like some help from someone more
experienced w
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
nd say that this
project looks like a really alternative on other tools and
technologies that has come nowadays.
Thanks again
Mario Caseiro
São Paulo - Brasil
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
"Django
42 matches
Mail list logo