Re: Proposal: Widget Templates

2008-09-05 Thread Aidas Bendoraitis
t has settled > on v1.0, we will be able to give your proposal the attention it > deserves. So as Django 1.0 has been finally released, should we open a discussion about templates for standard and custom widgets? Best wishes! Aidas Bendoraitis [aka Archatas] --~--~-~--~~-

Proposal: Widget Templates

2008-08-23 Thread Aidas Bendoraitis
Hello folks! Django cares about model-view-controller separation, but the HTML for the widgets is hardcoded in the render method. I would propose to have overridable templates for the widgets, so every project could have specific presentation of widgets in the system (render method should take a

Re: Dynamically adding methods and properties - Good or Bad?

2007-12-20 Thread Aidas Bendoraitis
to confuse the beginners with the possibilities of Python, so that nobody would think that monkeypatching is a good practice (until I evaluate that to myself, how good or bad it is). Regards, Aidas Bendoraitis aka Archatas P.S. Happy upcoming winter holidays, everyone! On Dec 20, 2:35 am, &qu

Dynamically adding methods and properties - Good or Bad?

2007-12-19 Thread Aidas Bendoraitis
riting all admin app and other User-related parts of Django. Do you consider this approach for extending existing code as a smart python programming solution or an ugly hack? Regards, Aidas Bendoraitis aka Archatas --~--~-~--~~~---~--~~ You received this messa

Re: "@cache_page" bug...

2007-06-25 Thread Aidas Bendoraitis
In this regard, I agree with Jedie. The documentation should really never show non-working examples. Aidas Bendoraitis aka Archatas On 6/25/07, jedie <[EMAIL PROTECTED]> wrote: > > OK, i accepted: The documentation should not document bugs. This is > the job for trac. > But

Re: editable attribute limitation

2007-04-10 Thread Aidas Bendoraitis
Sorry, it seems, that I misunderstood something, because I was reading only this discussion, but not the ticket information. Regards, Aidas Bendoraitis aka Archatas On 4/10/07, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote: > > Done: > > http://code.djangoproject.com/ticket/39

Re: editable attribute limitation

2007-04-10 Thread Aidas Bendoraitis
isible=False or hidden=True, that would hide the system fields. Or field names with the underscore at the beginning could be handled as invisible from content administrators. Regards, Aidas Bendoraitis aka Archatas On 4/10/07, Malcolm Tredinnick <[EMAIL PROTECTED]> wrote: > > On Mon

Re: {% with %} tag

2007-03-24 Thread Aidas Bendoraitis
Wouldn't it be more convenient not to have the closing {% endwith %}? Once you defined a variable, you could use it anywhere in the template without taking care about closing tags. Regards, Aidas Bendoraitis [aka Archatas] On 3/24/07, Baptiste <[EMAIL PROTECTED]> wrote: > > F

Re: New field proposal

2007-02-23 Thread Aidas Bendoraitis
validator is enough for such a restriction that you need. And it would be much more important to implement BLOB fields for saving binary files in the database. Regards, Aidas Bendoraitis [aka Archatas] On 2/22/07, mario__ <[EMAIL PROTECTED]> wrote: > > Hello, I've been doing some

Re: Encouraging contributed documentation

2007-01-24 Thread Aidas Bendoraitis
prefer the index of all main entities and keywords pointing to appropriate help pages). Regards, Aidas Bendoraitis aka Archatas On 1/24/07, Vadim Macagon <[EMAIL PROTECTED]> wrote: > > +1 > > I'd also like to see a script that generates a CHM (Compiled HTML Help) > fro

Re: Thinking out loud: move auth.Messages into the sessions app?

2006-12-12 Thread Aidas Bendoraitis
+1 for moving messages to sessions as well Regards, Aidas Bendoraitis [aka Archatas] On 12/12/06, Favo <[EMAIL PROTECTED]> wrote: > > We have a abstract for message, if anonymous, use add_session_message, > if auth user, use add_auth_user_message. > > +1 if django move au

Re: inline_models as a replacement for edit_inline?

2006-11-16 Thread Aidas Bendoraitis
HORIZONTAL style for many-to-many selection fields and so on. Regards, Aidas Bendoraitis [aka Archatas] On 11/15/06, Rob Hudson <[EMAIL PROTECTED]> wrote: > > I stumbled across this ticket with patch a couple months ago. I > thought of it recently and wanted to bring it to the a

Re: Branch Merges?

2006-11-15 Thread Aidas Bendoraitis
Thanks for explanation, Jeremy. Regards, Aidas Bendoraitis [aka Archatas] On 11/15/06, Jeremy Dunck <[EMAIL PROTECTED]> wrote: > > On 11/15/06, Aidas Bendoraitis <[EMAIL PROTECTED]> wrote: > > > > I am just curious, what the status of per-object-permissions branc

Re: Branch Merges?

2006-11-15 Thread Aidas Bendoraitis
branch so that they could be merged. Regards, Aidas Bendoraitis [aka Archatas] On 11/12/06, telenieko <[EMAIL PROTECTED]> wrote: > > Hi, > You could also set "milestones" on a branch to make it easier to track > tickets for a specific branch, therefore you could see how

