Thanks Luke for writing this up and representing all views. I am the
proponent of "we are all adults here".
On Thu, Jun 14, 2012 at 6:48 AM, Anssi Kääriäinen
wrote:
> ...
> I hadn't realized all fields present on the Python form but not in the
> HTML form will get overwritten to NULL... The above
> On Tue, Jun 19, 2012 at 8:42 PM, Honza Král wrote:
>> I believe exclude is way more useful than fields (I do see the
>> security advantage but in my mind this is the case where convenience
>> beats security, also still afraid of the fields = [f.name for f in
>> ...
+1
Thanks for pushing for this!
On Jul 25, 2014 5:22 PM, "Jacob Kaplan-Moss" wrote:
> +1.
>
> Aymeric, I can't thank you enough for taking this on and running with it.
>
> Jacob
>
>
> On Fri, Jul 25, 2014 at 7:20 AM, Chris Foresman
> wrote:
>
>> As a non-core community member, I welcome a strea
value list rather than an object - but
> that's perfectly consistent with the behaviour of values() currently.
> However, in the simple case - where you are grouping by full object
> instances - I don't see why we shouldn't return object instances.
>
> Yours,
> Russ
ns on that?
> my 2 cents
>
> --
> cu
>
> Wolfram
>
> >
>
--
Honza Král
E-Mail: [EMAIL PROTECTED]
ICQ#: 107471613
Phone: +420 606 678585
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
y, each main-line .py file having a
> corresponding unit-test file. Is there a convenient way to do this in
> Django?
> >
>
--
Honza Král
E-Mail: [EMAIL PROTECTED]
ICQ#: 107471613
Phone: +420 606 678585
--~--~-~--~~~---~--~~
You received this message
on.
>
> Is this possible, or does this need to be done using some sort of
> javascript hack?
>
--
Honza Král
E-Mail: [EMAIL PROTECTED]
ICQ#: 107471613
Phone: +420 606 678585
--~--~-~--~~~---~--~~
You received this message because you are subscribed to t
ing that this
will fail on PostgreSQL and do it anyways)
What do people think?
a) Leave it
b) add the sorting field to the result
c) try and prevent it by dropping or filtering order_by columns
--
Honza Král
E-Mail: [EMAIL PROTECTED]
ICQ#: 107471613
Phone: +420 606 678585
--~--~-~
hink we need a way to distinguish between what parts of
>> > the template should fail silently, and what parts should not. Perhaps
>> > some sort of filter or tag or combination thereof. Not unlike
>> > autoescaping -- fail
fequal 0 1 %}{% load non_existant_tag_library %}{% endifequal %}
>
> ... because non_existant_tag_library doesn't exist. This should not
> raise a TemplateSyntaxError.
>
> I've submitted a patch on ticket #7251 to correct this. Thanks!
>
> -jag
>
> >
>
ad the library at parsing time to access the parsing
functions, there is no going around that... It might nit be ideal, but
I don't see any other way this could go with the current logic of
templates
>
> -jag
>
> On Fri, May 16, 2008 at 5:01 PM, Honza Král <[EMAIL PROTECTED]> wro
; I'm sure I'm not the only one that needs this and can't seem to get it
>>> > done myself, so maybe this is a useful feature that could be added by
>>> > someone with a better understanding of the admin internals?
>>>
>>> --
>>> Best reg
, it looks pretty good to me. One suggestion - the
> 'can_order' option needs a little more elaboration on how the order
> field can actually be used - i.e., how do I use the order field to
> effect organization in my children?
>
> Yours,
> Russ Magee %-)
>
> >
>
-
from
> scratch)
> * Changing the application labels that appear in the admin homepage -
> we needed to do this and it ended up being a complete nightmare (our
> end users don't want to see an interface full of obscure terms like
> gcap_sectiona
Honza Král
E-Mail: [EMAIL PROTECTED]
ICQ#: 107471613
Phone: +420 606 678585
On Thu, Jun 12, 2008 at 10:32, Gábor Farkas <[EMAIL PROTECTED]> wrote:
>
> On Thu, Jun 12, 2008 at 4:03 AM, Jacob Kaplan-Moss
> <[EMAIL PROTECTED]> wrote:
>>
>> "Maybe" features
On Thu, Jun 12, 2008 at 16:39, Jacob Kaplan-Moss
<[EMAIL PROTECTED]> wrote:
>
> On Thu, Jun 12, 2008 at 3:32 AM, Gábor Farkas <[EMAIL PROTECTED]> wrote:
>>
>>> 5. Model-level validation (#6845).
> [...]
>> and i thought it's in the plan to have this in 1.0.
>
> It is, assuming it gets done. Las
#x27;t just for posting, but in my opinion, when I want to use
something like a wizard, I really want POST.
That's -1 from me. I am not opposed to the idea in general, I just
don't feel it's needed and should be in the code.
Honza Král
E-Mail: [EMAIL PROTECTED]
ICQ#: 107471613
Phone: +
DEBUG).
Any thoughts?
thanks
Honza Král
E-Mail: [EMAIL PROTECTED]
ICQ#: 107471613
Phone: +420 606 678585
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
"Django developers" group.
To post to this group
Hi,
I took a great email from Gary Wilson to get me started on the status structure.
Some of the core design decisions were finalised by Jacob, Malcolm
(please scream if I have misunderstood or don't remember things
correctly) and me at DjangoCon.
Honza Král
E-Mail: [EMAIL PROTECTED
think?
Thanks
Honza Král
E-Mail: honza.k...@gmail.com
ICQ#: 107471613
Phone: +420 606 678585
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
"Django developers" group.
To post to this group, send email to dj
Hi,
look into django/db/models/fields/__init__.py and search for 'creation_counter'
Honza Král
E-Mail: honza.k...@gmail.com
ICQ#: 107471613
Phone: +420 606 678585
On Sun, Jan 11, 2009 at 10:19 PM, dauerbaustelle wrote:
>
> Hi there,
>
> I'm writing some python
You are using self.__class__ which is different for foo and bar
(BooleanField), buzz (IntegerField) etc.
use Field.creation_counter instead of self.__class__
Honza Král
E-Mail: honza.k...@gmail.com
ICQ#: 107471613
Phone: +420 606 678585
On Mon, Jan 12, 2009 at 3:15 PM, Jonas Haag wrote
I should be around during the weekend so I will give it a try as well...
Honza Král
E-Mail: honza.k...@gmail.com
ICQ#: 107471613
Phone: +420 606 678585
On Fri, Jan 23, 2009 at 2:56 AM, mrts wrote:
>
> On Jan 23, 3:40 am, Malcolm Tredinnick
> wrote:
>> On Thu, 2009-01-22
Hi,
see inline text.
On Wed, Feb 18, 2009 at 1:28 PM, mrts wrote:
>
> The last unsolved model-validation design issue is the error message
> protocol (my work on fields is waiting on it). Let me present the
> approach that looks sane to me.
>
> The old Field.default_error_messages dict and corre
> I've already talked to a few folks who want to focus
> on this at the PyCon sprints next month. It's looking like model validation
> and
> 1.1 will be like aggregation and 1.0: a feature nearly done that just needs
> another release cycle for full maturity.
It's almost becomming a tradition fo
Hi,
The code on github works (tests pass) but is not ready for production
use. What you can do to help is test and mostly, write tests to help
us get there. There will be a sprint on model-validation during pycon,
which should resolve most of the outstanding issues.
Honza Král
E-Mail: honza.k
http://github.com/ella
Honza Král
E-Mail: honza.k...@gmail.com
Phone: +420 606 678585
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
"Django developers" group.
To post to this group, send email to dj
)
* Move the validation logic from form Fields into validators
seamlessly (2 weeks)
Part of the work will be covered by existing test cases testing the
current ModelForms behavior. I will add test cases for newly created
code and possibilities.
Honza Král
E-Mail: honza.k...@gmail.com
Phone
e answers.
0 - http://honzakral.com/validation.pdf
Honza Král
E-Mail: honza.k...@gmail.com
Phone: +420 606 678585
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
"Django developers" group.
To post t
validator(value, all_values={}, model_instance=None): ...
I will start actual work the week after the next one, I will start
with porting the unique validation and writing more tests (possibly
migrating some tests from doctest to unittests).
Honza Král
E-Mail: honza.k...@gmail.com
Phone:
c955c037176fa3b8ac0580b41eddbf12/tests/modeltests/validation/tests.py
3 -
http://github.com/HonzaKral/django/blob/8ee1fe70c955c037176fa3b8ac0580b41eddbf12/tests/regressiontests/model_fields/tests.py#L135
Honza Král
E-Mail: honza.k...@gmail.com
Phone: +420 606 678585
--~--~-~--~~--
alidation logic into validators
* more tests
Honza Král
E-Mail: honza.k...@gmail.com
Phone: +420 606 678585
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
"Django developers" group.
To post to this group, s
Hi,
I will definitely be there. I will be working on my GSoC project
(model validation) and if anybody wants to join me, I would be more
than glad for any testing of the branch in real world applications.
Honza Král
E-Mail: honza.k...@gmail.com
Phone: +420 606 678585
On Mon, Jun 22, 2009 at
Hello,
this is made possible by #6845 which is a Google Summer of Code
project for this year. You can check the progress at
http://code.djangoproject.com/browser/django/branches/soc2009/model-validation
Honza Král
E-Mail: honza.k...@gmail.com
Phone: +420 606 678585
On Wed, Jul 1, 2009 at 1
k etc. They are run on form or model level
when the field passes it's own .clean(). Again all the errors from
validators are aggregated for the field.
Honza Král
E-Mail: honza.k...@gmail.com
Phone: +420 606 678585
--~--~-~--~~~---~--~~
You received this
inheritance patterns. (and burdening people who
don't care about this with the tiny overhead).
Honza Král
E-Mail: honza.k...@gmail.com
Phone: +420 606 678585
On Sun, Jul 26, 2009 at 4:22 PM, Forest Bond wrote:
> Hi,
>
> I have a simple implementation that allows filtering based on wh
On Mon, Jul 27, 2009 at 5:13 AM, Forest Bond wrote:
> Hi Honza,
>
> On Mon, Jul 27, 2009 at 01:59:39AM +0200, Honza Král wrote:
>> you can already do this yourself - just add a FK to ContentType to
>> Transaction and in .save() method assign it the correct value:
&g
On 2/11/07, Gary Wilson <[EMAIL PROTECTED]> wrote:
>
> On Feb 10, 3:36 am, Malcolm Tredinnick <[EMAIL PROTECTED]>
> wrote:
> > Do we need an "enhancement" resolution, or some other way of saying
> > "some day, maybe"? The benefit of this is keeping the very low priority
> > stuff out of the queue o
On 2/11/07, Benjamin Slavin <[EMAIL PROTECTED]> wrote:
>
> I've run into a few situations where I need to pass data into a Form
> for validation.
>
> Consider, for example, a 'change password' form.
> Validation of the current password is required to ensure correct
> authorization.
> To validate t
On 2/12/07, Benjamin Slavin <[EMAIL PROTECTED]> wrote:
>
> On 2/11/07, Honza Kr�l <[EMAIL PROTECTED]> wrote:
> >
> > is this really necessary ? since you always subclass formsForm, why
> > wouldn't you use:
> > class PasswordChangeForm(forms.Form):
> > def __init__( self, user, *args, **kwargs
].widget = some.widget.class()
>
> You can still add clean methods after the fact by assigning functions to
> EntryForm.clean_title, ie:
> EntryForm.clean_title = lambda self: pass # do stuff
>
> --
> Scott Paul Robertson
> ht
table and
newforms branch) if this is not the desired state of things.
Thanks for any comments
--
Honza Král
E-Mail: [EMAIL PROTECTED]
ICQ#: 107471613
Phone: +420 606 678585
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google
On 2/17/07, oggie rob <[EMAIL PROTECTED]> wrote:
>
> > I find it useful to have the {% for %} tag syntax extended so that one can
> > write:
> > {% for a,b in L %} meaning the obvious thing
+1
>
> You can do this. a,b return type is implicitly (a,b) in Python. In
> other words:
> {% for x in L %
On 2/18/07, SmileyChris <[EMAIL PROTECTED]> wrote:
>
>
>
> On Feb 18, 10:10 pm, "Arnaud Delobelle" <[EMAIL PROTECTED]>
> wrote:
> > > However - I acknowledge the use case: Two lists, n items long, that
> > > are from independent sources. I think a separate template tag in the
> > > same vein as {%
On 2/19/07, Jimmy Scott <[EMAIL PROTECTED]> wrote:
>
> Hello developers,
>
> To be aware of the background, it started with ticket #3507.
>
> What I define to be the problem is: if you roll your own public key,
> you have a chance that someone else also gets or chooses the same
> value as a public
I think we should really move this to the developers' list
On 2/23/07, Tim Chase <[EMAIL PROTECTED]> wrote:
>
> >> I haven't yet figured out a way to suppress the order_by portion,
> >> so what's currently in there is an ugly hack. But it would need
> >> to prevent the standard methods from inser
On 2/25/07, Malcolm Tredinnick <[EMAIL PROTECTED]> wrote:
>
> I noticed today that a new GIS branch has been created, which includes a
> goal to develop a custom QuerySet-derivative. There has also been a
> discussion on trying to work out an API for aggregates, which seems to
> be moving along, al
On 3/1/07, Rubic <[EMAIL PROTECTED]> wrote:
>
> On Mar 1, 3:12 pm, "James Bennett" <[EMAIL PROTECTED]> wrote:
> > AFAIK it will be migrated eventually to being 'max_length' everywhere,
> > but probably not for this release because that's a
> > backwards-incompatible change.
>
> One possibility woul
On 2/26/07, Russell Keith-Magee <[EMAIL PROTECTED]> wrote:
>
> On 2/25/07, Malcolm Tredinnick <[EMAIL PROTECTED]> wrote:
> >
> > What would the new (QuerySet) world order look like
> >
> > What I propose to do is to split out the SQL construction
quot;t0"."user_id", "t0"."content_type_id",
"t0"."object_id", "t0"."object_repr", "t0"."action_flag",
"t0"."change_message"
FROM
"django_admin_log" as "t0" INNER JOIN "auth_
On 3/13/07, Norjee <[EMAIL PROTECTED]> wrote:
>
> Both have the behaviour that "the current date is always used". For
> auto_now, it meas it is impossible to set a custom timestamp. For
> auto_now_add it means you first have to create the object, save it,
> set custom stamp, save again.
>
> First i
Hi,
On 3/22/07, Mario Gonzalez <[EMAIL PROTECTED]> wrote:
>
> 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
On 3/26/07, Wolfram Kriesing <[EMAIL PROTECTED]> wrote:
>
> I would like to change the table of a model on the fly.
> I was looking into the Manager code, but since the get_query_set()
> method in there uses the model as is, changing the
> model._meta.db_table would most probably change the db_tabl
On 3/27/07, Marc Fargas Esteve <[EMAIL PROTECTED]> wrote:
> Hi,
> If you provide a BinaryField it's just a matter of time that "hacks" will
> start to go out on blogs, the wiki or even django-users to get ImageField
> and FileField on the database (there's a hack on this already), maybe it's
> 99%
On 3/30/07, topper <[EMAIL PROTECTED]> wrote:
>
> Hi,
>
> I've just (maybe stupidly on my behalf) spent an hour digging through
> Django code to find out why Django thought the template at $HOME/web/
> my_site/templates/home_page.html doesn't exist. The answer is that I
> in the TEMPLATE_DIRS tuple
On 4/2/07, Adrian Holovaty <[EMAIL PROTECTED]> wrote:
>
> On 4/1/07, SmileyChris <[EMAIL PROTECTED]> wrote:
> > I'm not sure if there's a ticket for this, but I remember talk about
> > it being an unnecessary wart which was going to be removed eventually.
> > Is it in the 1.0 plan?
>
> Yes, I'd lik
On 4/9/07, Marc Fargas Esteve <[EMAIL PROTECTED]> wrote:
> Hi,
>
> On 4/8/07, Adrian Holovaty <[EMAIL PROTECTED]> wrote:
> > * The name "values" is a bit too abstract -- it took me a while to
> > figure out exactly what this framework *does*. Maybe something like
> > "editable constants" or "model-
the queryset refactoring must (well, should) happen before aggregation
support. After the refactoring, it should be relatively easy to put in
the aggregations.
see:
http://code.djangoproject.com/ticket/3566
http://groups.google.com/group/django-developers/browse_frm/thread/691da1d6e3b0661d/3e7aaad
On 4/13/07, Russell Keith-Magee <[EMAIL PROTECTED]> wrote:
>
> On 4/13/07, Honza Kr�l <[EMAIL PROTECTED]> wrote:
> > the queryset refactoring must (well, should) happen before aggregation
> > support. After the refactoring, it should be relatively easy to put in
> > the aggregations.
> >
> > see:
>
sorry, forgot to include the group_by columns in the select clause:
> qset.values('field', 'field2', 'field3__sum', 'f4__count', ...) < = >
> SELECT field, field2, SUM(field3), count(f4) FROM some_table GROUP BY field,
> field2;
--~--~-~--~~~---~--~~
You received
Hi Russ,
great comments, thanks.
On 4/16/07, Russell Keith-Magee <[EMAIL PROTECTED]> wrote:
>
> Hi Honza,
>
> Over the weekend, I tried responding to our last message inline, but
> my response kept getting long and confused. So, I've summarized my
> thoughts. I have three problems with your propos
On 4/17/07, Malcolm Tredinnick <[EMAIL PROTECTED]> wrote:
>
> On Mon, 2007-04-16 at 21:55 +0800, Russell Keith-Magee wrote:
> [...]
> > > btw. refactoring the queryset code is necessary for this to work, so
> > > perhaps we should focus our efforts there first. Maybe something will
> > > emerge fro
On 4/22/07, aaloy <[EMAIL PROTECTED]> wrote:
>
> Hello All!
Hello,
>
> I have a view like
>
> def record(request, id, type):
> # some database code here
> # some log code here
> record=cache_page(record,60)
>
> If I have correctly understood the documentation, if I maque a request
> to that view
On 4/22/07, aaloy <[EMAIL PROTECTED]> wrote:
>
> 2007/4/22, Honza Kr�l <[EMAIL PROTECTED]>:
> > On 4/22/07, aaloy <[EMAIL PROTECTED]> wrote:
> > >
> > > Hello All!
> > Hello,
> >
> > >
> > > I have a view like
> > >
> > > def record(request, id, type):
> > > # some database code here
> > > # some
with newforms. Is there any work done there?
How does this look to everybody, anybody interested?
comments are most welcome.
Honza
--
Honza Král
E-Mail: [EMAIL PROTECTED]
ICQ#: 107471613
Phone: +420 606 678585
--~--~-~--~~~---~--~~
You received this message becaus
Hi all,
we recently stumbled on a similar problem, but not specifically
related to (new)forms... we are rendering articles with some boxes
(polls, images, quizes etc.) and some of these boxes need specific
media files to be linked to the page. We put together a simple
mechanism for allowing this (j
On 5/27/07, Jeremy Bowers <[EMAIL PROTECTED]> wrote:
>
> Russell Keith-Magee wrote:
> >
> >
> >
> >
> >
> >
> >
>
> This is a bad thing. Requests are extremely expensive and this is
> encouraging scenarios where you end up with 30, 40, maybe more little
> CSS and JS files. I'd never deploy th
dated the patch to cooperate with current version. Tests are
included. Could any of the core devs spare five minutes of their time
and look over it please? It shouldn't take any longer (the patch only
have 77 lines).
thank you very much
HK
--
Honza Král
E-Mail: [EMAIL PROTECTED]
ICQ#: 10747
Has anything changed since Adrian ruled optgroups as unwanted?
see
http://code.djangoproject.com/ticket/3262
and
http://groups.google.com/group/django-developers/browse_frm/thread/b27f19d932c84316/37a4fa049dc63733?lnk=gst&q=optgroup
On 5/31/07, Russell Keith-Magee <[EMAIL PROTECTED]> wrote:
>
>
the column.
What do you think?
Thanks
--
Honza Král
E-Mail: [EMAIL PROTECTED]
ICQ#: 107471613
Phone: +420 606 678585
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
"Django developers" group.
To post to
Hello,
what is the current status of newforms-admin? We just started
developing a major project with it and we will need the edit_inline
functionality. Is there any chance this will be supported in next few
weeks?
Since we really need newforms-admin for this project, my employer
agreed to pay me t
On 6/8/07, Joseph Kocherhans <[EMAIL PROTECTED]> wrote:
>
> On 6/7/07, Adrian Holovaty <[EMAIL PROTECTED]> wrote:
> >
> > On 6/7/07, Honza Kr�l <[EMAIL PROTECTED]> wrote:
> > > Since we really need newforms-admin for this project, my employer
> > > agreed to pay me to work on the newforms-admin if
All the other IF* tags have else clause, I see no reason why ifchanged
should be alone without it.
I say +1 for consistency
On 6/11/07, Malcolm Tredinnick <[EMAIL PROTECTED]> wrote:
>
> I don't want to start an opening/closing battle in Trac, so I'll bring
> this up here: I'm almost convinced by
easy for me, thanks.
--
Honza Král
E-Mail: [EMAIL PROTECTED]
ICQ#: 107471613
Phone: +420 606 678585
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
"Django developers" group.
To post to this group, s
On 6/24/07, Joseph Kocherhans <[EMAIL PROTECTED]> wrote:
>
> On 6/24/07, Tomi Pievil�inen <[EMAIL PROTECTED]> wrote:
> >
> > Will there be a possibility to use edit_inline with a model that
> > doesn't have a parent model in newforms admin? It would be really
> > useful to see other lines when you
Hi,
On 6/29/07, bhaskar jebamani <[EMAIL PROTECTED]> wrote:
>
> Hi
>
> I m a new Django programmer. I m struggling with one stuff can u help
> me.
Welcome
>
> The problem is :
>
> I created a dynamic form which is connected to database. I have used
> text boxes for accepting strings and integer
On 7/1/07, Vladimir Pouzanov <[EMAIL PROTECTED]> wrote:
>
> Hi all,
>
> Is there any reason for having not-unique email field in User model?
> I'm going to duplicate email in my 1-to-1 model to make it unique, and
> it doesn't look like a clean solution.
If you want to do just that you could just
On 7/5/07, David Cramer <[EMAIL PROTECTED]> wrote:
>
> Ya cache invalidation is something you'll always have a problem with.
> The clean() method can be used (at the end of a queryset, or on the
> Manager itself) to force the invalidation.
We have been working on this issue recently and came up wi
vić - nesh, ICQ#43799892, http://www.linkedin.com/in/
> neshdj
> Studio Quattro - Niš - Serbia
> http://studioquattro.biz/ | http://code.google.com/p/django-utils/
> Registered Linux User 282159 [http://counter.li.org]
>
>
>
> >
>
--
Honza Král
E-Mail: [EMAIL PROTECTED]
able names so I returned to this approach. (I know, I know,
> > model subclassing don't work, yet ;) )
> >
> > Tried this code on the one of the my projects and it's working nice
> > (no real testing tough).
> >
> > --
> > Nebojša Đorđević - nes
The problem being that count(*) is not
> an optimised operation in PostgreSQL, however, we haven't yet split up
> those cases in a lot of the code (the recent Oracle merge moved a bunch
> of similar things to the count(*) case and I keep meaning to look at
> whether we can move the
Do you really need this? I am currently keeping my own two branches in
git repository, that I synchronize with the master svn repository.
It is very simple to do and completely painless. As you said yourself
- since there are many conversion tools, nothing is stopping you from
running your own dis
can you replicate this with DEBUG=False in your settings?
without DEBUG turned on, no queries will be saved. I very much doubt
that all these sites built on Django are either leaking memory or not
using large quantities of objects like this one here.
On 9/8/07, Tomas Kopecek <[EMAIL PROTECTED]> w
On 9/9/07, Russell Keith-Magee <[EMAIL PROTECTED]> wrote:
>
> On 9/9/07, Joseph Kocherhans <[EMAIL PROTECTED]> wrote:
> >
> > If you use the newforms-admin branch and the edit inline
> > functionality, you want to read this.
> >
> > I'm planning on breaking the current syntax for defining inlines i
There will also be a Prague chapter in my company - NetCentrum, we can
provide space, connectivity and perhaps some junk food ;)
Everybody's wellcome, just drop me a line if you are interested along
with some details so that I can prepare enough tables and computers
(if needed)...
Location
NetCe
On 9/9/07, Russell Keith-Magee <[EMAIL PROTECTED]> wrote:
>
> On 9/9/07, Malcolm Tredinnick <[EMAIL PROTECTED]> wrote:
> >
> > On Sun, 2007-09-09 at 21:46 +0800, Russell Keith-Magee wrote:
> > > No - this has nothing to do with the test framework. It's a set of
> > > helper functions to support wri
On 9/9/07, Tomas Kopecek <[EMAIL PROTECTED]> wrote:
>
> Honza Kr�l napsal(a):
> > can you replicate this with DEBUG=False in your settings?
> >
> > without DEBUG turned on, no queries will be saved. I very much doubt
> > that all these sites built on Django are either leaking memory or not
> > usin
On 9/11/07, Malcolm Tredinnick <[EMAIL PROTECTED]> wrote:
>
> On Mon, 2007-09-10 at 18:25 -0500, Joseph Kocherhans wrote:
> > There's a ticket in Trac to override the BaseForm in the admin
> > add/change views of the newforms admin branch. [1] It seems to me that
> > it would also be useful to over
we use something like http://dpaste.com/19671/
it
- invalidates the cache when object is updated (based on registered test)
- can cooperate with apache active mq to propagate the signals
accross multiple boxes
- provides decorator for any function, including handling the
invalidation registr
On 9/15/07, msaelices <[EMAIL PROTECTED]> wrote:
>
> Oh! beautiful code! could you paste Dependency model besides?
Thanks, the dependency model is the part I am least satisfied with:
http://dpaste.com/19694/
it gets created automatically whenever and object is used within other
object's box
>
>
>
not quite it would seem:
http://code.djangoproject.com/attachment/ticket/3218/wizard.5.py
On 9/18/07, Jacob Kaplan-Moss <[EMAIL PROTECTED]> wrote:
>
> On 9/18/07, Jacob Kaplan-Moss <[EMAIL PROTECTED]> wrote:
> > D'oh -- forgot to rsync over the Trac attachments directory again.
> > I'll take care
I could reupload that one, but there are other patches missing (even
in that ticked) that I do not have... :(
for example
http://code.djangoproject.com/attachment/ticket/3218/form_wizard_with_tests_and_docs_r6199.diff
which contains the older patch along with tests and documentation...
On 9/18/0
on individual fields and propagate this to the appropriate form
field validations
thanks for any answers/ideas you may have
--
Honza Král
E-Mail: [EMAIL PROTECTED]
ICQ#: 107471613
Phone: +420 606 678585
--~--~-~--~~~---~--~~
You received this message because
On Nov 11, 2007 7:58 PM, cory <[EMAIL PROTECTED]> wrote:
>
> Hello,
>
> I've spent the last day or so wrestling with something that I'm sure
> has a very simple solution, I just haven't found it or figured it out.
> I've got two classes, organized like this:
>
> class Foo(models.Model):
> bar = m
On Nov 14, 2007 2:41 PM, Sergey Kirillov <[EMAIL PROTECTED]> wrote:
>
> Hi all
>
> In my project I frequently encountered a situation where I need to
> cache some data, and then invalidate it on signal.
>
> So I wrote following decorator:
>
> def cached(slot_name, timeout=None):
> def decorator
On Nov 14, 2007 9:13 PM, Sergey Kirillov <[EMAIL PROTECTED]> wrote:
>
> For shared cache backends, like Memcached it works fine. You just need
> to be sure that signal handlers will be registered in all processes
> (i.e. put them in models.py)
sorry, my bad - we do a similar thing but dynamic, and
On 11/25/07, Julien <[EMAIL PROTECTED]> wrote:
>
> Hi all,
Hi,
> I have tried my chance in the user group with no avail. I think this
> might be of interest for the developer's community.
>
> I've been trying to create a custom widget using the newforms-admin
> branch. This widget is to replace t
in previous steps.
If you have any proposals on how to go around this, I will be happy to help out.
>
> Jay P.
>
> >
>
--
Honza Král
E-Mail: [EMAIL PROTECTED]
ICQ#: 107471613
Phone: +420 606 678585
--~--~-~--~~~---~--~~
You receive
On Fri, Apr 11, 2008 at 4:15 PM, Jay Parlar <[EMAIL PROTECTED]> wrote:
>
> On Fri, Apr 11, 2008 at 8:03 AM, Honza Král <[EMAIL PROTECTED]> wrote:
> > you could perhaps postpone the validation of data till the end of the
> > wizard, so only run this once, but
On Sat, Apr 12, 2008 at 3:37 AM, Jay Parlar <[EMAIL PROTECTED]> wrote:
>
> On 4/11/08, Honza Král <[EMAIL PROTECTED]> wrote:
> > On Fri, Apr 11, 2008 at 4:15 PM, Jay Parlar <[EMAIL PROTECTED]> wrote:
>
> > > Currently when we call get_
1 - 100 of 168 matches
Mail list logo