Serving Images through apache without a virtual host

2009-02-12 Thread jacoberg2
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

Python lists

2008-04-17 Thread jacoberg2
Hey, this is more of a python question than a django question. I have an XML parser set up to read some files and I want to create a list of dictionaries to pass to the method in the view. When i create the list, all the dictionary items end up being the same, instead of unique like they should

Re: Error Messages

2008-01-31 Thread jacoberg2
/authentication/#messages > > On Jan 31, 2008 12:33 PM, jacoberg2 <[EMAIL PROTECTED]> wrote: > > > > > Hey, > > I was wondering if anyone had a neat way to take a list of errors > > created in a template view and put it into an error box that would pop > &

Error Messages

2008-01-31 Thread jacoberg2
Hey, I was wondering if anyone had a neat way to take a list of errors created in a template view and put it into an error box that would pop up over the webpage should the user cause an issue. Any help would be appreciated. Thanks for your time. Jacob

Re: Search MySQL Full-Text

2007-11-01 Thread jacoberg2
Well i realized after i posted this that i am actually using postgresql and not Mysql. So i am wondering if there is a way to do boolean searches in the same manner as described at the end of th article. --~--~-~--~~~---~--~~ You received this message because

Re: MEDIA_ROOT, MEDIA_URL, ADMIN_MEDIA_PREFIX? Differences?

2007-10-31 Thread jacoberg2
Hey, You have the media root correct, it points to a file in the system that contains the media. It is good for file upload use. The media url is basically what serves up the files and media for you, it is basically a site url, like if ur in the develpoment server it owuld be something like

Search MySQL Full-Text

2007-10-31 Thread jacoberg2
Hey I was just reading the tutorial about expanding the search capability of django by using the full text search of MySQL. At the end of the articale the author informs us that there is a boolean search operator in the data base api, this is the link he gave:

Searching the Database

2007-10-30 Thread jacoberg2
Hey, I have been looking through the discussions and I have seen several different methods of indexing and searching. I was wondering what the best way might be to create a search engine for my django site that allows the user to enter different boolean operators and wildcard operators into

Re: Check box form

2007-10-18 Thread jacoberg2
AIL PROTECTED]> wrote: > On Oct 17, 1:52 pm, jacoberg2 <[EMAIL PROTECTED]> wrote: > > > I am trying to create a checkbox form so that the user can delete a > > large number of > > registrations at once. I am wondering how I should set up the view in > > ord

Check box form

2007-10-17 Thread jacoberg2
Hey, I am trying to create a checkbox form so that the user can delete a large number of registrations at once. I am wondering how I should set up the view in order to deal with the incoming data. Any suggestions? Thanks for any help i can get. Jacob

Validating Unique filenames and file types

2007-10-10 Thread jacoberg2
Hey, I finally got a file upload working and now i want to be sure of what people are uploading. I am trying to write some custom validators, but have a little difficulty about starting. One thing that i think should be considered in the file field, is the option 'unique'. when ever i set it

Re: Validators

2007-10-09 Thread jacoberg2
Thanks for the update! On Oct 9, 1:50 pm, Malcolm Tredinnick <[EMAIL PROTECTED]> wrote: > On Tue, 2007-10-09 at 10:44 -0700, jacoberg2 wrote: > > I have regular and custom validators in my models. > > I also have a custom manipulator in my view, so i can get the field &

Validators

2007-10-09 Thread jacoberg2
I have regular and custom validators in my models. I also have a custom manipulator in my view, so i can get the field data in a form. Is it necessary to put the validators in the custom manipulator in order to dynamically present the errors in the templates, as to alert the user of the site what

Syntax error in file upload

2007-10-05 Thread jacoberg2
Hey, I've been working on this view for a while and I keep hitting road blocks, the newest one actually hits the save method in my view, but stops on a weird syntax error. This is the traceback. Traceback (most recent call last): File

Custom View to save file

2007-10-04 Thread jacoberg2
Hey, i had issues with this before but i fixed the login problem i believe. I cant seem to get my view to work it is supposed to take the file from the form on the template and save it to my database and directory. saving a file in the admin works just fine so i need some help fixing the view and

Re: Custom View for a file upload

2007-10-03 Thread jacoberg2
umentation/authentication/#how-to-log... > ) ? > > On Oct 3, 11:46 am, jacoberg2 <[EMAIL PROTECTED]> wrote: > > > Hey, > > > I've posted a few times about saving files through the admin and all > > the problems its caused, but i figured out that the s

Custom View for a file upload

2007-10-03 Thread jacoberg2
Hey, I've posted a few times about saving files through the admin and all the problems its caused, but i figured out that the save method i tried to write was screwing it all up by not completing due to the error in opening the file. But since this is occuring it still is screwing up what i

Filefield issues with saving

2007-10-02 Thread jacoberg2
Hey everyone, I have brought up this issue before, and I was able to fix a few things but I am still having a lot of problems. I have a model with a filefield, and i was testing it with the development server and it worked perfectly. When I tried to copy it into the working server is when I

Saving Uploaded files to the Server

2007-10-01 Thread jacoberg2
Hey everyone, I have brought up this issue before, and I was able to fix a few things but I am still having a lot of problems. I have a model with a filefield, and i was testing it with the development server and it worked perfectly. When I tried to copy it into the working server is when I

Re: File uploading problems

2007-09-24 Thread jacoberg2
t;Russell Keith-Magee" <[EMAIL PROTECTED]> wrote: > On 9/22/07, jacoberg2 <[EMAIL PROTECTED]> wrote: > > > > > I tried using the file upload methods like using a filefield in a > > model, and i got it to work on a test program but i can't sem to get > > it

Re: MEDIA_URL

2007-09-24 Thread jacoberg2
Hey Michael, > Not sure exactly what you mean by getting the right url - it should > point somewhere external to django - ie. a separate webserver - > there's no magic there. If you've got apache running on your > development machine, then this can just >

File uploading problems

2007-09-21 Thread jacoberg2
I tried using the file upload methods like using a filefield in a model, and i got it to work on a test program but i can't sem to get it to work on my real site and I get a few different errors when it comes up. this is my code: class BulkDataRegFile(models.Model): user =

'str' has no attribute 'strftime'

2007-09-18 Thread jacoberg2
Hey, I am trying to read a string from a file and then save it to the database. In doing so I get the error message 'str' has no attribute 'strftime'. the string is a a dat that i am trying to save to the datetimefield in my database. The parser i used returned a string but hen it tries to save

Taking data from and uploaded file and distributing it to the database

2007-09-14 Thread jacoberg2
I am relatively new to django nad i was wondeirng if anyone knew how to open and read the files taht have been uploaded to the site. I have tried the following code in the save method of my filefield model. The problem is that you have to save the file to the system and then try to manipulate it,