django-dataplot 0.5

2008-03-04 Thread Toby Dylan Hocking
anyone who is interested in making plots/graphs on Django-backed websites to download django-dataplot from sourceforge and email me back with feedback and suggestions. Thanks for your time! Sincerely, Toby Dylan Hocking http://www.ocf.berkeley.edu/~tdhock --~--~-~--~~~---~--

Re: Inheritance

2007-12-27 Thread Toby Dylan Hocking
>> I have a lot of models for classifications. All of them have similar >> attributes. When I try to use inheritance in the models design, the >> admin interface doesn't work with ForeignKey fields. >> >> Example: >> >> class BasicModel(models.Model): >> name=models.CharField(maxlength=30) >>

Re: how to handle additional column in table for ManyToManyField

2007-09-28 Thread Toby Dylan Hocking
) # Get all refs for author with id author_id Reference.objects.filter(authorloc__author__id__exact=author_id).distinct() # Get all papers author with author_id has first-authored as.filter(authorloc__reference__position__exact=1) # etc... Hope this helps. Sincerely, Toby Dyla

Re: Best Practices to Make your Apps Portable

2007-07-27 Thread Toby Dylan Hocking
> I just added it to the wiki: > > http://code.djangoproject.com/wiki/BestPracticesToWorkWith3rdPartyAppsAndMakingYoursPortable Looking there, I think you made a typo. The directory diagrams for specific apps and generic apps are the same. Furthermore, I can see how this system worked for you

Re: django.contrib.dataplot 0.3

2007-07-24 Thread Toby Dylan Hocking
another location that would be more appropriate and/or less "confusing"? Furthermore, is there a formal process for integrating into django.contrib? How has it worked in the past? Sincerely, Toby Dylan Hocking http://www.ocf.berkeley.edu/~tdhock On Tue, 24 Jul 2007, Russell Keith-M

django.contrib.dataplot 0.3

2007-07-24 Thread Toby Dylan Hocking
can use with just a few lines of python code, or for more specific applications, you can write your own code using R or matplotlib. Source code is here, with instructions in the doc/ subdirectory: http://www.ocf.berkeley.edu/~tdhock/dataplot-0.3.tgz Sincerely, Toby Dylan Hocking http

Re: Bulk data upload

2007-07-18 Thread Toby Dylan Hocking
> What about CSV? You can export from Excel as CSV pretty easily and it's a > fairly easy format to parse in python... Either that or tab-delimited text. I have a django app that does bulk data upload from the admin interface according to the following protocol. 1. Users make their bulk

Re: Generating graphs from db data and displaying results using Django?

2007-07-12 Thread Toby Dylan Hocking
g R and the gridSVG package for SVG output functionality. I don't know how useful a contribution ZSVG_Graph would be to our Django community, since it seems that its last update was over 2 years ago: http://sourceforge.net/project/showfiles.php?group_id=9295_id=92256 Sincerely, Toby Dylan Hocking h

Re: Generating graphs from db data and displaying results using Django?

2007-07-12 Thread Toby Dylan Hocking
eric plot types (Scatter, TimeSeries, etc. similar to XML/SWF Charts), but you can pop in your own plotting code and have a totally custom plot too, if you need to. Sincerely, Toby Dylan Hocking http://www.ocf.berkeley.edu/~tdhock On Thu, 12 Jul 2007, Silas wrote: > > > > On Jul 10

Re: Graphs and django

2007-07-12 Thread Toby Dylan Hocking
paradigms to your plotting application. Sincerely, Toby Dylan Hocking http://www.ocf.berkeley.edu/~tdhock On Wed, 11 Jul 2007, Jeremy Dunck wrote: > > On 7/11/07, Toby Dylan Hocking <[EMAIL PROTECTED]> wrote: >> If you still need help with making data-driven plots, why don't you c

Re: Graphs and django

2007-07-12 Thread Toby Dylan Hocking
data) >>> plot.to_html() Have you tried to get the demo bike app (django.contrib.dataplot.bike) to work? If you are able to get those simple examples working, it should be straightforward to translate the design paradigm to your problems. Sincerely, Toby Dylan Hocking http://www.ocf.berkeley.edu/~tdhoc

Re: Generating graphs from db data and displaying results using Django?

2007-07-11 Thread Toby Dylan Hocking
elease, 0.3). Sincerely, Toby Dylan Hocking http://www.ocf.berkeley.edu/~tdhock On Wed, 11 Jul 2007, Jeremy Dunck wrote: > > On 7/11/07, Toby Dylan Hocking <[EMAIL PROTECTED]> wrote: > > How hard would it be to depend on PIL rather than ImageMagick? I'm > asking because Django

Re: Generating graphs from db data and displaying results using Django?

2007-07-11 Thread Toby Dylan Hocking
, but the great part (as yet undocumented) is that it is compatible general enough to handle several different backend plotting languages, such as matplotlib, pil, octave, etc. Sincerely, Toby Dylan Hocking http://www.ocf.berkeley.edu/~tdhock On Wed, 11 Jul 2007, Vincent Nijs wrote: > >

Re: Graphs and django

2007-07-11 Thread Toby Dylan Hocking
Py isn't translating python names into R names the same way as mine is? I'm using RPy 0.4.6-3ubuntu2 Python 2.4.2-0ubuntu3 and R 2.2.1-2 on ubuntu dapper. What are your versions? Sincerely, Toby Dylan Hocking http://www.ocf.berkeley.edu/~tdhock On Wed, 11 Jul 2007, Ben Ford wrote: > Hi Tob

Re: Graphs and django

2007-07-11 Thread Toby Dylan Hocking
in the archive. Documentation is mostly present in docstrings at the moment -- I'm working on more tutorials, but the .txt files and the example app should be enough to get you started. Sincerely, Toby Dylan Hocking http://www.ocf.berkeley.edu/~tdhock