Daniel Roseman wrote:
> On Mar 24, 8:58 pm, Tonu Mikk wrote:
>
>> I posted this on djangothreadedcomments list some days ago, but did not
>> get a response. Perhaps django users can help me out?
>>
>> Hello, I am attempting to get threaded comments to w
I posted this on djangothreadedcomments list some days ago, but did not
get a response. Perhaps django users can help me out?
Hello, I am attempting to get threaded comments to work on a shared
bookmarking application. It seems that I am almost there, but when I
post the comment, I get the fo
Alex Gaynor wrote:
>
>
> On Tue, Feb 24, 2009 at 10:41 AM, Daniel Roseman
> mailto:roseman.dan...@googlemail.com>>
> wrote:
>
>
> On Feb 24, 2:36 pm, Tonu Mikk <mailto:tm...@umn.edu>> wrote:
>
> > Then I save it with the above metho
Daniel Roseman wrote:
> On Feb 24, 2:36 pm, Tonu Mikk wrote:
>
>> Then I save it with the above method. The problem I am running into, is
>> that when saving the file, it gives is a different name which is the
>> original name with an
>> "_" at
Tonu Mikk wrote:
> Jacob Kaplan-Moss wrote:
>
>> On Tue, Feb 17, 2009 at 1:15 PM, Tonu Mikk wrote:
>>
>>
>>> Looking at the database, I see a photo and thumbnail columns, but there
>>> is no data. Do I need to write code to store a lin
Karen Tracey wrote:
> On Tue, Feb 17, 2009 at 11:50 AM, Tonu Mikk <mailto:tm...@umn.edu>> wrote:
>
> Alex Gaynor wrote:
>
> > Uploaded files have a name attribute that contains their name.
> Yes, but how does one take advantage of that in this code?
Jacob Kaplan-Moss wrote:
> On Tue, Feb 17, 2009 at 1:15 PM, Tonu Mikk wrote:
>
>> Looking at the database, I see a photo and thumbnail columns, but there
>> is no data. Do I need to write code to store a link to images in the
>> photo and thumbnail columns?
>>
Hi, I have a model like this:
class Bookmark(models.Model):
title = models.CharField(max_length=200)
user = models.ForeignKey(User)
link = models.ForeignKey(Link)
desc = models.CharField(max_length=500)
photo = models.ImageField(upload_to="photos/")
thumbnail = models.ImageField(uploa
Alex Gaynor wrote:
>
>
> On Tue, Feb 17, 2009 at 11:18 AM, Tonu Mikk <mailto:tm...@umn.edu>> wrote:
>
>
> Hi Django community,
>
> I have a question regarding uploading files. In this page in Django
> documentation
>
> http://docs
Hi Django community,
I have a question regarding uploading files. In this page in Django
documentation
http://docs.djangoproject.com/en/dev/topics/http/file-uploads/#topics-http-file-uploads,
there is an example of handling an uploaded file like so:
def handle_uploaded_file(f):
destinat
If you haven't already seen the
> documentation at djangoproject.com under the documentation tab, now
> might be a good place to look. For modelForms, there's a good bit of
> doc at
> http://docs.djangoproject.com/en/dev/topics/forms/modelforms/#topics-forms-modelforms
>
>
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 am curious if anyone is using JODConverter
http://www.artofsolving.com/opensource/jodconverter in their Django
project? I would be interested in learning from your experience.
Thanks,
Tonu
--~--~-~--~~~---~--~~
You received this message because you are subscr
/rss/utools')
>
> link9 = Link(url=d.entries[2].link)
> link9.save()
> user = User.objects.get(id=1)
> link = Link.objects.get(id=9)
> bookmark = Bookmark (
> title = d.entries[2].title,
> desc = d.entries[2].description,
>
Karen, thank you for your thorough response. It gives me a direction
and food for thought.
Tonu
Karen Tracey wrote:
> On Wed, Oct 8, 2008 at 2:50 PM, Tonu Mikk <[EMAIL PROTECTED]
> <mailto:[EMAIL PROTECTED]>> wrote:
>
>
> Here is a bit more info on the e
versions.
I see a line in views.py: from django.core import validators . I am
wondering if I need to be using a different string here?
Thank you,
Tonu
Tonu Mikk wrote:
> Hello, I wonder if anyone has tried porting the OpenBookPlatform
> http://djangosites.org/s/limodou-51boo-com/ to Dja
Hello, I wonder if anyone has tried porting the OpenBookPlatform
http://djangosites.org/s/limodou-51boo-com/ to Django v1? I am trying
this, but running into problems. I contacted the project owner, but he
is not maintaining the code any more.
Thank you,
Tonu
--~--~-~--~~---
Looks like I got it figured out ...
The problem was in urls.py file in /var/www/polls/pollngo in this line:
urlpatterns = patterns('polls.views',
I changed it to
urlpatterns = patterns('polls.pollngo.views',
and it started to work! Yey!
Tonu
Tonu Mikk wrote:
> He
Hello,
I am trying to port a django project that is working with development
server to be served from Apache Virtual Host, but having some trouble
configuring the correct directories. Any help is appreciated. This is
with Django version 1, Apache 2.2 + mod_python.
The virtual host is at pol
Karen Tracey wrote:
> On Fri, Sep 12, 2008 at 11:47 AM, Tonu Mikk <[EMAIL PROTECTED]
> <mailto:[EMAIL PROTECTED]>> wrote:
>
>
> Hello,
>
> I am having trouble configuring Apache and mod_python to work with my
> project.
>
> I am using Ub
Hello,
I am having trouble configuring Apache and mod_python to work with my
project.
I am using Ubuntu Linux 7.10 with Apache 2. My project is in
/var/www/polls directory. This is also where the settings.py file is.
This directory and all files and directories are owned by www-data (the
I got it figured out after getting the Documentation link to work in
Admin pages. The documentation helped me to see that I can refer to the
polls by {{poll.id}} in my template.
Tonu Mikk wrote:
> These are probably an extreme newby questions, but I cannot figure it out.
>
> 1. I a
These are probably an extreme newby questions, but I cannot figure it out.
1. I am working through the tutorial for building a Polls application.
On part 3 it talks about creating public views for the applications. I
would like to modify the index template to present a list of polls and
hav
23 matches
Mail list logo