Re: proposal: list_related_links

2006-11-15 Thread Aidas Bendoraitis
+1 for such a possibility. I think, you should edit somewhere around django/db/models/options.py and django/contrib/admin. Regards, Aidas Bendoraitis [aka Archatas] On 11/15/06, va:patrick.kranzlmueller <[EMAIL PROTECTED]> wrote: > > within a change-list, there is always one item

Re: how are you handling i18n and m10l content?

2006-11-14 Thread Aidas Bendoraitis
# translatable fields Translatable content seems to be a core functionality for websites, therefore there should be a mechanism or at least best practices to implement that. Regards, Aidas Bendoraitis [aka Archatas] --~--~-~--~~~---~--~~ You received this message

Re: off-topic: filebrowser svn setup

2006-11-06 Thread Aidas Bendoraitis
Congratulations about setting up the FileBrowser under svn! By the way, if the FileBrowser project is open to public, what is the URL for the latest and greatest revision? Regards, Aidas Bendoraitis On 11/5/06, patrickk <[EMAIL PROTECTED]> wrote: > > thanks. > > Am 05.11.200

Re: embedding views question

2006-10-24 Thread Aidas Bendoraitis
Hello Rob!Yes. To implment that you can use either a custom view or a generic view and a custom template tag.But at first you should really read and get used to official Django tutorial and other documentation: http://www.djangoproject.com/documentation/Good luck!Aidas Bendoraitis [aka Archatas]On

Re: Proposal: .sum() .max() etc methods to a queryset

2006-10-11 Thread Aidas Bendoraitis
I think, you should be able to do that with the method extra() at the moment: http://www.djangoproject.com/documentation/db_api/#extra-select-none-where-none-params-none-tables-none Anyway I am +1 for this proposal, as it would make things easier and faster. Regards, Aidas Bendoraitis [aka

Re: Can I respond to table cell mouse clicks without using JavaScript?

2006-10-02 Thread Aidas Bendoraitis
I'm sure, SmileyChris had in mind http://yourdomain/path?handler={{ some_value }}">text (not text), which would send the request for a table cell to the server and after the page refresh, the user would see somehow modified table cell or other data. regards, Aidas Bendoraitis [aka

Re: Cannot search ForeignKeys that can be null?

2006-10-02 Thread Aidas Bendoraitis
I reported a similar error long time ago and it seems that it is still not corrected: http://code.djangoproject.com/ticket/2280 regards, Aidas Bendoraitis [aka Archatas] On 9/15/06, Bjørn Stabell <[EMAIL PROTECTED]> wrote: > > Given these two example models and sample data: >

Re: Local unicode-related fixes

2006-09-19 Thread Aidas Bendoraitis
+1 I'm also for Django unicodization. Regards, Aidas Bendoraitis [aka Archatas] On 9/19/06, Max Derkachev <[EMAIL PROTECTED]> wrote: > > +1 > Let the thing begin. > > Regards, > Max. > > > > > --~--~-~--~~~---~--~---

Is select_related() gonna be possible with models.GenericRelation()?

2006-08-11 Thread Aidas Bendoraitis
tables of the models related using generic relation into the SQL query statement. Is this going to be implemented in the nearest future? What are the alternatives? Let's say, I need to show the lists of things filtered or ordered according either properties of things or properties of related tag

Re: django unicode-conversion, beginning

2006-08-09 Thread Aidas Bendoraitis
es of models containing multilingual characters via python script file. Regards, Aidas Bendoraitis [aka Archatas] On 8/9/06, Malcolm Tredinnick <[EMAIL PROTECTED]> wrote: > > Hey Gabor, > > On Wed, 2006-08-09 at 01:03 +0200, gabor wrote: > > today i experimented a littl

Re: CustomAddManipulator -- Is this useful to anyone else?

2006-08-04 Thread Aidas Bendoraitis
? Regards, Aidas Bendoraitis [aka Archatas] On 8/4/06, Mikeal Rogers <[EMAIL PROTECTED]> wrote: > > I have to update multiple models a lot via post, and I love the > django AddManipulators but they don't help that much out of the box > because they are tied to a specific mo

OneToOneField: final clarifying

2006-07-25 Thread Aidas Bendoraitis
but there is no form field for it. Does the latest SVN version still has the same problem and should I use OneToOneField for one-to-one relationships at all? Regards, Aidas Bendoraitis [aka Archatas] --~--~-~--~~~---~--~~ You received this message because you are su

Re: Question on OneToOneField

2006-07-19 Thread Aidas Bendoraitis
, edit_inline=models.TABULAR, num_in_admin=1,min_num_in_admin=1, max_num_in_admin=1,num_extra_on_change=0) 2. Overwrite the overwritten primary_key property: user = models.OneToOneField(User) user.primary_key = False I hope these tricks will be helpful. Good luck! Aidas Bendoraitis [aka Archatas

Django, Dojo, PIL and Image Upload Problems

2006-04-11 Thread Aidas Bendoraitis
hould be asked in django_users group, then I will resend this message there. Thank you for your attention. Sincerely, Aidas Bendoraitis aka Archatas --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Django devel