Today it may be empty, but tomorrow there can appear some useful code.
So I think its better to follow that style.
On May 29, 12:57 am, "Leo Soto M." <[EMAIL PROTECTED]> wrote:
> I see that almost all Field subclasses which implements
> get_db_prep_save end calling Field.get_db_prep_save anyway.
And rewrite it in every project?! No, thanks. I'd like to write it now
and have no troubles in future at all.
On Jun 2, 9:12 am, "Leo Soto M." <[EMAIL PROTECTED]> wrote:
> On Wed, May 28, 2008 at 5:08 PM, Alex Koshelev <[EMAIL PROTECTED]> wrote:
> > On May
I think that it is better way to write code and produce 1.0 as soon as
possible then to write tons of text that doesn't help in it.
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
"Django developers" group.
To post to
It is not a problem. Just skip non-English posts at all. English is
international language of cource but not the one.
On Jun 13, 7:58 pm, "Tom Tobin" <[EMAIL PROTECTED]> wrote:
> The Django community aggregator includes non-English posts, which are
> unfortunately pure noise for those of us who d
And when does author write in number of languages?
On Jun 13, 8:41 pm, Jeff Anderson <[EMAIL PROTECTED]> wrote:
> siudesign wrote:
> >http://www.djangobrasil.org/< Not in English.
>
> > Huge -1
>
> > If people want to post in their own language they can. Having a feed
> > split up by languages mi
There is existing multi-lingual aggregator http://djangosearch.com/
On Fri, Jun 13, 2008 at 9:07 PM, Marty Alchin <[EMAIL PROTECTED]>
wrote:
>
> This whole thing reminds me of something I've had rattling around in
> my head for a while, and maybe now's the time to bring it to the
> group. In addi
-100
Non-English post isn't noise!
Some English posts has more less profit then non-English ones.
On Fri, Jun 13, 2008 at 9:07 PM, Tom Tobin <[EMAIL PROTECTED]> wrote:
>
> On Fri, Jun 13, 2008 at 12:02 PM, Arien <[EMAIL PROTECTED]> wrote:
> >
> > The non-English posts are clearly useful to the
Regular `Paginator` is for any sequence of object (it calls `len` for
count).
`QuerySetPaginator` is for `QuerySet` objects.
Find the right choice must developer itself. Its easy:)
On Jun 29, 4:54 am, "[EMAIL PROTECTED]" <[EMAIL PROTECTED]> wrote:
> I just spent a while chasing my tail because I
May be better way to use ``OneToOneField`` with proper
``related_name`` like "profile" for example. Than profile can be
accessed very simple ``user.pofile``. and its creation machinery leave
to profile app author?
On Jul 2, 12:38 pm, David Danier <[EMAIL PROTECTED]> wrote:
> This basically starte
You register same handler twiсe. Check the way you import your
modules.
On Jul 25, 6:10 pm, "Alex Rades" <[EMAIL PROTECTED]> wrote:
> Hi,
> is there a non-obvious reason for signals like post_save being
> triggered twice for each save?
--~--~-~--~~~---~--~~
You rec
Hi, guys!
For a long time I have thoughts to make composition/denormalisation a
little bit easier and reusable. But I have no time to implement my
ideas.
Inspired by Anrew's blog post and its thread I recently wrote some
code. And I think that it really may be useful and cover most of
denormalisa
Hi, Erik.
The main purpose is to have declarative form of composition field
calculation definition. Not to write imperative actions/signal
connection/etc.
I've made only flexible generic solution. In future I plan to write
high-level subclasses that will can with minimal input parameters make
al
After `testFOO` method call test case flushes all data in database. So
if you want to add some logic at this stage - flushing procedure may
take a lot of time and you will get no speed improvements.
On Oct 14, 5:18 am, Simon Litchfield <[EMAIL PROTECTED]> wrote:
> Reloading of fixtures for each t
Try to use `--traceback` switch that prints exception's traceback
On Tue, Nov 18, 2008 at 00:41, David Cramer <[EMAIL PROTECTED]> wrote:
>
> I've been trying to dump some data to fixtures for the last couple
> days, and I've ran into various problems each time. It's been quite
> difficult each t
And what are the benefits?
On Wed, Nov 26, 2008 at 16:36, Alexander Lyabah <[EMAIL PROTECTED]>wrote:
>
> I am already posted it on Django Snippets
> http://www.djangosnippets.org/snippets/1218/
>
> I want to introduce my idea about url resolving in Django.
>
> It can be useful for using object-o
Something wrong with your code (maybe ib site.site_app.view) or third-party
code that you use. Django has no entity with name `activeAccount`.
On Wed, Dec 17, 2008 at 20:26, samira wrote:
>
> I renamed my project, but no diffrent. it seems something is wrong in
> admin templates.
>
> On Dec 17
I can write a short overview:
Each model field(or form field) is marked by special counter while
model(or form) is loading. Then in metaclass fields are sorted by that
counter.
I've recently written the blog post about this staff but its in
Russian language. Overwise you can look at code snipp
You have to write your own authentication backend [1] with any credentials
you need.
[1]:
http://docs.djangoproject.com/en/dev/topics/auth/#writing-an-authentication-backend
On Tue, Feb 24, 2009 at 6:52 AM, dannyr wrote:
>
>
> Is there a way to force authentication for a user without a password
And of course this topic is for django-users@ not developers.
On Tue, Feb 24, 2009 at 10:33 AM, Alex Koshelev wrote:
> You have to write your own authentication backend [1] with any credentials
> you need.
>
> [1]:
> http://docs.djangoproject.com/en/dev/topics/auth/#writing-an
Because this method overloaded in subclasses of HttpRequest
On 10 дек, 12:52, David Reynolds <[EMAIL PROTECTED]> wrote:
> On 10 Dec 2007, at 5:35 am, Eratothene wrote:
>
> > Don't bother I have just figured out why.
>
> Can you say why, just for completeness of the archives?
>
> Thanks,
>
> David
See CREATE sql statements for example
On 20 дек, 15:52, madhav <[EMAIL PROTECTED]> wrote:
> as a part of using generic relations, i got struck up at one point,
> where i need to run the sql to have a field:
> summary = generic.GenericRelation(Summary)
>
> where Summary is a class defined as:
> c
It's normal behaviour:) GenericRelation is just "fake" field that
doesn't produce real table field
On 20 дек, 16:23, madhav <[EMAIL PROTECTED]> wrote:
> I did it, but its not showing up the new field(which is "summary" in
> my case) in the Create Statement, nor is at the Alter table part.
>
> On
No, only startproject creates project-wide urls.py
On 4 фев, 20:53, "Rob Hudson" <[EMAIL PROTECTED]> wrote:
> If it's common advice to make apps portable and bundle urls along with
> an app, shouldn't manage.py startapp also drop in a default urls.py
> file?
>
> I realize it's simple to create a
Hi, ro60
There is no need in such setting. Just now you can set table engine to
entire database or in settings.py per-connection with
DATABASE_OPTIONS = {"init_command": "SET storage_engine=INNODB" }
On Mar 25, 5:37 am, ro60 <[EMAIL PROTECTED]> wrote:
> Wanted to see what everyone thinks about
Do you see:
- http://code.djangoproject.com/wiki/TextIndexingAbstractionLayer
- http://code.google.com/p/djapian/
- http://code.google.com/p/django-sphinx/
?
On Mar 31, 8:39 pm, "[EMAIL PROTECTED]" <[EMAIL PROTECTED]> wrote:
> Hi,
>
> My name is Grzegorz Swierad and I am interested in participati
Hi, Amit!
Check this utils function:
http://code.djangoproject.com/browser/django/trunk/django/utils/decorators.py#L9
On Apr 13, 3:05 pm, "Amit Upadhyay" <[EMAIL PROTECTED]> wrote:
> Hi,
>
> I was wondering about the reason that middleware classes were used instead
> of decorators to implement
No. Not `tests.py`, but `tests` module - that can be a package of many
other modules/files
On May 7, 12:21 am, Steve <[EMAIL PROTECTED]> wrote:
> Hi, we're just getting started using Django unit tests, and it looks
> like the documentation says you can only have unit tests in two files:
> models.
27 matches
Mail list logo