I have posted above links in the Audio Book section given below.
Those who do not wish to receive these mails, can create a filter in thier email box for directly deleting without entering such mails in their email. -- With warm regardsP K Kothari
http://audiobook-share.blogspot.comhttp://career-
On 10/18/06, Devraj Mukherjee <[EMAIL PROTECTED]> wrote:
>
> SOAP is what I was after. If I used SOAPpy could I still import the
> django model stuff in the SOAP service script?
Take a look at this ticket: http://code.djangoproject.com/ticket/552
It works quite well if you want part of your site
Hi All, I'm struggling writing my first custom manipulator. I think I need a custom because I'm trying to create a new User object, a new MosMember object and a new Address object all off the one Form. MosMember is a profile extension of Auth_User, and each MosMember has a related Address.
Yes, good idea. I'll do that.
Thanks
Rachel
On 17/10/06, RajeshD <[EMAIL PROTECTED]> wrote:
>
>
> >
> > My default action if I can't find a better way, is to write a view
> > just so I can do this check, but I'd rather not if there's an
> > alternative I can use within the generic view.
>
> Anoth
Models look like this:
#
class News(models.Model):
news_title = models.CharField(maxlength=255, verbose_name='Tytul')
news_text = models.TextField(verbose_name='Tresc')
news_more = models.TextField(verbose_name='Rozszerzona Tresc',
blank=True, default='')
Ok so ive already found a few of my own silly errors... for f in MosMember._meta.fields: if data.has_key(f.name): mm._meta.get_field(f.name) = forms.field_name(f.name).html2python(data[f.name]) ^ But it still doesn't like the
Excellent, I'll give it a go
Thanks
Rachel
On 18/10/06, Malcolm Tredinnick <[EMAIL PROTECTED]> wrote:
> This external template loader example might be useful for you:
> http://code.djangoproject.com/ticket/2440 (it's also linked off the
> front page of the Wiki if you lose it later).
>
> Regards
I hope the book is written as an entire doctest too, it could be
useful to test each line of code with the last version.
2006/10/17, Peter Bailey <[EMAIL PROTECTED]>:
>
> It would be cool if Apress could use some type of process with that
> book like Dave Thomas did with Agile Web Development Wit
On Wed, 2006-10-18 at 18:35 +1000, Benjamin Ward wrote:
>
>
> Ok so ive already found a few of my own silly errors...
>
>
> for f in MosMember._meta.fields:
> if data.has_key(f.name):
> mm._meta.get_field(f.name) =
> forms.field_name(f.name).html2python(data
I've setval the counters to higher, free numbers and it looks like it
works now :)
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
"Django users" group.
To post to this group, send email to django-users@googlegroup
This can be done using following command sequence:
manage.py sqlsequencereset | psql
It sets counters to the max value of serial field of every model in
your app.
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
> I do not understnd why some people build a
> new sytem using 2 years old software (2.3.5
> released in Feb 2005).
So far as I understand, MediaTample's servers are all based on RedHat's
ES/AS offerings.
I tried to get Django running on a dedicated server with MT before, but
gave up (on MT, not
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Hi,
I have followed the documentation about manipulators and they were
working quite well. However I now get a strange error becaue of an
unkown reason:
Traceback (most recent call last):
File "/usr/lib/python2.4/site-packages/django/core/handlers/b
jQuery rocks. Light, powerfull and gd effects . YUI its nice, good
dialogs and calendar.
jQuery example:
$("p.surprise").addClass("ohmy").show("slow");
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
"Django us
I haven't used this shell. I guess because I've been mostly using
MochiKit anyways, I didn't go hunting for an alternative interpreter.
Just trying it, the shell 1.4 gives me an object error javascript alert
(and no evaluation) on everything I type in IE6.1 (fine on Firefox).
I'd say you are mis
> On the other hand, its 'effects' module is entirely a red-herring,
> providing only 'curved borders'.
Its called 'visual', and it now provides some simple animations too -
sorry, I haven't checked it out for a while.
--~--~-~--~~~---~--~~
You received this messa
On 10/17/06, canen <[EMAIL PROTECTED]> wrote:
http://www.mercurytide.com/knowledge/white-papers/django-full-text-searchis a good article on adding full-text search to django using mysql. A
search api branch of django can also be found herehttp://code.djangoproject.com/browser/django/branches/search
Hello,
I'm trying to figure out how a ManyToMany Relation work.
My Example:
class Category(models.Model):
class Admin:
pass
class Meta:
ordering = ('sort', 'name')
name = models.CharField(maxlength=250, default='')
description =
By default, all fields are obligatory. You have to set
categories = models.ManyToManyField('self', blank=True)
to escape from that problem.
Good luck!
Aidas Bendoraitis [aka Archatas]
On 10/18/06, Lutz Steinborn <[EMAIL PROTECTED]> wrote:
>
> Hello,
>
> I'm trying to figure out how a ManyToMany
Looking the django.db.backends.postgresql source code, I saw that
Django connection needs only one connection for all processes, because
it uses cursors to execute sql queries. So, I develop a system that run
1000+ threads using only one connection by changing the base.py [1].
But, this solution
I think, you should post this email to django-developers instead of
django-users... Or perhaps to post a new ticket at
http://code.djangoproject.com/newticket
Regards,
Aidas Bendoraitis [aka Archatas]
On 10/18/06, Rafael SDM Sierra <[EMAIL PROTECTED]> wrote:
> Looking the django.db.backends.po
Hello.I'm creating a web application that monitors information on distributed computers. This information (which is numerical; the sizes of queues running in a process on each of the computers) is put into a single database table with a column identifying which computer that row is referring to. So
Hello,
On Wed, 18 Oct 2006 16:48:51 +0200
"Aidas Bendoraitis" <[EMAIL PROTECTED]> wrote:
>
> By default, all fields are obligatory. You have to set
> categories = models.ManyToManyField('self', blank=True)
> to escape from that problem.
now its working. Many thanks !
Kindly regards
Lutz
http:
Yes, I'll post in the Django-dev, thanksOn 10/18/06, Aidas Bendoraitis <[EMAIL PROTECTED]
> wrote:I think, you should post this email to django-developers instead of
django-users... Or perhaps to post a new ticket athttp://code.djangoproject.com/newticketRegards,Aidas Bendoraitis [aka Archatas]On 1
On Oct 18, 2006, at 5:29 AM, Lucas Vogelsang wrote:
> ...[snip]...
> "/usr/lib/python2.4/site-packages/django/db/models/fields/__init__.py"
> in get_db_prep_save
> 446. value = value.strftime('%Y-%m-%d')
>
> AttributeError at /addressbook/new/
> 'str' object has no attribute 'strftime'
Ho
On 10/18/06, Stefán Freyr Stefánsson <[EMAIL PROTECTED]> wrote:
> Hello.
>
> I'm creating a web application that monitors information on distributed
> computers. This information (which is numerical; the sizes of queues running
> in a process on each of the computers) is put into a single database
OK, figured it out (with help).
What was happening is that the psycopg configure script sets up the
makefile to compile a universal binary (i386 and ppc). The trouble is
that if you build PostgreSQL from scratch, it only builds it for the
native architecture. So, the configure script cannot find
The applet works if I bring it up in a normal html page, but if I put
it into a Django template it generates a null pointer exception.
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
"Django users" group.
To post to
The applet works in a normal html page, but if I put it into a Django
template it generates a null pointer exception.
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
"Django users" group.
To post to this group, send
carlwenrich wrote:
> The applet works in a normal html page, but if I put it into a Django
> template it generates a null pointer exception.
You're going to have to give us a little more than that.
However, Django templates shouldn't have anything to do with this
problem.
Django runs on the se
Hi,
I remember seing in the Django website, in the examples section, a
nice TODO application, developped with Django 0.91, with nice images
(cartoon faces in different colors) and a nice model. There was a
sandbox in the homepage to play with it.
I was looking for it recently and it seems to hav
Hello and thanks for your reply Waylan.I should have been more clear in my original post. I forgot to mention what I have already done in my attempts to tackle the problem.I already tried to create a class that would store the things I needed and tried to serialize an instance of that class as a js
I've been following this and related threads with some interest. I
think it would be nice to have a pure python (requiring no setup of,
e.g., Apache) webserver included with Django that was more capable than
the current Django development server. I recently stumbled across this:
http://pythonpast
I'm trying to inspect my db for mythtv. I'm running into issues with
the inspect command because of the 0 date issue, not a problem, I'm
just creating the models I need by hand. The issue I am currently
running into is the recorded table has two primary keys (chanid and
starttime).
In searching I
> > SOAP is what I was after. If I used SOAPpy could I still import the
> > django model stuff in the SOAP service script?
>
> Take a look at this ticket: http://code.djangoproject.com/ticket/552
>
> It works quite well if you want part of your site to be able to do SOAP also.
Has anyone used thi
Nicely done. :)
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
"Django users" group.
To post to this group, send email to django-users@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTE
We use mochikit exclusively after playing with Dojo (it slowed our page
loads way down for some reason). Mochikit doesn't give you components
like Dojo does, nor does it give you any of the object-oriented scope
tools that Dojo has, but the documentation is top notch. Mochikit also
gives you bette
On 10/18/06 19:57, Steve M wrote:
> I've been following this and related threads with some interest. I
> think it would be nice to have a pure python (requiring no setup of,
> e.g., Apache) webserver included with Django that was more capable than
> the current Django development server. I recentl
I am trying to install this app to my django project, but I am getting
this error:
Exception Type: ViewDoesNotExist
Exception Value:Could not import stuff.search.views.generic. Error
was: No module named extensions
Inside views/generic.py is the line:
"from django.core.extension
I have a python file (hello.py) with the tkinter demo code in it. I
found an example of someone doing something like this with a python
module:
His looks like this:
http://www.miamachina.it/analogclock.py";>
An animated clock.
Mine looks like this:
http://127.0.0.1/hello.py";>
text displayed
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Hi,
That could be the problem, I have a field: birthday =
models.DateField(blank=True)
I set blank=True because null=True wasn't working. Could that be the
problem?
But I am not using any strings for dates. This is the only
Date(Time)Field I hav
I don't think I've ever seen something like that work in a standard
browser. Are you using Django for this?
Nathan
On Wed, 2006-10-18 at 14:11 -0700, carlwenrich wrote:
> I have a python file (hello.py) with the tkinter demo code in it. I
> found an example of someone doing something like this
Yes, I'm using Django. I'm just trying to find a way to show a canvas
(python, java, or whatever) on a Django-rendered page.
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
"Django users" group.
To post to this grou
http://news.netcraft.com/archives/2006/10/17/price_competition_emerges_in_grid_hosting.html
This article from Netcraft focuses primarily on Media Temple (who I
never heard of before this discussion) and lists some competitors.
All-in-all, MT's software selections are somewhat conservative, at
be
I took the example from the html tutorial:
A user agent must interpret an OBJECT element according to the
following precedence rules:
1. The user agent must first try to render the object. It should not
render the element's contents, but it must examine them in case the
element contains any d
ok so im trying to update the code to work with .95 but admittedly i
dont really know what im doing. I'm pretty new to python and django but
i've updated the import statements at the beginng of generic.py to
from django.template import RequestContext
from django.shortcuts import render_to_respons
On 10/19/06, flynnguy <[EMAIL PROTECTED]> wrote:
>
> In searching I found Ticket #373 which seems to discuss the issue but
> doesn't offer a workaround or anything. I'm trying to think of how I
> can make this work. I guess I could just write my own sql but I'd like
> the ability to use the admin
Hi Will,
The patch I've submitted at
https://simon.bofh.ms/cgi-bin/trac-django-projects.cgi/ticket/226
makes it work with .95 and later.
regards
matthew
On 19/10/06, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote:
>
> ok so im trying to update the code to work with .95 but admittedly i
> dont rea
Here is a link to the Django Powered Sites:
http://code.djangoproject.com/wiki/DjangoPoweredSites#Variousapplications
Look for WorkStyle. The project page is still up, but the sandbox was
broken last time I checked.
--Nick Pavlica
--~--~-~--~~~---~--~~
You re
thanks Ian.sago <[EMAIL PROTECTED]> wrote: You can certainly show a java canvas on a web-page. You create a javaapplet with the canvas in it, and use the regular OBJECT or APPLET tagsto create it.You can do something similar in Python using Jython to compile theapplet from python code into a java
You can certainly show a java canvas on a web-page. You create a java
applet with the canvas in it, and use the regular OBJECT or APPLET tags
to create it.
You can do something similar in Python using Jython to compile the
applet from python code into a java .class file.
You can't do it directly
This is most likely to be a problem finding the media files.
Are you serving the .class files with django's built-in webserver? Have
you got other media files (like images) serving correctly? Are the
paths you are registering okay?
Unless you're passing in something with django-template-like syn
I've been getting the following error quite frequently from Django
ever since I put up my Django site but haven't had the time to take a
deeper look at it until now.
Unfortunately, I'm at a loss as to what, exactly, is the problem here.
---
Traceback (most recent call last):
File "/home
Sounds like you want a ManyToManyField to point to a model that
represents a file upload:
http://www.djangoproject.com/documentation/model_api/#many-to-many-relationships
---
class Image(models.Model):
file = models.ImageField(upload_to="images")
class Blog(models.Model):
subject = mode
That's it, thanks!
G
On 10/19/06, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote:
>
> Here is a link to the Django Powered Sites:
>
>
> http://code.djangoproject.com/wiki/DjangoPoweredSites#Variousapplications
>
> Look for WorkStyle. The project page is still up, but the sandbox was
> broken last
Indeed... I made a mistake.
I was thinking of:
class Image(models):
image = models.ImageField(...)
post = models.ForeignKey(Post)
That way you can have all images of a post like p.image_set.all() and
you can construct the copy-and-paste URL.
Sorry for the confusion,
G
On 10/19/06, berto
I thought I'd post my solution in case anyone faces a similar situation.
Problem: I am using an intermediate model (R) to represent a
relationship between models Location and Thread. Given an instance of
Location, say x, I want the property x.threads to return a QuerySet
containing all of the rel
57 matches
Mail list logo