add a field to auction:products?

A place to discuss and receive support for the Web Auction application.

add a field to auction:products?

Postby falcon7 » Sat Sep 20, 2008 9:48 am

I would like to add an extra field or two ("Donated By" particularly) to our auction database. Is there any way to simply add a field, or is it necessary to re-run the creation script?

thanks
james
falcon7
 
Posts: 7
Joined: Sat Sep 20, 2008 9:44 am

Postby shannah » Mon Sep 22, 2008 2:04 pm

No need to run any creation script. Simply add the field to the products table in your database.

If you want it to appear in the view product page, then just make a small mod to the templates/view_product.html template to show that field.

-Steve
shannah
 
Posts: 4457
Joined: Wed Dec 31, 1969 5:00 pm


Return to Web Auction Discussion

Who is online

Users browsing this forum: No registered users and 17 guests

Powered by Dataface
© 2005-2007 Steve Hannah All rights reserved