group=threadlocals.get_current_user()' in the example code, is
fixed from the first time this module is imported. Whether the
threadlocal middleware code has been called at all by this point may
well depend on import order of the different bits and pieces.
Luke
--
Hofstadter's La
rings internally
(default UTF8), so you might want to decode into unicode strings before
slicing, then re-encode.
Luke
--
Hofstadter's Law: It always takes longer than you expect, even when you
take into account Hofstadter's Law.
Luke Plant || L.
ything works OK, dir shows all my
> > model classes...
>
> I thought this should work, but I must admit that a quick test I did
> just now completely failed. Wait for the Earth to turn a little more
> on its axis: Luke Plant has a bit of experience in this area (every
> time it
'*.pyc' | xargs rm
Luke
--
"I spilled spot remover on my dog. Now he's gone." (Steven Wright)
Luke Plant || L.Plant.98 (at) cantab.net || http://lukeplant.me.uk/
--~--~-~--~~~---~--~~
You received this message because you are subscribed to t
On Wednesday 03 May 2006 23:52, Luke Plant wrote:
> /myproject
> /myapp
> /models
> __init__.py
> foo.py
> bar.py
>
>
> In __init__.py, I have:
> --
> from foo import Foo, SomeThingElse
> from bar import
a
slightly tricky problem...
Luke
--
"I think you ought to know I'm feeling very depressed." (Marvin the
paranoid android)
Luke Plant || L.Plant.98 (at) cantab.net || http://lukeplant.me.uk/
--~--~-~--~~~---~--~~
You received this message because
e to escape your data
properly.
Luke
--
"It is a truth universally acknowledged, that a single man in
possession of a good fortune, must be in want of a wife." (Jane Austen)
Luke Plant || L.Plant.98 (at) cantab.net || http://lukeplant.me.uk/
--~--~-~--~~~---~
s a truth universally acknowledged, that a single man in
possession of a good fortune, must be in want of a wife." (Jane Austen)
Luke Plant || L.Plant.98 (at) cantab.net || http://lukeplant.me.uk/
--~--~-~--~~~---~--~~
You received this message because you are
Luke
--
"It is a truth universally acknowledged, that a single man in
possession of a good fortune, must be in want of a wife." (Jane Austen)
Luke Plant || L.Plant.98 (at) cantab.net || http://lukeplant.me.uk/
--~--~-~--~~~---~--~~
You received
it in SQL, and do it in a generic way.
Luke
--
"It is a truth universally acknowledged, that a single man in
possession of a good fortune, must be in want of a wife." (Jane Austen)
Luke Plant || L.Plant.98 (at) cantab.net || http://lukeplant.me.uk/
--~--~-~--~~--
wrong with
it. I imagine you'll end up with some kind of 'django utils' module if
you write more than one Django app, and it can live in there.
Luke
--
Life is complex. It has both real and imaginary components.
Luke Plant || L.Plant.98 (at) ca
this:
http://code.djangoproject.com/ticket/1821
Luke
--
"Love is like an hourglass, with the heart filling up as the brain
empties."
Luke Plant || L.Plant.98 (at) cantab.net || http://lukeplant.me.uk/
--~--~-~--~~~---~--~~
You received this message because you are sub
more of it." (Marvin the
paranoid android)
Luke Plant || L.Plant.98 (at) cantab.net || http://lukeplant.me.uk/
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
"Django users" group.
To post to
uot;Mediocrity: It takes a lot less time, and most people don't realise
until it's too late." (despair.com)
Luke Plant || L.Plant.98 (at) cantab.net || http://lukeplant.me.uk/
--~--~-~--~~~---~--~~
You received this message because you are subscribed to
everything you need is in these modules:
http://code.djangoproject.com/browser/django/trunk/django/views/decorators/cache.py
http://code.djangoproject.com/browser/django/trunk/django/utils/cache.py
Luke
--
"Mistakes: It could be that the purpose of your life is only to serve
as a warning to others."
akes: It could be that the purpose of your life is only to serve
as a warning to others." (despair.com)
Luke Plant || L.Plant.98 (at) cantab.net || http://lukeplant.me.uk/
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Grou
ottom of a very deep, dark
hole. That seems a familiar concept. What does it remind me of? Ah, I
remember. Life." (Marvin the paranoid android)
Luke Plant || L.Plant.98 (at) cantab.net || http://lukeplant.me.uk/
--~--~-~--~~~---~--~~
You received thi
y pass the context vars every
time.
Luke
--
OSBORN'S LAW
Variables won't, constants aren't.
Luke Plant || L.Plant.98 (at) cantab.net || http://lukeplant.me.uk/
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Go
ng the necessary
Site objects and setting the SITE_ID option correctly in your settings
files. Other than that I can't see any problems.
Luke
--
Parenthetical remarks (however relevant) are unnecessary
Luke Plant || L.Plant.98 (at) cantab.net || http://lukeplant.me.uk/
X-Google-Language: ENG
change, but that doesn't happen very much any more.
Luke
X-Google-Language: ENGLISH,ASCII-7-bit
Received: by 10.11.53.63 with SMTP id b63mr118065cwa;
Mon, 22 May 2006 02:39:25 -0700 (PDT)
X-Google-Token: EBWqpwwAAAB4EXIwnd4uBocvG1Cd6aYZ
Received: from 217.67.53.216 by y43g2000cwc.googlegrou
Gary Wilson wrote:
> Am I correct that it is good database-design practice to not store
> derived or calculated fields in your database (e.g. full_name when you
> have first_name and last_name)? How then do you go about querying a
> derived field?
I believe that people often use 'indexed views
I implemented along the way is even more generic,
including some 'generic foreign key' descriptors and 'generic m2m
object' descriptors, which manage to avoid using any SQL directly, and
so should be very robust. They depends
Ivan Sagalaev wrote:
> The single target means that one tag can't be used for different models?
Yep, a single 'Tag' object is associated with just one target and one
creator. However, you can easily tag different models and objects with
the same bit of text.
> I have chosen a different approa
arthur debert wrote:
> ps: how is the GenericForeignKey going to work? will it be imported
> from the tagging app's package, or will it go into trunk?
There is no guarantee that any of this stuff will go into trunk at all
- the core django devs would obviously have to be for it first.
But the
Jay Parlar wrote:
> Maybe a note should go into the db_api docs about -1 not working? I
> did look at those docs before sending my original message, and didn't
> see anything about that.
I think it should throw an exception saying that negative indices are
not supported (and even include a hint
Salvage wrote:
> I have never coded in python and even my knowledge of php is
> limited(though I can install any script with php). But I see from the
> news sites that are built with django, that it has all that i need for
> newspaper/media sites. I want to know if I django can be installed in a
Salvage wrote:
> I understand when you say I cant build those sites without having
> programing skills but are there no modules that are already pre-built
> like print this article, comment on this article, send by email, most
> popular etc. That one can call with some django tags or something l
erySet to assume that.
Luke
--
The early bird gets the worm, but the second mouse gets the cheese.
--Steven Wright
Luke Plant || L.Plant.98 (at) cantab.net || http://lukeplant.me.uk/
--~--~-~--~~~---~--~~
You received this message because you are subscribed to t
y.
Yeah, I'm in love with that stuff too. I have to get out more.
Luke
--
The early bird gets the worm, but the second mouse gets the cheese.
--Steven Wright
Luke Plant || L.Plant.98 (at) cantab.net || http://lukeplant.me.uk/
--~--~-~--~~~---~--~~
l. After that I went into a bit of a decline." (Marvin the
paranoid android)
Luke Plant || L.Plant.98 (at) cantab.net || http://lukeplant.me.uk/
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
"Django user
to a bit of a decline." (Marvin the
paranoid android)
Luke Plant || L.Plant.98 (at) cantab.net || http://lukeplant.me.uk/
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
"Django users" group.
To post
s imaginary. Please rotate your telephone
by 90 degrees and try again."
Luke Plant || L.Plant.98 (at) cantab.net || http://lukeplant.me.uk/
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
"Django users" gr
ve() and move the
document to the correct folder after the model instance has been saved.
Luke
--
"The truth will set your teeth free." (Calvin and Hobbes)
Luke Plant || L.Plant.98 (at) cantab.net || http://lukeplant.me.uk/
--~--~-~--~~~---~--~~
You receiv
ere are some docs somewhere about styling the
admin).
Luke
--
"The truth will set your teeth free." (Calvin and Hobbes)
Luke Plant || L.Plant.98 (at) cantab.net || http://lukeplant.me.uk/
--~--~-~--~~~---~--~~
You received this message because you
ass Category(models.Model):
## fields etc here
def validate(self):
error_dict = super(Category, self).validate()
# Do your validation here, adding to 'error_dict'
# and then:
return error_dict
Luke
--
"The truth will set your teeth free.&q
ates, and do so on a per model basis, which might be the
best way of doing this.
Luke
--
"Trouble: Luck can't last a lifetime, unless you die young."
(despair.com)
Luke Plant || L.Plant.98 (at) cantab.net || http://lukeplant.me.uk/
--~--~-~--~~~---~-
el, but I can't remember how
far it progressed. Obviously not as far as getting the manipulators to
work that way.
Luke
--
"Trouble: Luck can't last a lifetime, unless you die young."
(despair.com)
Luke Plant || L.Plant.98 (at) cantab.net || http://lukeplant.me.uk/
--~--~
tly logged in user available to various model methods,
since there is no other way to do this.]
Luke
--
"Whoever calls on the name of the LORD will be saved." (Romans 10:13)
Luke Plant || L.Plant.98 (at) cantab.net || http://lukeplant.me.uk/
--~--~-~--~~~-
different tables. If you create an index on that view,
you may be able to do an ORDER BY efficiently over the relevant column.
I'm not sure though. Obviously it depends on your db supported indexed
views.
Luke
--
"Whoever calls on the name of the LORD
On Monday 05 June 2006 14:02, Chris H wrote:
> The full error is:
> TypeError at /admin/catalog/item/add/
> __deepcopy__() takes exactly 2 arguments (1 given)
Adrian fixed it in svn, my bad sorry.
Luke
--
"Whoever calls on the name of the LORD will be saved." (Romans
> One possible method is to create a VIEW in your db that does a UNION of
> columns from different tables.
I meant to say: ...does a UNION of rows from different tables,
selecting columns or calculated columns that are equivalent.
Luke
--~--~-~--~~~---~--~~
You
but that the admin uses
itself -- it's impossible not to depend on them in some way. There are
SoC plans to make authorisation more modular though, or at least more
capable.
Luke
--
The probability of someone watching you is proportional to the
stupidity of your action.
Luke Plan
ore case to worry about - default arguments to functions
and methods are evaluated when the function is defined, not when it is
called.)
Luke
--
The probability of someone watching you is proportional to the
stupidity of your action.
Luke Plant || L.Plant.98 (at) cantab.net || http://lukeplant
_name__.split('.')[-2]" logic should exist in only one
place. Other than that it seems quite good -- maybe you should create
a ticket.
Luke
--
The probability of someone watching you is proportional to the
stupidity of your action
ompile it as a standalone binary --
it doesn't seem to depend on any libraries except standard C libs.
Luke
--
The probability of someone watching you is proportional to the
stupidity of your action.
Luke Plant || L.Plant.98 (at) cantab.net || http://lukeplant.me.uk/
--~--~-~--~
s/search?group=django-users&q=ordering+model+methods&qt_g=1&searchnow=Search+this+group
Luke
--
The probability of someone watching you is proportional to the
stupidity of your action.
Luke Plant || L.Plant.98 (at) cantab.net || http://lukeplant.me.uk/
--~--~-~--~~---
it likes.
Obviously limoudou's does not do what you want -- you'll have to ask
him.
Luke
--
The probability of someone watching you is proportional to the
stupidity of your action.
Luke Plant || L.Plant.98 (at) cantab.net || http://lukeplant.me.uk/
--~--~-~--~~--
ed model with edit_inline, and using the
> AUTH_PROFILE_MODULE setting.
Oops, thanks for the correction -- I just posted the link, thinking that
it referred to the AUTH_PROFILE_MODULE setting.
Luke
--
The probability of someone watching you is proportional to the
stupidity of your action.
Luke
e UserInfo from that.
Luke
--
The probability of someone watching you is proportional to the
stupidity of your action.
Luke Plant || L.Plant.98 (at) cantab.net || http://lukeplant.me.uk/
--~--~-~--~~~---~--~~
You received this message because you are subscribed
e
--
The probability of someone watching you is proportional to the
stupidity of your action.
Luke Plant || L.Plant.98 (at) cantab.net || http://lukeplant.me.uk/
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Grou
#x27;2005-01-01 00:00:00'.
>
> Or all filtering provided at application level?
Django's ORM doesn't do any filtering in Python -- it generates the
correct SQL and sends that to the database.
Luke
--
To iterate is human, to re
ly) a class level attribute, and has no access to instance
level data.
Luke
--
To iterate is human, to recurse, divine. L. Peter Deutch
Luke Plant || L.Plant.98 (at) cantab.net || http://lukeplant.me.uk/
--~--~-~--~~~---~--~~
You received this message because
hat is
extracted and handled is the first word ('expr' in this case). It is
the responsibility of the python code that is associated with 'expr' to
parse the rest of the text inside {%%} as it sees fit.
Luke
--
I went to the Missing Persons Bureau. No one was there.
ep, you need to spell it:
/mypage/#foo
Otherwise the CommonMiddleware will do a redirect to add the trailing
slash that will strip the fragment.
Luke
--
I went to the Missing Persons Bureau. No one was there.
Luke Plant || L.Plant.98 (at) cantab.net || http://
e
--
"Adversity: That which does not kill me only postpones the inevitable."
(despair.com)
Luke Plant || L.Plant.98 (at) cantab.net || http://lukeplant.me.uk/
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Grou
d here:
http://feh.holsman.net/articles/2006/06/03/django-contenttype
Luke
--
"Adversity: That which does not kill me only postpones the inevitable."
(despair.com)
Luke Plant || L.Plant.98 (at) cantab.net || http://lukeplant.me.uk/
--~--~-~--~~~---~--~
ate and rewrite the contents of the Cite field.
Have fun!
Luke
--
"Adversity: That which does not kill me only postpones the inevitable."
(despair.com)
Luke Plant || L.Plant.98 (at) cantab.net || http://lukeplant.me.uk/
--~--~-~--~~~---~--~~
You rece
On Thursday 15 June 2006 19:12, Luke Plant wrote:
> This is because your models are in different apps. I can't remember
> off-hand what the correct syntax is
of course, the way to find out is to use the /admin/doc/ view, or
examine the object with 'dir' in a python inte
lso, you may
have to modify your templates to refactor out the bit that can be
included into other templates.
Luke
--
A dyslexic agnostic doesn't believe in Dog
Luke Plant || L.Plant.98 (at) cantab.net || http://lukeplant.me.uk/
--~--~-~--~~~---~--~~
Yo
ntage that it works for related
objects too.
Luke
--
A former CEO: "Some of you think that only half of the Board of
Directors do all the work and the rest do nothing, actually the reverse
is true." (True Quotes From Induhviduals, Scott Adams)
Luke Plant || L.Plant.98 (at) cantab.ne
#x27;successful' field --
the only field is an , and since it doesn't have a 'name' it
can't be successful.
Luke
--
"Agony: Not all pain is gain." (despair.com)
Luke Plant || L.Plant.98 (at) cantab.net || http://lukeplant.me.uk/
--~--~-~--~~-
To debug, try making sure your code is actually being executed e.g.
print statements or throwing exceptions at the relevant points.
Luke
--
As Ralph Waldo Emerson once said, "I hate quotations."
Luke Plant || L.Plant.98 (at) cantab.net || htt
ansferred a domain and 'went live' a
few days ago was dead simple too -- everything was obvious and just
worked.
It's all very slick.
Luke
--
As Ralph Waldo Emerson once said, "I hate quotations."
Luke Plant || L.Plant.98 (at) cantab.net || http://lukeplant.me.uk/
Jay Parlar wrote:
> Luke, which hosting plan are you using? I know that Shared 2 is the
> minimum for Django, but I'm curious if it's "enough".
I'm on shared 2, which seems to be fine for my needs. The main thing
that would worry me is the amount of memory, so I haven't used any
caching. Sinc
re out all the
> unique tag names.
Would something like this do it?
your_query_set.distinct().values('tag')
Luke
--
"Defeat: For every winner, there are dozens of losers. Odds are you're
one of them." (despair.com)
Luke Plant || L.Plant.98 (at) cantab.net || h
n
accordingly. Thankfully this should be pretty easy using the 'js'
admin option.
Luke
--
"Pessimism: Every dark cloud has a silver lining, but lightning kills
hundreds of people each year trying to find it." (despair.com)
Luke Plant || L.Plant.98 (at) cantab.net || htt
trates his love towards us in this, that while we were still
sinners, Christ died for us." (Romans 5:8)
Luke Plant || L.Plant.98 (at) cantab.net || http://lukeplant.me.uk/
pgpc6Rgti1Lnw.pgp
Description: PGP signature
s
page:
http://code.djangoproject.com/wiki/ModelSyntaxChangeInstructions
Luke
--
"Idiocy: Never underestimate the power of stupid people in large
groups." (despair.com)
Luke Plant || L.Plant.98 (at) cantab.net || http://lukeplant.me.uk/
how you designed them I think.
Luke
--
"I'm at peace with the world. I'm completely serene. I know why I was
put here and why everything exists. I am here so everybody can do what
I want. Once everybody accepts it, they'll be serene too." (Calvin and
Hobbes)
Luke Plant || L.Plant.98 (at) cantab.net || http://lukeplant.me.uk/
t.META.get('HTTP_REFERER', None)
You should also note that the header can be forged, and some people
have it turned off for privacy reasons, so I wouldn't rely on it being
there. It is not reliably present, and not reliable if present.
Luke
--
"I regret I wasn't born
http://bugs.kde.org/show_bug.cgi?id=113181
(Requires a KDE bugzilla account, which is of course free and easy to
create).
Cheers,
Luke
--
"I think you ought to know I'm feeling very depressed." (Marvin the
paranoid android)
Luke Plant || L.Plant.98 (at) can
viron['DJANGO_SETTINGS_MODULE'] = 'myapp.settings'
Alternatively, to set it permanently, put the export PYTHONPATH and
DJANGO_SETTINGS_MODULE settings in your ~/.bashrc, then start a new
bash session.
Luke
Luke
--
"I washed a sock. Then I put it in the dryer. When I took it out, it
was gone." (Steven Wright)
Luke Plant || L.Plant.98 (at) cantab.net || http://lukeplant.me.uk/
on the value of the HTTP_X_MOZ header, or some such.
There is some relevant documentation here:
http://www.djangoproject.com/documentation/cache/
Luke
--
"Mistakes: It could be that the purpose of your life is only to serve
as a warning to others." (despair.com)
Luke Plant || L.Pl
the site we
developed with GWA installed, they will mysteriously find themselves
subscribed to every page they visit...
Luke
--
"My capacity for happiness you could fit into a matchbox without taking
out the matches first." (Marvin the paranoid android)
Luke Plant || L.Plant.98 (at) cantab.net || http://lukeplant.me.uk/
t would work on Windows, but would probably be
significantly slower due to starting new processes being quite a
bit slower on Windows.
Regards,
Luke
--
"Oh, look. I appear to be lying at the bottom of a very deep, dark
hole. That seems a familiar concept. What does it remind me of? A
the bottom of a very deep, dark
hole. That seems a familiar concept. What does it remind me of? Ah, I
remember. Life." (Marvin the paranoid android)
Luke Plant || L.Plant.98 (at) cantab.net || http://lukeplant.me.uk/
nto the context it would make template tags like this more
re-usable.
Finally, looking at my code, I think the controls in the template
could be refactored much more nicely into their own custom template tags.
Luke
--
"Outside of a dog, a book is a man's best friend... inside of a dog,
it&
of a dog, a book is a man's best friend... inside of a dog,
it's too dark to read."
Luke Plant || L.Plant.98 (at) cantab.net || http://lukeplant.me.uk/
com DB? I wouldn't have thought it was publicly
available.
Luke
--
"The number you have dialed is imaginary. Please rotate your telephone
by 90 degrees and try again."
Luke Plant || L.Plant.98 (at) cantab.net || http://lukeplant.me.uk/
trips up when trying to do repr() over
partly constructed objects (or something like that).
Luke
--
"Agony: Not all pain is gain." (despair.com)
Luke Plant || L.Plant.98 (at) cantab.net || http://lukeplant.me.uk/
to call the
validators directly.
Luke
--
"A man in love is incomplete until he is married. Then he is finished."
-- Zsa Zsa Gabor, "Newsweek"
Luke Plant || L.Plant.98 (at) cantab.net || http://lukeplant.me.uk/
polls.get_list()}
c.update(get_extra_standard_stuff(request))
render_to_response("template_name", c)
The only thing that is then repeated is the call to
get_extra_standard_stuff(). And you can eliminate that if you use
DjangoContext and this feature:
http://www.djangoproject.
ng parameters
- they avoid SQL injection).
Luke
--
"Dysfunction: The only consistent feature of all of your dissatisfying
relationships is you." (despair.com)
Luke Plant || L.Plant.98 (at) cantab.net || http://lukeplant.me.uk/
ows the way I take: when he has tried me, I shall come forth as
gold" (Job 23:10).
Luke Plant || L.Plant.98 (at) cantab.net || http://lukeplant.me.uk/
, and is very easy.
Luke
--
"He knows the way I take: when he has tried me, I shall come forth as
gold" (Job 23:10).
Luke Plant || L.Plant.98 (at) cantab.net || http://lukeplant.me.uk/
he has tried me, I shall come forth as
gold" (Job 23:10).
Luke Plant || L.Plant.98 (at) cantab.net || http://lukeplant.me.uk/
the trend setter :-)
I guess it would depend on what kind of thing they contain i.e. do they
relate to a certain app, or custom tag, or model.
Luke
--
"I asked mom if I was a gifted child. She said they certainly wouldn't
have paid for me." (Calvin and Hobbes)
Luke Plant || L.
[ ),
> and it works,
>
> but i am unable to understand it.
It uses an empty list to indicate the end of a list, I'm not sure
exactly why :-). There are more examples in the tests (under
'othertests').
Luke
--
"Idiocy: Never underestimate the power of
eople in large
groups." (despair.com)
Luke Plant || L.Plant.98 (at) cantab.net || http://lukeplant.me.uk/
confusion.
If you wanted we could come to a fairer compromise on the
disambiguation front:
from holt.skibinski import Luke as LukeH
from plant import Luke as LukeP
:-)
Luke P
--
If you can't answer a man's arguments, all is not lost; you can still
call him vile names. (Elbert Hubbar
ple way of being able to specify an object to
delete.
Luke
--
"Ineptitude: If you can't learn to do something well, learn to enjoy
doing it poorly." (despair.com)
Luke Plant || L.Plant.98 (at) cantab.net || http://lukeplant.me.uk/
--
"Ineptitude: If you can't learn to d
robably
better to wait.
Luke
--
"Ineptitude: If you can't learn to do something well, learn to enjoy
doing it poorly." (despair.com)
Luke Plant || L.Plant.98 (at) cantab.net || http://lukeplant.me.uk/
--
"Ineptitude: If you can't learn to do something well, learn to enjoy
doing it poorly." (despair.com)
Luke Plant || L.Plant.98 (at) cantab.net || http://lukeplant.me.uk/
rn to enjoy
doing it poorly." (despair.com)
Luke Plant || L.Plant.98 (at) cantab.net || http://lukeplant.me.uk/
;!)
Luke
--
I never hated a man enough to give him his diamonds back. (Zsa Zsa
Gabor)
Luke Plant || L.Plant.98 (at) cantab.net || http://lukeplant.me.uk/
POST requests, and only POST requests
should have side effects. So for adding a vote, you should use a POST
request and this will always return a fresh page, so this example
should work out fine.
Luke
--
I never hated a man enough to give him his diamonds back. (Zsa Zsa
Gabor)
Luke Plant || L.Plant.98 (at) cantab.net || http://lukeplant.me.uk/
--something---
> {% endifequall %}
>
> Is there any good way to do this?
This seems like a bug to me - certainly it is inconsistent behaviour
between {% if %} (where you can do 'var1|lower' etc) and {% ifeqaul %}.
I would file a bug report.
Luke
--
I never hated a
angoproject.com/documentation/model_api/
Regards,
Luke
--
I never hated a man enough to give him his diamonds back. (Zsa Zsa
Gabor)
Luke Plant || L.Plant.98 (at) cantab.net || http://lukeplant.me.uk/
never hated a man enough to give him his diamonds back. (Zsa Zsa
Gabor)
Luke Plant || L.Plant.98 (at) cantab.net || http://lukeplant.me.uk/
;{% if var1|length_is:"0" %}You can use \
... filters in if{% endif %}').render({'var1':''})
'You can use filters in if'
(Well, at least in magic-removal you can).
Luke
--
"In my opinion, we don't devote nearly enough scientific research to
fi
instructions for changing your code:
http://code.djangoproject.com/wiki/BackwardsIncompatibleChanges
Luke
--
"I spilled spot remover on my dog. Now he's gone." (Steven Wright)
Luke Plant || L.Plant.98 (at) cantab.net || http://lukeplant.me.uk/
1 - 100 of 144 matches
Mail list logo