0, but I think #8572
approach is better (better explicit than implicit). Ticket number is
not important, but I think that functionality is easy to implement
(with several strategies) and has no colateral effects, being
backwards compatible.
¿any opinions?
Rega
On 20 ago, 02:36, Brian Rosner wrote:
> On Aug 19, 2009, at 3:32 PM, Manuel Saelices wrote:
>
> [...]
>
> I am in agreement the approach in #8572 is best. This has something
> that has bitten me on a few occasions and would like to get this fixed
> in Django. If y
El vie, 11-08-2006 a las 19:00 +, [EMAIL PROTECTED] escribió:
> [...]
> [...] The UI elements in the admin
> would be a great start towards a universally useful UI toolkit for
> django, they just need to be opened up a bit, provide hooks and
> callbacks and abstraction so that they can be reus
class FooSuperclass(models.Model):
__abstract__ = True
def oneFunction(self, x, y):
...
class FooClass(FooSuperclass):
age = models.IntegerField()
--
Manuel Saelices
[EMAIL PROTECTED]
ICS Yaco S.L.
http://www.yaco.es/
Tlfno. +34
Impressive... Apps like that is a perfect DRY example. It could be a
first step to develop a huge CMS based on django.
El vie, 22-09-2006 a las 08:41 +, Mikko Ohtamaa escribió:
> Hi,
>
> I have created a little HTML form generator framework for Django. The
> framework (django.contrib package
ings.ADMIN_MEDIA_DIR
else:
import django
self.media_dir = django.__path__[0] +
'/contrib/admin/media'
else:
self.media_dir = media_dir
self.media_url = settings.ADMIN_MEDIA_PREFIX
What do you think??
Cheers,
--
Ma
If anybody is interested... I attach patch for functionality of setting
admin_media in settings.py.
Cheers,
PS: Excuse me if I start a new thread instead of answering last email...
I dont receive via POP emails send by me (I dont know why :_( )
--~--~-~--~~~---~--~--
option or setting), and avoid to enforce
making a start.sh script with --admin-media option.
Regards,
Lin
El lun, 25-09-2006 a las 07:36 +1000, Malcolm Tredinnick escribió:
> On Sun, 2006-09-24 at 16:11 +0200, Manuel Saelices wrote:
> > Hi all,
> >
> > I just look 3811 revisi
icket for that optimization hack:
http://code.djangoproject.com/ticket/9154
Regards,
Manuel Saelices
>
> Malcolm
>
>
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
"Django developers" group.
To p
ddForm
and GenericEditForm. The only requirement is to pass request into
constructor, that maybe is a little more coupled solution that normal
Django forms (here DRY make conflict with "less coupled")
With a request passed to forms, you can do a lot of things in
reusability, like S
kind of improvement would fantastic for community and for
comparing other frameworks and templates engine.
Regards,
Manuel Saelices.
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
"Django developers" group.
To p
y.deepcopy(self.get_parent()) line in my patch).
On 25 sep, 00:30, Johannes Dollinger
<[EMAIL PROTECTED]> wrote:
> Am 25.09.2008 um 00:10 schrieb Manuel Saelices:
>
>
>
>
>
> > Hi,
>
> > one week ago I've made a little change in template rendering engine
patch with unit tests.
This ticket was marked into "Design decision needed" stage by a
triager, and this is the reason I post this.
Ticket is this:
http://code.djangoproject.com/ticket/10262
If other developers accept this ticket (maybe with another notation),
I compromise to w
On 16 feb, 01:28, Karen Tracey wrote:
> On Sun, Feb 15, 2009 at 7:03 PM, Manuel Saelices wrote:
> [snip background]
>
>
>
> > These are the reasons to think in a possible improvement in Django
> > ORM. I've patched django to support a model like this:
= models.TextField()
you can put a hidden inline editor (activated by dobleclicking label), with
this sentences:
{% inplace_edit book "title" %}
{% inplace_edit book "body" %}
This create a default model form for Book object. Also, you can redefine a
custom model form.
Regards,
Simon is right IMO, but not only for production server... what about
development and preproduction servers? Is usual in projects that you
deploy application in a server for customer or partners, and it's
better to set DEBUG mode for debugging purposes (of course),
tracebacks, URLs debugging, etc.
On 23 mayo, 13:00, "Mike Scott" <[EMAIL PROTECTED]> wrote:
>
> Maybe having to state a storage location on a per-row level. (IE this could
> happen by overriding the manager, and simply switching DB at selection time.
> or being able to provide the DB info at selection time.)
Maybe i good thing w
17 matches
Mail list logo