Re: Provide a simpler way to default runserver IP/port to 0.0.0.0:8000

2019-07-18 Thread Mario Frasca
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

Uniform content type tables with multiple databases

2016-11-02 Thread Mario Taddei
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

AUTO: Mario Briggs is out of the office -

2013-09-20 Thread Mario Ds Briggs
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

Re: Database pooling vs. persistent connections

2013-02-18 Thread Mario Briggs
/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

Re: New Release of IBM_DB_DJANGO (1.0.4)

2012-05-22 Thread Mario Briggs
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

Re: Django and the Eyjafjallajökull eruption

2010-07-04 Thread Mario Briggs
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

Re: Problem with history view in admin page

2010-01-07 Thread Mario Briggs
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

Re: Problem with history view in admin page

2010-01-06 Thread Mario Briggs
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 -

Re: Oracle backend TextField unique=True error

2010-01-03 Thread Mario Briggs
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

Re: Oracle backend TextField unique=True error

2009-12-21 Thread Mario Briggs
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

Re: Oracle backend TextField unique=True error

2009-12-20 Thread Mario Briggs
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

Re: Problem with history view in admin page

2009-12-10 Thread Mario Briggs
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.

Re: Problem with history view in admin page

2009-12-09 Thread Mario Briggs
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

Re: Problem with history view in admin page

2009-12-02 Thread Mario Briggs
- 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

Re: Problem with history view in admin page

2009-11-27 Thread Mario Briggs
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

Re: Problem with history view in admin page

2009-11-24 Thread Mario Briggs
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

Re: Problem with history view in admin page

2009-11-23 Thread Mario Briggs
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

Re: Public spec is needed for writing ORM adapters

2008-05-16 Thread Mario Briggs
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

Re: Queryset in newforms

2007-09-28 Thread Mario Gonzalez
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

Re: Queryset in newforms

2007-09-27 Thread Mario Gonzalez
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

Re: Queryset in newforms

2007-09-27 Thread Mario Gonzalez
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

Queryset in newforms

2007-09-27 Thread Mario Gonzalez
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

Ticket 4928

2007-07-29 Thread Mario Gonzalez
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

Re: Django 1.0?

2007-07-22 Thread Mario Gonzalez
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

Re: Django 1.0?

2007-07-21 Thread Mario Gonzalez
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

Django 1.0?

2007-07-19 Thread Mario Gonzalez
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

Re: Ticket 3505, Authentication backend

2007-07-18 Thread Mario Gonzalez
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

Re: Ticket 3505, Authentication backend

2007-07-12 Thread Mario Gonzalez
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

Bug in template system?

2007-06-21 Thread Mario Gonzalez
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

wrong names in variables. startapp rutine

2007-04-09 Thread Mario Gonzalez
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

Get function name after....

2007-03-27 Thread Mario Gonzalez
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(

Authentication issue (Proposal)

2007-03-22 Thread Mario Gonzalez
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

Escape Filter

2007-03-16 Thread Mario
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

Help to translate

2006-12-05 Thread Mario
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

Help on solving ticket #2522 and #2470

2006-11-06 Thread mario
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

Re: Modification in the django.db.backends.postgresql.base

2006-10-17 Thread Mario Gonzalez ( mario__ )
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

Re: Database race conditions when using multiple processes

2006-10-16 Thread Mario Gonzalez ( mario__ )
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

Find the Cookie owner

2006-10-12 Thread Mario Gonzalez ( mario__ )
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

Re: New filter proposal: None -> Blank Space

2006-10-11 Thread Mario Gonzalez ( mario__ )
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

Re: New filter proposal: None -> Blank Space

2006-10-11 Thread Mario Gonzalez ( mario__ )
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 >

New filter proposal: None -> Blank Space

2006-10-11 Thread Mario Gonzalez ( mario__ )
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

Subscription & is there a Translation Team?

2006-10-06 Thread Mario Cintra
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