Hi, I'm looking to generate a web site that will help organize some database information and allow the users to run guided results reports.
I have an existing database that is populated with data automatically from other sources. I've figured out the "model" portion of Django, I even got as far as creating a view with a form for POSTing data, but I can't really seem to pull together, despite a week or so of googling information, the information I need to create this simple page. (I got stuck at "not a valid choice" when sending post data, despite the drop-down lists showing valuable data) I've since discovered Mezzanine and I like the idea of being able to expand the site quickly with the tools it provides. That's the "background", here's what I'd like to accomplish; Create a page that contains several search fields from the database model; At least three; these should be populated by distinct() values in the database. On initial load, the page should load a table style view of database information, unfiltered. The user would then be able to use the prepopulated drop-downs to select "filters" or also use a generic "search" box to filter out data. Sound familiar? This is basically the admin view of the database, with filter filelds, I found the "list_display" "list_filter" and "search_fields" for use with ModelAdmin very close to exactly what I need. However, I can't for the life of me, figure out how to implement this in a user view. I also have several python scripts that pull data from the database and display counts of various bits of information in a tabular format, I'd like to either import that script or just use it as-is to create the same information display through mezzanine/django. Thanks for your time, David -- You received this message because you are subscribed to the Google Groups "Mezzanine Users" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. For more options, visit https://groups.google.com/d/optout.
