A Django Comic Site Issues

2008-12-28 Thread tsop
Hey, I'm quite new to django but I ran into a small problem maybe someone can shed some light onto: models.py class Comic(models.Model): title = models.CharField(max_length=80, help_text='Title of comic.') series = models.ForeignKey(ComicSeries, help_text='Which series comic bel

Re: A Django Comic Site Issues

2008-12-28 Thread tsop
Hello, Thanks for your reply Daniel, that along with setting ordering on the Comic model seems to have fixed it. Titus On Dec 28, 9:55 am, Daniel Roseman wrote: > On Dec 28, 5:35 am, tsop wrote: > > > > > Hey, > > I'm quite new to django but I ran into a small

Two forms one page

2009-02-08 Thread tsop
Hello, I have a small problem here, I want to display two forms on the same page and I need both forms to validate/submit independently from one another. The problem I am having is that there is no way to tell which form is being submitted to, if they are both left empty and one submit is clicked

Re: Two forms one page

2009-02-08 Thread tsop
at name and then validate the respective form > :-) > > -- Horst > > On Sun, Feb 8, 2009 at 10:18 AM, tsop wrote: > > Hello, > > I have a small problem here, I want to display two forms on the same > > page and I need both forms to validate/submit independently from

Context to a Template

2009-05-29 Thread tsop
Hello, I am attempting to write a small CMS application in hopes of learning Django more in depth. Currently a page is just for editing textual content and it gets sent to a template (much like the flatpage) the problem is if I had a contact page, that happens to have a form on it, what would be

How would I do this ...

2009-06-02 Thread tsop
I have a small problem, fairly new to django: I currently am building a small CMS application, and its all handled by a Page model. The url for this is: --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Django users"

How would I do this ...

2009-06-02 Thread tsop
Hello! I have hit a small road block in designing a fairly simple CMS application: My url pattern is: url(r'^(?P[A-Za-z-_//]+)/$', page_handler, name='page_handler') I'm capturing whatever URL handing it off to a page handler view function that matches up a Page by slug and returns it .. this w

Trying to delete uploaded images (SuspiciousOperation)

2009-12-22 Thread tsop
Hello, I've been running into a problem while trying to delete uploaded images. The error I get is: SuspiciousOperation: Attempted access to '/media/artists/12-stones/ 154339.jpg' denied. After reading around it looks like the error is due to the fact that it's looking for the image in the wrong