Howto not delete record after X days?

2009-07-28 Thread Keith Pettit
re how I can make that happen. Thanks for any suggestions, this has been stumping me for over a week now. -- Keith Pettit --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Django users" group. T

Graphing (Pie Chart, Bar Graphs, Line Plots, etc) in Django?

2009-07-16 Thread Keith Pettit
What is the best way to create Pie Charts, Bar Graphs, Line Plots, etc? I've only seen two Django graph type modules but they seem dead. Are they any Python modules or other type of graphing apps that would work well with Django? Thanks, -- Keith P

How to return Object ID(primary key) on new record submit?

2009-07-09 Thread Keith Pettit
mit=False) obj.owner = request.user.get_profile() obj.save() # Child Items (Load) formset = inlineformset_factory(Ticket, Load, fk_name="ticket", form=LoadForm)(request.POST, request.FILES, instance=obj) if formset.is_valid(): formset.save() Thanks, Keith Pettit --~--~-~--~~

Admin formating for inline, fieldsets don't work?

2009-05-19 Thread Keith Pettit
ieldsets under Ticket or Load, the admin site dosen't pay attention to the formating I set. So long story short, how can do something simlar to the fieldsets option with inlines? Thanks -- Keith Pettit --~--~-~--~~~---~--~~ You received this message because

select_related works with sqlite but not mysql?

2009-05-05 Thread Keith Pettit
I'm trying to display a list on a page that is a combination of two different models. In development I use sqlite and the list works great, but when I go to MySQL I don't get any results. It's odd because I use pagination and I can see from my paging items there are some results but I can't call