On 9/9/06, Jay Parlar <[EMAIL PROTECTED]> wrote:
I'll keep playing with it. This really *feels* like I've just screwedup something somewhere. I'll update if I find a solution.I've found the problem.Create an Article and Photo object in the admin view. Then, the following in the shell:
>>> from test
On 9/8/06, Russell Keith-Magee <[EMAIL PROTECTED]> wrote:
>
>
>
> On 9/9/06, Jay Parlar <[EMAIL PROTECTED]> wrote:
> >
> > Because 'stockphoto' appears before 'articles' in INSTALLED_APPS,
> > could it be preventing the ORM from seeing the 'Article' model?
>
>
> No - like I said before, this block
On 9/8/06, Jay Parlar <[EMAIL PROTECTED]> wrote:
Here's what I tried: Added a Photo and Article from the admin. In theshell, there was no 'article_set' attribute.Ok; I tried your models, and I got the same result. I'll look into this a little more and see if I can isolate the exact problem.
Yours,
On 9/8/06, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote:
> how can I upload file to /media/images/1.jpg with Django?
Start here:
http://www.djangoproject.com/documentation/model_api/#imagefield
If the admin interface is sufficient for you, you're done. Note that
this requires an object/row per
Sean Schertell wrote:
>
> Any other contributors?
I've got a handful of templatetags, which while somewhat outdated
(built against ~0.91) should still be useful. I also have a (very)
small forums app which I plan on expanding when I find the time,
although it would need some cleanup to use outsid
On 9/9/06, Sean Schertell <[EMAIL PROTECTED]> wrote:
>
> I'm willing to invest the time and bandwidth to get this thing off
> the ground. And it sounds like a lot of folks would be happy to have
> such a repository. But if we want to make it work, it has to have
> some content from the very beginn
On 9/9/06, Jay Parlar <[EMAIL PROTECTED]> wrote:
Because 'stockphoto' appears before 'articles' in INSTALLED_APPS,could it be preventing the ORM from seeing the 'Article' model?No - like I said before, this block of documentation is just describing the reason that stockphoto needs to be defined in
I'm willing to invest the time and bandwidth to get this thing off
the ground. And it sounds like a lot of folks would be happy to have
such a repository. But if we want to make it work, it has to have
some content from the very beginning. So how many of you actually
have code that you wan
Thanks Joseph. You might find it interesting to take a look at our
Diagra product datasheet... we've been in the financial charts
business since 2001
http://www.reportlab.com/docs/diagra-ds.pdf
The engine and most chart types have been in the open source package
since 2001, but we've not rea
there is also pyChart and JS/SVG PlotKit -
http://www.liquidx.net/plotkit/ which is used by TurboGears :)
NeedsTesting...
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
"Django users" group.
To post to this group,
On 9/8/06, Andy Robinson <[EMAIL PROTECTED]> wrote:
>
> I have just added an article to the Wiki on how to create charts using
> ReportLab's graphics library I hope this helps!
>
> http://code.djangoproject.com/wiki/Charts
Very cool. Thanks Andy! I didn't know ReportLab did anything but pdf befo
On 8 Sep 2006, at 22:53, James Bennett wrote:
>
> On 9/8/06, tom smith <[EMAIL PROTECTED]> wrote:
>> Then because the sql has a % in it.. django complains...
>
> The '%' needs to be escaped, because it's a special character in this
> context. Make it '%%' (two percent signs in a row) and it shou
On 09/08/06 22:56, tom smith wrote:
> So...
>
> Because there aren't quite enough examples that show how to build
> pythonic model queries... I'm using the pump-raw-sql at django...
>
> The only problem is that when my sql contains
>
> wordsql = wordsql + " AND (title not like ' %" + word +"%')
I have just added an article to the Wiki on how to create charts using
ReportLab's graphics library I hope this helps!
http://code.djangoproject.com/wiki/Charts
Andy Robinson, CEO/Chief Architect, ReportLab Europe Ltd
--~--~-~--~~~---~--~~
You received this mes
On Thu, Sep 07, 2006 at 11:36:46PM +0800, limodou wrote:
> On 9/7/06, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote:
> > I don't want to make another mediawiki which requires to learn yet
> > another markup language and needs a horde of wikipedians to controll
> > it.
>
> So which text format do yo
On 9/8/06, tom smith <[EMAIL PROTECTED]> wrote:
> Then because the sql has a % in it.. django complains...
The '%' needs to be escaped, because it's a special character in this
context. Make it '%%' (two percent signs in a row) and it should work
(and this isn't Django-specific AFAIK -- the synta
So...
Because there aren't quite enough examples that show how to build
pythonic model queries... I'm using the pump-raw-sql at django...
The only problem is that when my sql contains
wordsql = wordsql + " AND (title not like ' %" + word +"%') "
cursor.execute(sql)
Then because the sql has a
Hello,
how can I upload file to /media/images/1.jpg with Django?
Thak you for help.
P.S. Sorry for may bad English ;-)
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
"Django users" group.
To post to this group, se
On 9/8/06, Daniele Spino <[EMAIL PROTECTED]> wrote:
> Apress will publish "Pro Django: Web Development Done Right" |
> 1590597257 | in Oct. 2006. Check out the book here:
> http://www.apress.com/book/bookDisplay.html?bID=10176.
Yeah, it's also been on Amazon for a while:
http://tinyurl.com/rchx3
Marc Fargas wrote:
> I like the idea of the Cheeshop and more the one of different TRACs, but on
> the three options given, hosting TRACs is not as easy, Cheeshop and google
> are free.hosting a TRAC isn't. dejavu doesn't seem an option if you need to
> wait for an invite code for every project.
This code will generate a model that has a nice interface for people
constructing sites organized around hierarchical menus. When adding a
page, the current structure of the site shows up like this:
root node
-child node
--child of a child node
If a loop is detected during insertion, the pag
I''ve been looking at some of the django projects at code.google.com and all I saw have empty subversion repositories... I like the idea of the Cheeshop and more the one of different TRACs, but on the three options given, hosting TRACs is not as easy, Cheeshop and google are
free.hosting a TRAC is
Hello I sent some mail around to Apress, PrenticeHall and bla bla,
to know something about Django books.
I got only one answer until know that I want to share:
---
Hi Daniele,
Apress will publish "Pro Django: Web Devel
I was never able to get PyISAPIe to work myself. I ended up buying the
isapi_rewrite product from helicon (http://www.isapirewrite.com/) and
just proxying to Apache on :9080. I really wanted PyISAPIe to work, but
isapi_rewrite was fairly cheap and easy to install. It feels like
overkill - but I
Hello. sorry for the double question.
About the suggestion on 1.0 I've already started learning 0.95. Thanks.
About the documentation:
1. I considered from the beginning only the official release 0.95 tutorial.
2. In the page you mentioned I saw that tutorial part 1 italian is
already finished by
Hey Djangoers,
check out www.devjavu.com
looks cool
PS: www.tracOS.com
--~--~-~--~~~---~--~~
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 u
On 9/9/06, Steven Armstrong <[EMAIL PROTECTED]> wrote:
>
> I had a similar problem recently. It turned out to have something to do
> with the blank=True and null=True arguments.
>
> picture = models.ForeignKey(Photo, blank=True,null=True)
>
> Maybe, for testing, try removing those and see it the a
I wonder if this is somehow related. From the db_api documentation, in
the "How are the backward relationships possible?" section, it states:
"The answer lies in the INSTALLED_APPS setting. The first time any
model is loaded, Django iterates over every model in INSTALLED_APPS
and creates the bac
Has anyone actually got an app working with the PyISAPIe extensions?
The wiki gets as far as a Django error message, and we've reproduced
this on two machines (IIS 5.1 and 6.0) in the last 2 days.
The fundamentals clearly work, but the problem is that the default
pointy-clicky way of calling exte
On 09/08/06 16:33, Jay Parlar wrote:
> On 9/8/06, Russell Keith-Magee <[EMAIL PROTECTED]> wrote:
>> I just tried the following in a test project;
>>
>> testproject/mytest/models.py:
>> from django.db import models
>>
>> class Image(models.Model):
>> name = models.CharField(maxleng
>From exploring Google Code a short bit, I'm not positive it's the best
medium, at least if we want any decent discussion or Web-based
documentation. Yes, one could hold discussions via the Issues, but
that's pretty gimpy for any discussion that does not fit well as a
trouble ticket. And one could
On Sep 8, 2006, at 7:22 AM, Sean Schertell wrote:
>
> Very interesting points. Does anyone have any thoughts on using
> Google code hosting for this idea? Anyone know off the top of their
> heads whether or not we'd be able to create a Django "category"
> within Google or would it just sort of be
On 9/8/06, mthorley <[EMAIL PROTECTED]> wrote:
> This may be a really dumb one, but I'm stooped. I read about
> request.COOKIES, and request.session.set_test_cookie() and
> request.session, but as far as I can see, they are not what I want.
>
> I want to save a named cookie, with a value, and spec
Thanks limodou, that's just what I was looking for!
--
mthorley
--~--~-~--~~~---~--~~
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 unsubscrib
On 9/8/06, Russell Keith-Magee <[EMAIL PROTECTED]> wrote:
> I just tried the following in a test project;
>
> testproject/mytest/models.py:
> from django.db import models
>
> class Image(models.Model):
> name = models.CharField(maxlength=20)
> testproject/mytest2/models.py
On 9/8/06, mthorley <[EMAIL PROTECTED]> wrote:
>
> This may be a really dumb one, but I'm stooped. I read about
> request.COOKIES, and request.session.set_test_cookie() and
> request.session, but as far as I can see, they are not what I want.
>
> I want to save a named cookie, with a value, and sp
> Ok; I just re-ran the tests with SQLite, and I am getting the same problem.
>
> Poking through the bug database, it looks like you are hitting Bug #2091.
> I've updated that ticket with the details of your problem, and what I've
> been able to work out so far.
Mmm... I'm used to look in the doc,
Very interesting points. Does anyone have any thoughts on using
Google code hosting for this idea? Anyone know off the top of their
heads whether or not we'd be able to create a Django "category"
within Google or would it just sort of be lumped in with all the
other Python stuff?
Sean
O
This page should help.
http://www.djangoproject.com/documentation/sessions/
--~--~-~--~~~---~--~~
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
T
This may be a really dumb one, but I'm stooped. I read about
request.COOKIES, and request.session.set_test_cookie() and
request.session, but as far as I can see, they are not what I want.
I want to save a named cookie, with a value, and specific domain and
path. Like PHP's setcookie(). I'm sure I
On 9/8/06, Guillermo Fernandez Castellanos <
[EMAIL PROTECTED]> wrote:
Hi,> This seems to be correct. Perhaps it is a DB specific problem - what
> database are you using (my tests were with postgres)?I am using sqlite3, with the latest django cvs tree.Ok; I just re-ran the tests with SQLite, and I
I'd like to note that this is not the first time this has come up,
although I don't wish to imply we should not be discussing it (it seems
to be one of those issues that comes up periodically).
http://groups.google.com/group/django-users/browse_frm/thread/5e5a61a14c2e519a
There was also a discu
On 9/8/06, Wade Leftwich <[EMAIL PROTECTED]> wrote:
>
> Ned Batchelder wrote:
> > Why not use the existing Python Cheeseshop
> > (http://cheeseshop.python.org/pypi) for this? Advantages:
> >
> > 1) You don't have to build anything, it's already there.
> > 2) More visibility for Django: with a Dja
Hi there
Just to report on this, i set up a machine with very little memory
using apache 2.2.1 (worker mpm), with mod_python 3.3 (development
version 20060520) and django. It seems there is nothing much in django
nor python that isn't thread safe. External C libraries you load as a
python module
Ned Batchelder wrote:
> Why not use the existing Python Cheeseshop
> (http://cheeseshop.python.org/pypi) for this? Advantages:
>
> 1) You don't have to build anything, it's already there.
> 2) More visibility for Django: with a Django-specific repository, only
> Django developers will see the pac
Why not use the existing Python Cheeseshop
(http://cheeseshop.python.org/pypi) for this? Advantages:
1) You don't have to build anything, it's already there.
2) More visibility for Django: with a Django-specific repository, only
Django developers will see the packages. In the cheeseshop, all
On 9/7/06, Devraj <[EMAIL PROTECTED]> wrote:
>
> Hi everyone,
>
> I am attempting to create graphs in my Django app.to provide reporting
> features. Are there any libraries available to do this in Python or
> Django?
haven't used it, but there's also Ploticus:
- http://ploticus.sourceforge.net/
-
Hi,
> This seems to be correct. Perhaps it is a DB specific problem - what
> database are you using (my tests were with postgres)?
I am using sqlite3, with the latest django cvs tree.
> Also; after you have executed these queries, the following:
> from django.db import connection
> print connect
On 9/6/06, Guillermo Fernandez Castellanos <[EMAIL PROTECTED]
> wrote:I've checked the docs, but nothing seems to be wrong to me.Any help appreciated, thanks.
I just tried the following using your models (plus a __str__ definition): p1 = Person(name='russ')p1.save()p2 = Person(name='guillermo')p2.s
On 9/7/06, Jay Parlar <[EMAIL PROTECTED]> wrote:
The only reason I can guess is that because the two models are definedin separate applications.
Am I missing something here?I just tried the following in a test project; testproject/mytest/models.py:from django.db import modelsclass Image
Trac syntax is rather nice and good for simple things :) All weird
things will be available via CBC:
[rk:tex]tex code here[/rk:tex]
Or simillar, just a *toHTML converter required :) other wikis syntax
probably will be available in the same way.
--~--~-~--~~~---~--~---
Webfaction
==
SSH access + local apache configuration means that I run several
django-powered web sites from the same virtual host and I can keep
Django and other open source products updated frequently with
subversion.
Highly recommend, technical support is great and they go back a long
+1, great idea!
--~--~-~--~~~---~--~~
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 PROTECTED
> A trivial question: Is it better to wait 1.0 for me to learn django?
In my opinion, NO. Why wait for 1.0? If you are learning Django you
have two choices: use an official release or stay with the trunk.
I'm using the trunk since I'm using Django, and I never had problems.
However I must say th
Hi, I'm sorry to see your post so late.
This page on the wiki should answer all your questions:
http://code.djangoproject.com/wiki/TranslateDocumentation
Differently, ask!
I can assure that translate live documentation (docs in the trunk I
mean) and keep it up to date is a real pain, I did so bu
55 matches
Mail list logo