As the topic says, can I embed multiple images in an html email
template so the recipient does not have to download them?
I know this might be a silly request, but a client has asked me to do
this for him and Im absolutely stumped.
The closest to a solution I have come to is this :
http
Hello
i'm faceing the following problem: i have some application for
creating image galleries (upload/change...).
Till now the images are served by an nginx webserver (and are
therefore open to everyone). The django app is running in apache with
wsgi.
My problem is i need to restrict the image
No sorry it's late was just typing up the scenario to be more ledgible
(i'm doing a lot with random) meant while x < 20.
Basically looks like this to add a single image model:
from django.core.files import File
from job.models import Job, JobPhoto
job = Job.objects.get(pk=1544)
lp = JobPhoto()
Hi Timboy
Sorry but I've never seen:
for x in 20:
# do sth.
20 is an int object and not an iterable.
Is this snippet your code?
Nausikaa
On Sep 22, 10:15 am, Timboy wrote:
> Having issues saving model from within the shell.
>
> Using File from from
Having issues saving model from within the shell.
Using File from from django.core.files import File
http://pastebin.com/f3030ca1e
Tried this several different ways...
TIA
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google
On Sep 6, 5:51 am, Wiiboy wrote:
> I'm considering making a custom template tag that returns a url to a
> css file or image file.
>
> In your opinion, is it a waste of time?
Not at all. This is a great way to remove dependencies on hard-coded
locations, and makes it easy to
I'm considering making a custom template tag that returns a url to a
css file or image file.
In your opinion, is it a waste of time?
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
"Django users" group.
To post to
> > On Aug 24, 12:02 am, Anogar <ryanrag...@gmail.com> wrote:
>
> > > I've got iamge uploading working in a portfolio app I'm working on,
> > > but only with a single image. I'm trying to get it working so that you
> > > can add as many or as few images as you
> {{ form.as_table }}
> >
> >
> >
> > {% endblock %}
>
> > Issue is that image names are stored in Database but when i search in
> > my file system I could not find the image .
> > when i repeat the same in admin site i could see the
= CustomizedForm(request.POST, request.FILES)
if form.is_valid():
# here create the data object
pressrelease = PressRelease.objects.create(
title = form.cleaned_data['title'],
body = form.cleaned_data['body'],
images
e image. I'm trying to get it working so that you
> > can add as many or as few images as you'd like, but I'm hitting a bit
> > of a brick wall with the logic of how it should work.
>
> > Does anyone have any pointers? I basically just want to be able to
> > have the
th a single image. I'm trying to get it working so that you
> can add as many or as few images as you'd like, but I'm hitting a bit
> of a brick wall with the logic of how it should work.
>
> Does anyone have any pointers? I basically just want to be able to
> have the little "plus
I've got iamge uploading working in a portfolio app I'm working on,
but only with a single image. I'm trying to get it working so that you
can add as many or as few images as you'd like, but I'm hitting a bit
of a brick wall with the logic of how it should work.
Does anyone have any pointers? I
I figured it out:
#MEDIA_URL = 'http://localhost:8000/testproject/site_media/'
MEDIA_URL = '/site_media/'
On Aug 22, 8:57 am, robinne <develo...@computer-shoppe.net> wrote:
> I'm new to Django and I cannot seem to get all the settings correct to
> allow me to view images in the
I'm new to Django and I cannot seem to get all the settings correct to
allow me to view images in the development environment. Here is what I
know (I'm developing on Vista):
For internal server to serve images, you have to configure django
settings, so here is what I've done.
[My actual path
On Thu, Aug 6, 2009 at 2:34 PM, emily wong wrote:
>
> Thanks Malcolm, I've figured it out. There were some changes to the
> admin's index.html page. I've updated to the 1.1 one.
> All the best,
> Emily
>
How did you fix it? Because I experience the same thing too.
Thanks Malcolm, I've figured it out. There were some changes to the
admin's index.html page. I've updated to the 1.1 one.
All the best,
Emily
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
"Django users" group.
To
On Wed, 2009-08-05 at 21:09 -0700, emy_66 wrote:
> Hi,
>
> Just migrating my application to 1.1. Everything works fine except the
> images inside the admin site are not showing up. Any ideas why this
> may be? Everything worked with 1.0.1 and 1.0.2 I think.
Remember that t
sau...@gmail.com> wrote:
> Hi,
>
> Just migrating my application to 1.1. Everything works fine except the
> images inside the admin site are not showing up. Any ideas why this
> may be? Everything worked with 1.0.1 and 1.0.2 I think
Hi,
Just migrating my application to 1.1. Everything works fine except the
images inside the admin site are not showing up. Any ideas why this
may be? Everything worked with 1.0.1 and 1.0.2 I think.
Thanks,
Emily
--~--~-~--~~~---~--~~
You received this message
n Wed, Jul 8, 2009 at 8:44 AM, ankit rai<ankit9...@gmail.com> wrote:
> > > little more explanation is required
>
> > > On Wed, Jul 8, 2009 at 10:31 AM, djangou...@gmail.com <
> > djangou...@gmail.com>
> > > wrote:
>
> > >> I have
Excellent! Thank you!
On 31 jul, 14:42, Karen Tracey wrote:
> On Fri, Jul 31, 2009 at 3:18 AM, Martje wrote:
>
> > I don't understand, sorry :$. Do you care to explain a little bit
> > more? Or could you give an example?
>
> > I'm using the admin
On Fri, Jul 31, 2009 at 3:18 AM, Martje wrote:
>
> I don't understand, sorry :$. Do you care to explain a little bit
> more? Or could you give an example?
>
> I'm using the admin interface btw.
>
You added a custom field clean method to your model definition. This
I don't understand, sorry :$. Do you care to explain a little bit
more? Or could you give an example?
I'm using the admin interface btw.
On 31 jul, 01:45, Karen Tracey wrote:
> On Thu, Jul 30, 2009 at 4:02 PM, Martje wrote:
>
> > Hey,
>
> > I've
On Thu, Jul 30, 2009 at 4:02 PM, Martje wrote:
>
> Hey,
>
> I've got the following code in my models.py:
>
> from django import forms
> class Foto(models.Model):
>omschrijving = models.CharField(max_length=100)
>afbeelding =
Hey,
I've got the following code in my models.py:
from django import forms
class Foto(models.Model):
omschrijving = models.CharField(max_length=100)
afbeelding = models.ImageField(upload_to='media/afbeeldingen/
header/fotos')
def clean_afbeelding(self):
raise
my
blog post's formatting for text and source code so I can store the
blog posts body as preprocessed HTML rather than format it on the fly
with JavaScript.
I want to be able to be able to embed images in my blog posts but I am
unsure as to how to achieve this as it would involve adding some sort
On Jul 23, 10:09 am, Goldy wrote:
> Hi,
>
> I can generate a specific image using the following from the Django
> book.
>
> ---
> ---
> from django.http import HttpResponse
>
> def
Hi,
I can generate a specific image using the following from the Django
book.
--
from django.http import HttpResponse
def my_image(request):
image_data = open("/path/to/my/image.png", "rb").read()
oh, i managed to fix it.
On Jul 13, 9:50 am, djangonoob <ye.eug...@gmail.com> wrote:
> oh, the error i am receiving is:
> Exception Value:
>
> 'QuerySet' object has no attribute 'image'
>
> On Jul 13, 9:41 am, djangonoob <ye.eug...@gmail.com> wrote:
>
> >
oh, the error i am receiving is:
Exception Value:
'QuerySet' object has no attribute 'image'
On Jul 13, 9:41 am, djangonoob <ye.eug...@gmail.com> wrote:
> Hi all.
>
> I have uploaded 4 images where their location is stored in mysql.
> I have no problems rendering a single imag
Hi all.
I have uploaded 4 images where their location is stored in mysql.
I have no problems rendering a single image. But i am unable to show
all 4 images.
I am trying to use a for loop to show all 4 images from the
image_upload class
on my_images.html template
How do i fix this problem
methods for images ( in views.y ) such as:
images_to_view.image
images_to_view.image.url
images_to_view.image.path
All three could not work.
Any advice on how i can fix this problem?
Best Regards.
--~--~-~--~~~---~--~~
You received this message because you
hey, i've managed to fix the problem successfully. thank u for your
time.
On Jul 11, 5:38 pm, Daniel Roseman <dan...@roseman.org.uk> wrote:
> On Jul 11, 9:11 am, djangonoob <ye.eug...@gmail.com> wrote:
>
>
>
> > Hi all,
> > may i know how do i upload media f
''django''
On 7月11日, 下午4时11分, djangonoob <ye.eug...@gmail.com> wrote:
> Hi all,
> may i know how do i upload media files such as mp3 files, images using
> djanog?
>
> I understand that there is a documentation on file uploads at
> :http://docs.djangoproject.com/en/dev/
On Jul 11, 9:11 am, djangonoob <ye.eug...@gmail.com> wrote:
> Hi all,
> may i know how do i upload media files such as mp3 files, images using
> djanog?
>
> I understand that there is a documentation on file uploads at
> :http://docs.djangoproject.com/en/dev/topics/http/f
Hi all,
may i know how do i upload media files such as mp3 files, images using
djanog?
I understand that there is a documentation on file uploads at :
http://docs.djangoproject.com/en/dev/topics/http/file-uploads/
However, i do not quite understand the interaction between the models,
views
il.com <
> djangou...@gmail.com>
> > wrote:
> >>
> >> I have a modelform and I want to make one of my select multiple fields
> >> choices be images and not text.
> >>
> >> ideas/suggestions appreciated
> >>
> >> -- Se
il.com <djangou...@gmail.com>
> wrote:
>>
>> I have a modelform and I want to make one of my select multiple fields
>> choices be images and not text.
>>
>> ideas/suggestions appreciated
>>
>> -- Sent from my Palm Pre
>>
>>
>
>
>
little more explanation is required
On Wed, Jul 8, 2009 at 10:31 AM, djangou...@gmail.com
<djangou...@gmail.com>wrote:
> I have a modelform and I want to make one of my select multiple fields
> choices be images and not text.
>
> ideas/suggestions appreciated
>
>
I have a modelform and I want to make one of my select multiple fields choices
be images and not text.
ideas/suggestions appreciated
-- Sent from my Palm Pre
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
Hey guys,
Anybody know the type of object "user" in
{% profile_image user 64x64 %}
Thanks
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
"Django users" group.
To post to this group, send email to
On Jun 15, 4:54 am, Oleg Oltar wrote:
> Hi!
>
>
> {{ form.as_p }}
>
>
>
> After trying this code in browser I am getting a text field with
> browse button, so when I chose file to upload, and finally click
> upload I am getting 404 Error.
> Not sure what I might
; > I know that the problem probably was discussed many times already, but
> > > > I really can't make it working.
>
> > > > I read the documentation and prepared the following code:
>
> > > > model:
>
> > > > class UserProfile(models.Model):
> &
t; > > I really can't make it working.
>
> > > I read the documentation and prepared the following code:
>
> > > model:
>
> > > class UserProfile(models.Model):
> > > """
> > > User profile model, cintains a Foreign Key, which
l, cintains a Foreign Key, which links it to the
> > user profile.
> > """
> > about = models.TextField(blank=True)
> > user = models.ForeignKey(User, unique=True)
> > ranking = models.IntegerField(default = 1)
> > avatar = models.I
Thanks Antoni, for the link to your code. I'll check it out.
On Jun 20, 9:33 am, Antoni Aloy <antoni.a...@gmail.com> wrote:
> Look at:
>
> http://code.google.com/p/appfusedjango/
>
> You'll find some examples of uploading images both as an application
> and batch mode.
&
Look at:
http://code.google.com/p/appfusedjango/
You'll find some examples of uploading images both as an application
and batch mode.
2009/6/20 django_jedi <pemaq...@gmail.com>:
>
> Hi Folks,
>
> I'm having a devil of a time trying to get image uploading to work.
>
Hi Folks,
I'm having a devil of a time trying to get image uploading to work.
What I'd like to do is simply upload and image.
This works with:
my_object = ImageTest.objects.create()
...but if not with:
my_object = ImageTest.objects.get_or_create(user_id=7,
image=imagepath)
Any ideas?
Well, here's what I know: I had this issue several months back and
'solved' it by disabling the in memory upload handler. I wrote a
little about it at the bottom of this thread:
https://forums.mediatemple.net/viewtopic.php?id=2514
But it looks like in Django 1.1beta the
Nope, there customer support takes to long so I just gave up. Please
post if you have any updates. Last I remember it might be a NFS issue
on there end. Not really sure.
On Jun 17, 2009, at 9:43 AM, mmarshall
wrote:
>
> On Jun 9, 9:19 am, Sean Brant
On Jun 9, 9:19 am, Sean Brant wrote:
> "Did MediaTemple change something about the file system you have
> access to? It sounds like they must have changed something so that
> the file locking code that used to work for your setup is no longer
> working."
>
> That is what
user = models.ForeignKey(User, unique=True)
> ranking = models.IntegerField(default = 1)
> avatar = models.ImageField(upload_to="usermedia", default =
> 'images/js.jpg')
>
>
> def __unicode__(self):
> return u"%s profile" %sel
to the
user profile.
"""
about = models.TextField(blank=True)
user = models.ForeignKey(User, unique=True)
ranking = models.IntegerField(default = 1)
avatar = models.ImageField(upload_to="usermedia", default = 'images/js.jpg')
def __unic
"Did MediaTemple change something about the file system you have
access to? It sounds like they must have changed something so that
the file locking code that used to work for your setup is no longer
working."
That is what it sounds like to me, however they we're not much help.
I'll reach back
On Tue, Jun 9, 2009 at 9:49 AM, Sean Brant wrote:
>
> I am running on a MediaTemple Django container with the SVN version of
> Django. When I try and upload a image in the admin tool I get a proxy
> error. The following is the part of the traceback that gets emailed to
>
I am running on a MediaTemple Django container with the SVN version of
Django. When I try and upload a image in the admin tool I get a proxy
error. The following is the part of the traceback that gets emailed to
me.
Traceback (most recent call last):
File
th to the db.
Anyways, this is the solution I came up with for that problem:
# model
class ImageFile(models.Model):
class Meta:
verbose_name = "Gallery Image"
verbose_name_plural = "Gallery Images"
name = models.CharField(max_length=100)
description = models.
Does anyone have an example of how to upload an image. I've followed
the docs and it's just not working (ie no file is uploaded and the
filename is not saved to the db.
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google
just checking if anyone has an update on this. I've added
request.FILES to my view to accept the file from the form but nothing
is working and it's not even saving the file name in the db at this
time.
--~--~-~--~~~---~--~~
You received this message because you
hi all.. using 1.0 w/ py 2.5 here. I have a problem with an
ImageField failing to upload the images. i've checked the perms on
the dir and they appear to be ok. Here are snippets of what i've got:
from models.py
pic = models.ImageField(upload_to='public/images/
bank_pics',blank=True
is there a way to set django so that it will show image placeholders
for missing images?
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
"Django users" group.
To post to this group, send email to dj
On Mon, May 11, 2009 at 3:36 PM, Frutoso <muniz.alb...@gmail.com> wrote:
>
> So let me get this straight.
>
> in development enviroment: In order to get images to be displayed in a
> template there is a work around that needs to be down?
>
> in production envi
So let me get this straight.
in development enviroment: In order to get images to be displayed in a
template there is a work around that needs to be down?
in production enviroment: There is not a work around? simply create an
tag and enter path to image files?
Please explain this in more
On 5/3/2009 7:22 PM, Mac wrote:
> I've had trouble rendering images in my browser. I just get a broken
> link. Any thoughts on how to fix this? I'm working with the
> development server, and I've check my code carefully to insure the src=path/> to the image file is correct. If I o
I've had trouble rendering images in my browser. I just get a broken
link. Any thoughts on how to fix this? I'm working with the
development server, and I've check my code carefully to insure the to the image file is correct. If I open the html template
file with my browser, it does render
As far as i know, Google makes the large images available on demand.
So unless you view these images through picasa first they are available,
but at some later date or without going through picasa first they might
not be.
Or as another random internet comment says: "This is because ori
; > and easily but have one strange problem. I can display thumbnails but
> > not the full size image. But if I copy the URL in the src tag into
> > the browser, I see the image perfectly!! How is this possible?
>
> > For example, this is fine:http://dunmanway.pighaswings.
o
> the browser, I see the image perfectly!! How is this possible?
>
> For example, this is fine:http://dunmanway.pighaswings.com/gallery/3/
>
> But click on any of the images and you get a 404, image not found.
>
> But paste this link into the browser and you should
got it fixed it mins ago , Thanks Alex ,
( I need to slp 38 hours so far )
On Apr 2, 7:49 am, Alex Gaynor <alex.gay...@gmail.com> wrote:
> On Thu, Apr 2, 2009 at 1:38 AM, Hamza <dr.hamzam...@gmail.com> wrote:
>
> > Hello
>
> > am having a problem
On Thu, Apr 2, 2009 at 1:38 AM, Hamza <dr.hamzam...@gmail.com> wrote:
>
> Hello
>
> am having a problem in uploading images , which i set ImageField to
> upload the image to /Photo/ directory , however it works , and
> uploaded the photos as expected , but now its not
Hello
am having a problem in uploading images , which i set ImageField to
upload the image to /Photo/ directory , however it works , and
uploaded the photos as expected , but now its not working : and
display a message :
This field is required. ,
when i submit a photo in it , it repeat
On Sat, Mar 28, 2009 at 7:17 AM, Ayaz Ahmed Khan wrote:
> Furthermore, it stipulates that if the given URL path is
> relative, the absolute path is derived at by combining that relative
> path with a base URL which, for CSS style sheets, is the base URL for
> the style sheet.
I have worked on before, where style sheets were
kept within /static/css/ and the accompanying images in /static/images,
specified URLs for images within the CSS style sheets via URLs of the
form `/static/images/file.ext`, and found them to seamlessly work across
a diverse set of browsers.
[0] http:
Gath <pgath...@gmail.com> wrote:
>> Guys,
>>
>> Am having a problem in displaying images in my CSS file.
>>
>> I have a css file with the following class
>>
>> .header
>> {
>> margin-left: auto;
>> bla bla
>> bla
On Mar 27, 7:33 am, Gath <pgath...@gmail.com> wrote:
> Guys,
>
> Am having a problem in displaying images in my CSS file.
>
> I have a css file with the following class
>
> .header
> {
> margin-left: auto;
> bla bla
> bla bla
> ...
> back
In most of my projects I have a img, css, js folder. In my css file I
reference images like this url(../img/path/to/img.jpg) in my css
files. The ../ basically says start the path back one directory. Not
sure if this is what's causing your problem.
On Mar 27, 8:10 am, Martin Ostrovsky
:33 am, Gath <pgath...@gmail.com> wrote:
>
> > Guys,
>
> > Am having a problem in displaying images in my CSS file.
>
> > I have a css file with the following class
>
> > .header
> > {
> > margin-left: auto;
> > bla bla
> > bla
> Am having a problem in displaying images in my CSS file.
>
> I have a css file with the following class
>
> .header
> {
> margin-left: auto;
> bla bla
> bla bla
> ...
> background: url(/site_media/header_background.gif) no-repeat top left;
>
> }
>
Guys,
Am having a problem in displaying images in my CSS file.
I have a css file with the following class
.header
{
margin-left: auto;
bla bla
bla bla
...
background: url(/site_media/header_background.gif) no-repeat top left;
}
When i execute the template with this css, no image
helps at least a little.
>
>
> On Feb 13, 9:23 am, Tonu Mikk <tm...@umn.edu> wrote:
>
>> Hello, I am having trouble writing a view to upload images. I am
>> creating a bookmarks application with Django 1.02 that would have a
>> screenshot for each bookmark. I ex
ration)
> > > workspace = os.path.dirname(project)
>
> > > sys.path.append(workspace)
> > > sys.path.append('c:\\my_wsgi')
>
> > > os.environ['DJANGO_SETTINGS_MODULE'] = 'blog.settings'
&
os.path.dirname(apache_configuration)
> > workspace = os.path.dirname(project)
> >
> > sys.path.append(workspace)
> > sys.path.append('c:\\my_wsgi')
> >
> > os.environ['DJANGO_SETTINGS_MODULE'] = 'blog.settings'
> > import django.core.handlers.wsgi
> &
core.handlers.wsgi
> application = django.core.handlers.wsgi.WSGIHandler()
>
>
> settings.py:
>
> .
> .
> .
> # Absolute path to the directory that holds media.
> # Example: "/home/media/media.lawrence.com/"
> MEDIA_ROOT = '
from MEDIA_ROOT. Make sure to use
a
# trailing slash if there is a path component (optional in other
cases).
# Examples: "http://media.lawrence.com;, "http://example.com/media/;
MEDIA_URL = ''
# URL prefix for admin media -- CSS, JavaScript and images. Make sure
to use a
# trailing s
pics/forms/modelforms/#topics-forms-modelforms
I hope this helps at least a little.
On Feb 13, 9:23 am, Tonu Mikk <tm...@umn.edu> wrote:
> Hello, I am having trouble writing a view to upload images. I am
> creating a bookmarks application with Django 1.02 that would have a
> screens
Hello, I am having trouble writing a view to upload images. I am
creating a bookmarks application with Django 1.02 that would have a
screenshot for each bookmark. I extended the model in this way to
include the images:
class Photo(models.Model):
title = models.CharField(max_length=50
I have been looking around at the forum and how people have been
serving their images, but i can't seem to find exactly what i need.
I am trying to create a site that produces a slideshow of graph plots
in the form of images, so there is a very high volume of pictures that
need to be served. So
.py
> > A 9765/setup.cfg
> > U 9765
> > Checked out revision 9824.
>
> > And dates are Feb 2
>
> > Any suggestions?
>
> > On Feb 11, 11:32 pm, Alex Gaynor <alex.gay...@gmail.com> wrote:
> > > On Wed, Feb 11, 2009 at 6:30 PM, phoebebrig
And dates are Feb 2
>
>
> Any suggestions?
>
> On Feb 11, 11:32 pm, Alex Gaynor <alex.gay...@gmail.com> wrote:
> > On Wed, Feb 11, 2009 at 6:30 PM, phoebebright <phoebebright...@gmail.com
> >wrote:
> >
> >
> >
> >
> >
> &g
out revision 9824.
And dates are Feb 2
Any suggestions?
On Feb 11, 11:32 pm, Alex Gaynor <alex.gay...@gmail.com> wrote:
> On Wed, Feb 11, 2009 at 6:30 PM, phoebebright
> <phoebebright...@gmail.com>wrote:
>
>
>
>
>
> > I thought I had a custom widget
On Wed, Feb 11, 2009 at 6:30 PM, phoebebright <phoebebright...@gmail.com>wrote:
>
> I thought I had a custom widget which would allow images to be deleted
> working and was dead chuffed (http://groups.google.com/group/django-
> users/browse_thread/thread/ebf646208fa8880f/c22f8
I thought I had a custom widget which would allow images to be deleted
working and was dead chuffed (http://groups.google.com/group/django-
users/browse_thread/thread/ebf646208fa8880f/c22f87e85b5d78ef?
lnk=gst=admin+image#c22f87e85b5d78ef) but unfortunately it doesn't
work. I have spent
Margie wrote:
> Thanks very much, autoescape did the trick, here is the result for
> anyone interested:
>
> {% autoescape off %}
> {{ task.done|yesno:" \" alt=\"False\" />, \"False\" />" }}
> {% endautoescape %}
>
Neat, but I think you need to correct your first alt
On Jan 26, 4:52 pm, Margie wrote:
> Thanks very much, autoescape did the trick, here is the result for
> anyone interested:
>
> {% autoescape off %}
> {{ task.done|yesno:" \" alt=\"False\" />, \"False\" />" }}
> {% endautoescape %}
>
> Margie
On Mon, 2009-01-26 at 14:52 -0800, Margie wrote:
> Thanks very much, autoescape did the trick, here is the result for
> anyone interested:
>
> {% autoescape off %}
> {{ task.done|yesno:" \" alt=\"False\" />, \"False\" />" }}
> {% endautoescape %}
Hmmm ... then that's
Thanks very much, autoescape did the trick, here is the result for
anyone interested:
{% autoescape off %}
{{ task.done|yesno:"," }}
{% endautoescape %}
Margie
--~--~-~--~~~---~--~~
You received this message because you are subscribed to
On Jan 26, 3:58 pm, Almost George
wrote:
> On Jan 26, 3:39 pm, Margie wrote:
>
>
>
> > Hi,
>
> > I am trying to generate a symbol for true and false in my table, but
> > am having problems with the escaping of quotes and also with
> >
On Jan 26, 3:39 pm, Margie wrote:
> Hi,
>
> I am trying to generate a symbol for true and false in my table, but
> am having problems with the escaping of quotes and also with
> generating the < > tags. If I use the code below:
> {{ task.done|yesno:" \" />,"
This is just a quick guess without really knowing anything about the
yesno filter, but I would try single quotes inside the html in your
yesno filter
eg
On Mon, Jan 26, 2009 at 16:39, Margie wrote:
>
> Hi,
>
> I am trying to generate a symbol for true and false in my
501 - 600 of 902 matches
Mail list logo