On 12/2/06, Beau Hartshorne <[EMAIL PROTECTED]> wrote:
>
> What's the best way make a method call from Django's admin? I'd like
> to set up a link or button that re-sends emails to users who've lost
> them to the Internet or spam traps or whatever.
>
Well, I'm not sure what is the best way to do
On 12/2/06, coulix <[EMAIL PROTECTED]> wrote:
>
> Hello guys,
> Since a month ago the website hosted on dreamhost was randomly down,
> for few minutes before i launch a new request or kill all python
> processes.
>
> e.g
> Tasks: 21 total, 1 running, 12 sleeping, 0 stopped, 8 zombie
> 327
On Sun, 2006-12-03 at 01:09 +0100, Kai Kuehne wrote:
> I must misunderstand something really basic here. Just look:
>
> Template:
> {{ movie.genres_title_list }}
>
> models.py:
> def genres_title_list(self, separator=', '):
> return separator.join([x.title for x in self.genres])
>
>
I must misunderstand something really basic here. Just look:
Template:
{{ movie.genres_title_list }}
models.py:
def genres_title_list(self, separator=', '):
return separator.join([x.title for x in self.genres])
Prints nothing... idea anyone?
Kai
--~--~-~--~~
Hi,
On 12/2/06, James Bennett <[EMAIL PROTECTED]> wrote:
> Note that this has 'method', not 'method()' -- parentheses are not
> used, and it is not possible to pass arguments to the method. This is
> done because the template language is not meant to be a full
> programming language; if you need
On 12/2/06, Kai Kuehne <[EMAIL PROTECTED]> wrote:
> Is it possible to call functions of the model out of the template?
> Sorry, didn't find it in the docs.
It is possible to call methods which take no arguments, by doing
{{ model.method }}
Note that this has 'method', not 'method()' -- parenthe
Hello list!
Is it possible to call functions of the model out of the template?
Sorry, didn't find it in the docs.
Example:
{{ model.function() }}
Thanks
Kai
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
"Django
On 12/2/06, Tim Adler <[EMAIL PROTECTED]> wrote:
> I've written my blog in Django and am quite happy with it. Yesterday I
> implement trackbacks, so that Django kann accept them for posts. Next
> goal is to be able to send trackbacks. Since I put all my stuff into my
> blog through the automatic a
On 12/2/06, James Mulholland <[EMAIL PROTECTED]> wrote:
> The solution is this:
>
> wget -m http://www.example.com/
Yeah, wget rocks ;)
When I was freelancing I used to use that trick all the time; I'd
build a site on my local computer using whatever dynamic/templating
tools I wanted, and then i
try httrack :)
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
"Django users" group.
To post to this group, send email to django-users@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED
> 1. You have to explicitly instantiate and save a UserProfile object
> before get_profile() will do anything -- Django will not implicitly
> create objects for you in the shell like that.
>
This is what I need to know. Thanks James.
--~--~-~--~~~---~--~~
You
What's the best way make a method call from Django's admin? I'd like
to set up a link or button that re-sends emails to users who've lost
them to the Internet or spam traps or whatever.
Thanks,
Beau
--~--~-~--~~~---~--~~
You received this message because you
Hello to everyone,
I'm quite new so please go easy on me.
I already searched on the mailing list but couldn't find a good answer for
my problem.
I am writing a project for a website where i retrieve events from a
database, together with them I need, on the same page, to show a list of
banner
Wow, we are in the rigth place... Django is the best!!!
El sáb, 02-12-2006 a las 17:17 +, psaletan escribió:
> http://www.niallkennedy.com/blog/archives/2006/11/google-mondrian.html
>
> >From the article:
>
> Guido van Rossum unveiled his first Google project, Mondrian, tonight
> during a P
On 12/2/06, joebaich <[EMAIL PROTECTED]> wrote:
>
> Very good looking site but marred by "signitures" typo in leading
> headline.
Ouch! I'll properly flog the editors. :)
Fixed.
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the
Very good looking site but marred by "signitures" typo in leading
headline.
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
"Django users" group.
To post to this group, send email to django-users@googlegroups.com
T
Hi Tim,
James Bennett wrote about how to do this not too long ago, check it out
here:
http://www.b-list.org/weblog/2006/11/02/django-tips-auto-populated-fields
--
Brian Beck
Adventurer of the First Order
--~--~-~--~~~---~--~~
You received this message because y
http://www.niallkennedy.com/blog/archives/2006/11/google-mondrian.html
>From the article:
Guido van Rossum unveiled his first Google project, Mondrian, tonight
during a Python tech talk at the Google campus in Mountain View.
Mondrian is a web-based code review system built on top of a Perforce
a
This might fail the obviousness test for some people, but it just saved
me a shed-load of work. Basic problem is this: I pitched Django to a
client a few weeks ago, and they seemed very happy with it and told me
to go ahead. About a week into the project (ie, when I'd all but
finished it ;) they g
Hello guys,
Since a month ago the website hosted on dreamhost was randomly down,
for few minutes before i launch a new request or kill all python
processes.
e.g
Tasks: 21 total, 1 running, 12 sleeping, 0 stopped, 8 zombie
3279 coulix 9 0 10976 10m 2612 S 0.0 0.5 0:00.08 python
Hey guys,
I've written my blog in Django and am quite happy with it. Yesterday I
implement trackbacks, so that Django kann accept them for posts. Next
goal is to be able to send trackbacks. Since I put all my stuff into my
blog through the automatic admin, my question is: Is there a way to
overwr
Hi,
Has anyone thought /successfully implemented video stream (or movie)
uploading/playing feature on a website powered by Django?
L.
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
"Django users" group.
To post t
Hi All,
Sorry for being quiet for a while just got back from a vacation.
>
> Hi Jakub,
>
> Do you have any updates on this problem? Was it a mod_python bug?
>
> Adrian
>
No the problem persists and I noticed that my coworkers have not
resolved this in my absence. I'm still not sure what the pro
After hammering everything and starting over from scratch, it occurs to
me... far, far too late... that I might not have restarted apache
before retrying the admin site.
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Grou
django/db/__init__.py contains
dispatcher.connect(connection.close, signal=signals.request_finished)
and that closes the connection and causes the exception below,
the only thing i dont know is why the main thread doesnt closes it
right away but instead lets the thread run a while and just the ne
I made the suggested change by adding the html extension to the extends
but no luck. Does anyone else possible see what the problem is?
Is there a way to step into this code as it executes?
Thanks,
Jim
--~--~-~--~~~---~--~~
You received this message because yo
Hi,
Has anyone thought /successfully implemented video stream (or movie)
uploading/playing feature on a website powered by Django?
L.
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
"Django users" group.
To post t
27 matches
Mail list logo