Hi,
What you are generating right now, is in a GTK window (desktop). This is
not directly show-able in a browser AFIK. What you can do is to
1. Generate a jpeg/png from that, and serve it as a static file to the
browser, just like an image
2. You can send the data across to the browser as json or
On Tue, Jun 12, 2012 at 11:15 AM, Alec Taylor wrote:
> Put it in the template or whatnot
>
> Might be an easier job for a javascript graph library, or even processing-js
okie.But i am not clear with javascript graph libraray
--
Satvir Kaur
satveerkaur.blogspot.in
--
Put it in the template or whatnot
Might be an easier job for a javascript graph library, or even processing-js
On Tue, Jun 12, 2012 at 3:40 PM, Satvir Toor wrote:
> here is code to display sin curve
>
> from pylab import *
>
> t = arange(0.0, 2.0, 0.01)
> s =
here is code to display sin curve
from pylab import *
t = arange(0.0, 2.0, 0.01)
s = sin(2*pi*t)
plot(t, s, linewidth=1.0)
xlabel('time (s)')
ylabel('voltage (mV)')
title('About as simple as it gets, folks')
grid(True)
show()
its working well but the output is being display in different
Drop the "defaults" kwarg to get_or_create as apparently you're not using
it. Also drop the conditional on those set/save statements.
On Monday, June 11, 2012 3:44:47 PM UTC+2, ojno wrote:
>
> Hi all,
>
> In my app, which involves doing background tasks and possibly rerunning
> them a number
On Saturday, June 9, 2012 6:13:58 PM UTC-4, mikegolf wrote:
>
> Hi,
> what are pros / cons of extending Managers versus QuerySets? I'd like
> to know which way is preferred and *why*.
>
Not enough info provided. Can you give us an example here? More info, or a
demo of the two approaches
hmm, have you considered creating a custom Model Manager with a custom
method for this purpose? I don't really have any ideas at the moment, sorry!
On Mon, Jun 11, 2012 at 9:44 AM, ojno wrote:
> Hi all,
>
> In my app, which involves doing background tasks and possibly
Don't worry about it. I've managed to solve it. Sorry that I ended up
on the wrong side.
On Jun 1, 6:06 am, Daniel Roseman wrote:
> On Thursday, 31 May 2012 05:37:41 UTC+1, Stanley Lee wrote:
>
> > Am I supposed to see a 404 message upon completing this section of the
> >
On Mon, Jun 11, 2012 at 4:26 PM, rico_suave wrote:
> Hi All,
>
> We (as a company) are relatively new to Django and currently implementing a
> system where we use inspectdb to use an existing MSSQL 2005 database from
> within Django.
> We have encountered different
If so, that would make a lot of sense :)
On Mon, Jun 11, 2012 at 11:00 PM, Javier Guerra Giraldez wrote:
> On Mon, Jun 11, 2012 at 4:56 PM, Cal Leeming [Simplicity Media Ltd]
> wrote:
> > As such - I get the impression that any
On Mon, Jun 11, 2012 at 4:56 PM, Cal Leeming [Simplicity Media Ltd]
wrote:
> As such - I get the impression that any developer who knows how to maintain
> a stack, will most likely shy away from such a service.
wasn't Heroku initially for RoR only? that
That's a good point - I think maybe the issue is just with PaaS in general,
not specifically Heroku.
On Mon, Jun 11, 2012 at 10:56 PM, Javier Guerra Giraldez wrote:
> On Mon, Jun 11, 2012 at 4:42 PM, Cal Leeming [Simplicity Media Ltd]
>
On Mon, Jun 11, 2012 at 4:42 PM, Cal Leeming [Simplicity Media Ltd]
wrote:
> There's a huge difference between hosting servers in the cloud, and hosting
> applications in the cloud.
my general impression is that PaaS can be very nice, but sice there's
no
Thanks for this very detailed report, Rolo.
It seems to be in-line with the article written up by David Cramer (in prev
reply), and also other posts that I've read on the topic.
One of the things that put me off from reading their site, is that Heroku's
key selling point was "Never touch the
To be honest, I absolutely agree with all the general comments that Cramer
made in that article.
There's a huge difference between hosting servers in the cloud, and hosting
applications in the cloud.
On Mon, Jun 11, 2012 at 6:41 PM, CLIFFORD ILKAY
wrote:
> On
>
> Could anyone hosting their Django app with Heroku care to post their
> experiences?
>
I'm somewhere along the road of seeing if PaaS could make my life easier,
and we've been using Heroku for a client (their choice) recently, having
evaluated it a couple of months ago for a different one
Hi,
New user to Django. I have a class 'Server' and I want to set up my Django
site so that when a server is added through the admin interface, an
additional model along with its admin.ModelAdmin class are added. So say a
server 'Crushinator' is added to the database of servers. At its
El 10/06/12 22:25, Daniel Swarbrick escribió:
I have a number of views that can raise a custom exception when
something unexpected happens (in this particular case, when a back end
server TCP socket connection fails). I'd like to use middleware to
catch this exception, inject an error message
On Jun 11, 2012, at 11:51 AM, cocoza4 wrote:
> i tried to retrieve data from django to jquery by using get
>
> this is my $get in jquery
>
> $.get("/video/",
> {
> video_page: page_number
> },
> function(data){
>
i tried to retrieve data from django to jquery by using get
this is my $get in jquery
$.get("/video/",
{
video_page: page_number
},
function(data){
for (var i = 0; i < data.length; i++){
On 06/11/2012 01:27 PM, Cal Leeming [Simplicity Media Ltd] wrote:
Been a while since my last post!
Read through some of the archives, but couldn't seem to find many user
reviews on Heroku from django-users list.
You might want to read this:
Been a while since my last post!
Read through some of the archives, but couldn't seem to find many user
reviews on Heroku from django-users list.
Could anyone hosting their Django app with Heroku care to post their
experiences?
Looking for info like:
* Downtime experiences (how long, how
Hi,
---
Preliminary Note: For nicer formatting of the code snippets in this
email, you can check out the stack overflow post I made asking this
question,
http://stackoverflow.com/questions/10881249/django-database-improperly-configured-when-function-called-outside-of-django
---
I'm trying to
Hi all,
In my app, which involves doing background tasks and possibly rerunning
them a number of times, I find myself using this pattern a lot:
instance, created = Model.objects.get_or_create(key1=key1, key2=key2,
> defaults={"field1":field1,
>
On 10-6-2012 21:00, Raitucarp wrote:
> 'ENGINE': 'django.db.backends.sqlite3'
>
> I have a model such this:
>
> class Ngobrol(models.Model):
> title = models.CharField(max_length=200, blank = True)
> message = models.TextField('Message')
> linkp =
In our business case there are three projects as follows:
ProjectA
ProjectB
ProjectC
ProjectA will contains the user registration, So if a user registed
with ProjectA then he can access the projects(ProjectB, ProjectC,
etc.) except the admin login. Each project having different admin site
login.
Hi All,
We (as a company) are relatively new to Django and currently implementing a
system where we use inspectdb to use an existing MSSQL 2005 database from
within Django.
We have encountered different problems with the ORM part of the application
in combination with MSSQL, most of which we
anybody give me a hint ?
I find this: http://djangosnippets.org/snippets/1104/
But ... how to use that in change list ?
yillkid於 2012年6月8日星期五UTC+8下午5時37分20秒寫道:
>
> Hi all, I want to add a filter in my change list,
> user can input maximum and minimum number,
> after press ok button, template
Hi Django lovers out there,
for all who didnt attend DjangoCon Europe virtually or physically we
want to announce our project Django Chuck.
Here's what's all about:
Django Chuck is a modular, open source, command-based project build
system developed by Notch Interactive GmbH, that gives you the
hi
how to have admin not generate insert command for a particular field,
so that the field gets its value at database level.
I tried adding `editable=False` to field options of that particular
field in my model, but no luck. also i don't want to use `default`
field option. I need the field to
Can you please submit error you get? {{ var }} is for varaibles, not for
tags.
2012/6/11 David Gómez
> Hello everyone.
>
> In Django 1.2.5 I had something like:
>
> {% block contact %}
> rel="stylesheet" />
> {% endblock %}
>
> Where custom_tag returns a single url. Now,
Thank you Kenneth for your rule, I am fresher and this tip may help me
alot...:)
On Mon, Jun 11, 2012 at 11:14 AM, kenneth gonsalves
wrote:
> On Mon, 2012-06-11 at 11:06 +0530, Tanveer Ali Sha wrote:
> > Anyone knows about Django-Chartit..??
> > Is it good to make
32 matches
Mail list logo