I'd say put 'em there!
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
"Django users" group.
To post to this group, send email to django-users@googlegroups.com
To unsubscribe from this group, send email to [EMAIL
'time' and 'sql' are set at
CursorDebugWrapper(django.db.backends.util.py).
I wrote debug middleware for MR(2509) and I think it works even now.
http://www.everes.net/django-db-debug-out-middleware/
Attention, you must set settings.DEBUG to TRUE,not only this middleware
but also using
hi all,
I would like to know if simon's AbstractSearching still working with
the django m-r branch?
https://simon.bofh.ms/cgi-bin/trac-django-projects.cgi/wiki/AbstractSearching
Regards,
- Eric
--~--~-~--~~~---~--~~
You received this message because you are
Yes, you are right, but I send the message here by mistake. SorryOn 4/26/06, Clint Ecker <[EMAIL PROTECTED]
> wrote:
On 4/25/06, [EMAIL PROTECTED]
<[EMAIL PROTECTED]
> wrote:Hi all,I've updated svn trunk, fix entries at demo shop so admin demo will
work:http://dshop.mine.nu/shop/pages/Demo/Fill
On 4/25/06, Rudolph <[EMAIL PROTECTED]> wrote:
The above fixes the issue, but to completely remove all uppercasednames also do:BEGIN;UPDATE django_content_type set name='group' where model='group';UPDATE django_content_type set name='user' where model='user';
COMMIT;Thanks for putting those
I have a model which will have a lot of related objects (one type of
object).
It would be cool to be able to use edit_inline and just show the last X
objects or something, rather than 40+ inline objects.
I see there is "max_num_in_admin", but that stops the ability to add in
new ones once the
On 04/25/06 13:56, tomass wrote:
> Hi Folks,
>
> I'm trying to fork a new process using os.fork(), and everything seems
> to be working well, except that I need to then reference django models
> from the forked process. This seems to mean I need to reimport all the
> relevant modules into the
Hi all,
I've updated svn trunk, fix entries at demo shop so admin demo will
work:
http://dshop.mine.nu/shop/pages/Demo/
Fill free to play with admin add products,etc
Regards,
Michael
--~--~-~--~~~---~--~~
You received this message because you are
The above fixes the issue, but to completely remove all uppercased
names also do:
BEGIN;
UPDATE django_content_type set name='group' where model='group';
UPDATE django_content_type set name='user' where model='user';
COMMIT;
--~--~-~--~~~---~--~~
You received
Fix this in PostgreSQL like this:
BEGIN;
UPDATE auth_permission set name='Can add group' where
codename='add_group';
UPDATE auth_permission set name='Can change group' where
codename='change_group';
UPDATE auth_permission set name='Can delete group' where
codename='delete_group';
UPDATE
Seems to me it looks like a bug in the m-r branch.
django/db/models/query.py, line 430:
was:
if "." not in col_name and col_name not in [k[0] for k in (self._select
or ())]:
should be:
if "." not in col_name and col_name not in [k for k in (self._select or
())]:
for k[0] will be the first
This should be on the Magic Removal wiki page, including SQL commands
to update the records. I'll create the PostgreSQL commands within a few
hours and post them here.
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
Sweet, thanks alot. A welcome addition.
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
"Django users" group.
To post to this group, send email to django-users@googlegroups.com
To unsubscribe from this group, send
Hi there!
Finally got some part of the site working under M-R. It's a major edit
due to our large code base, complex models and many custom template
tags... :( I will try to post some of the things I learned along the
way when I get this done...
Here is the problem I'm having with right now:
Old
On Tuesday 25 April 2006 06:52, tomass wrote:
> Well, basically I have processes that could take minutes to
> execute, and I'd like to background them, serve up a page showing
> the status, and then allow users to view the output once they've
> completed.
>
> Thanks, Tom
mod_python has/had a
After updating to revision 2747 this morning I tried installing a new app in my project and found Django trying to reinstall permissions. After a bit of digging I found out that my "names" in auth_permissions had uppercase chars in them instead of lowercase (ie. 'Can add Group' instead of 'Can
I poked through the mailing list here and never saw a solution for digging through the SQL query stack in MR as you were able to do in old-world-django, ala:
http://www.djangoproject.com/documentation/faq/#how-can-i-see-the-raw-sql-queries-django-is-runningI did some grepping and looked through
On 4/25/06, Michael Radziej <[EMAIL PROTECTED]> wrote:
Christian Schneider wrote:> On 4/25/06, Michael Radziej <[EMAIL PROTECTED]> wrote: Christian Schneider wrote:>>> Michael,>>>
>>> I'm still using a generic view. I played with some custom functions>> before>>> and they were called so I'd
Christian Schneider wrote:
> On 4/25/06, Michael Radziej <[EMAIL PROTECTED]> wrote:
>>
>> Christian Schneider wrote:
>>> Michael,
>>>
>>> I'm still using a generic view. I played with some custom functions
>> before
>>> and they were called so I'd hoped that it would work with the validator
>>>
On 4/25/06, Michael Radziej <[EMAIL PROTECTED]> wrote:
Christian Schneider wrote:> Michael,>> I'm still using a generic view. I played with some custom functions before> and they were called so I'd hoped that it would work with the validator
> objects as well.I looked in the source. Aha! First
Christian Schneider wrote:
> Michael,
>
> I'm still using a generic view. I played with some custom functions before
> and they were called so I'd hoped that it would work with the validator
> objects as well.
I looked in the source. Aha! First parameter to RequiredIfOtherField is
the *name* of
Michael,I'm still using a generic view. I played with some custom functions before and they were called so I'd hoped that it would work with the validator objects as well.Regardschris
On 4/25/06, Michael Radziej <[EMAIL PROTECTED]> wrote:
Christian Schneider wrote:> However, no matter what value
Christian Schneider wrote:
> However, no matter what value recording_type has, the validator is not
> called. What I find funny is that the validator's __call__ method takes
> three values (self, field_data, all_data) while custom validator functions
> specified with validator_list take only
tomass wrote:
> Well, basically I have processes that could take minutes to execute,
> and I'd like to background them, serve up a page showing the status,
> and then allow users to view the output once they've completed.
Hmm. I don't know what it takes to get a clean independent fork so that
no
Well, basically I have processes that could take minutes to execute,
and I'd like to background them, serve up a page showing the status,
and then allow users to view the output once they've completed.
Thanks, Tom
--~--~-~--~~~---~--~~
You received this message
Hi all,I want to specify some dependencies in my model (magic removal) and want to use django.core.validators.RequiredIfOtherFieldEquals for that.My model contains the following code:from django.core
import validatorsrecording_type = models.IntegerField( choices=RECORDING_TYPE_CHOICES,
tomass wrote:
> Hi Folks,
>
> I'm trying to fork a new process using os.fork(), and everything seems
> to be working well, except that I need to then reference django models
> from the forked process. This seems to mean I need to reimport all the
> relevant modules into the function that's
Hi Folks,
I'm trying to fork a new process using os.fork(), and everything seems
to be working well, except that I need to then reference django models
from the forked process. This seems to mean I need to reimport all the
relevant modules into the function that's running as a forked process,
Denis wrote:
> If so, then it (the file) shouldn't be deleted when you delete()
> the object? Also, M/R branch seems has no methods like
> _pre_save/_post_save,
> instead you can subclass save/delete methods. There are some references
> in db.models.signals, dont know how to use them though
You
Malcolm,sorry for the late reply ...On 4/24/06, Malcolm Tredinnick <[EMAIL PROTECTED]> wrote:
Ignore my previous mail and all the judgement values it contains. Gladyou solved your problem.
anyway, thanks a lot. It's good to have a lively community. I hope I'll be in shape to contribute soon.chris
30 matches
Mail list logo