RE: Admin Inner Classes

2006-10-25 Thread Santosh Koti
Giovanni Giorgi, Thanks for ur help.!! Reg, Santosh. "Nature creates, Man Imitates" -Original Message- From: django-users@googlegroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Giovanni Giorgi Sent: Wednesday, October 25, 2006 9:18 PM To: Django users Subject: Re: Admin Inner

Re: ado_mssql introspection patch

2006-10-25 Thread Carlos Yoder
As soon as I get to the office I'll let you know... thanks for replying! > Hmm. What's the exact error you are getting? I'm running the code on > 3 different boxes (2 Win XP Pro and 1 Windows Server 2003) against > MSDE and SQL Server 2000 without issues. What system and server are > you

Re: ado_mssql introspection patch

2006-10-25 Thread Sean De La Torre
Can you post the entire traceback? I don't see this behavior with SQL Server 2000 or MSDE. I may have to get a copy of SQL Server 2005. I'll also try using the latest Django version from the trunk - my production installation is the current official Django release (0.95) modified with the

Re: ado_mssql introspection patch

2006-10-25 Thread abc123
Hello Sean, I'm also trying this; I've updated from SVN recently (a week or so ago), then applied ticket 2358 diff 5 (by hand, but I have checked it more than once), and am running against SQL Server 2005. Starting from scratch, I can run python manage.py syncdb, and get some tables inserted

Re: Field with null=True, blank unspecified, should allow blank

2006-10-25 Thread Oliver Lavery
Hi,Django or otherwise, null and the empty string are not equal. i.e.:print "" == None# orif ( "" == NULL ) { puts( "Huh?" ); }// orSELECT * FROM foo WHERE bar is NULL; /* will usually return different results than */SELECT * FROM foo WHERE bar = "";Blank literally means "", a zero length string.

Re: Field with null=True, blank unspecified, should allow blank

2006-10-25 Thread James Bennett
On 10/25/06, yary <[EMAIL PROTECTED]> wrote: > Seems that if someone says a field can be null, that implies the admin > interface should let it be null. I really, really, really don't like having a system assume that one thing I've done "implies" another thing it should do. I also don't like

Field with null=True, blank unspecified, should allow blank

2006-10-25 Thread yary
A field specified like {{{foo=ForeignKey(Bar,null=True)}}} does not allow blanks in the admin interface. Specifying {{{foo=ForeignKey(Bar,null=True,blank=True)}}} allows blanks. Seems that if someone says a field can be null, that implies the admin interface should let it be null. If for some

Re: Curious about 1.0 release.

2006-10-25 Thread Ned Batchelder
Tabblo is actually running a trunk from early September.  No stability complaints from us... --Ned. Adrian Holovaty wrote: On 10/25/06, Michael Radziej <[EMAIL PROTECTED]> wrote: Jeremy Dunck schrieb: LJWorld.com, Lawrence.com, Tabblo.com,

Re: status of authentication updates?

2006-10-25 Thread Malcolm Tredinnick
On Wed, 2006-10-25 at 10:07 -0700, [EMAIL PROTECTED] wrote: > I was in the exact same boat a while back. You may be interested in > this thread: > > (http://groups.google.com/group/django-users/browse_thread/thread/69ad3da32daeb963/f54e6695f76fe73f#f54e6695f76fe73f). > > > I have been

Re: How to make tables generated by Django be utf8 encoded by default?

2006-10-25 Thread Malcolm Tredinnick
On Wed, 2006-10-25 at 10:01 +, [EMAIL PROTECTED] wrote: > Hi, > I want to store Chinese characters in my MySQL 4.1.11 through Django > but unluckily, like most novices, I get totally mess characters when > displaying them on utf-8 encoded templates. > After some investigation I found that the

Re: media files with django dev-server

2006-10-25 Thread Malcolm Tredinnick
On Wed, 2006-10-25 at 14:58 +0200, patrickk wrote: > thanks malcolm, I think we´re getting closer ... > > Am 25.10.2006 um 14:42 schrieb Malcolm Tredinnick: > > > > > On Wed, 2006-10-25 at 14:13 +0200, patrickk wrote: > >> sorry for being a pain in the neck, but we´re about to go online with >

Re: Curious about 1.0 release.

2006-10-25 Thread Kenneth Gonsalves
On 25-Oct-06, at 7:51 PM, Michael Radziej wrote: > I'm curious: Are they all 0.95? afaik they run from latest svn trunk -- regards kg http://lawgon.livejournal.com http://nrcfosshelpline.in/web/ --~--~-~--~~~---~--~~ You received this message because you

Re: status of authentication updates?

2006-10-25 Thread Jay Parlar
On 10/25/06, Oliver Lavery <[EMAIL PROTECTED]> wrote: > Interesting. Having used django for a while but only just now starting to > read the lists, some of these discussions are a bit unsettling. > > Is Django suffering from featuritis? > > I'm working on a large project and we chose django

Re: status of authentication updates?

2006-10-25 Thread Oliver Lavery
Interesting. Having used django for a while but only just now starting to read the lists, some of these discussions are a bit unsettling.Is Django suffering from featuritis? I'm working on a large project and we chose django because it's very cool, as we all know, and because it's nearing 1.0.

Re: Curious about 1.0 release.

2006-10-25 Thread sansmojo
Thanks everyone! If those sites don't convince, I'm not sure what would. --~--~-~--~~~---~--~~ 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

Re: Comments and karma tutorial

2006-10-25 Thread Guillermo Fernandez Castellanos
Sorry, back from a trip. Happy to see that some people tried it and that it works. Thanks! > I've been looking at this as well. It appears that the ratings and > comments are tied together and must be submitted together. Is this > true? I'd like a user to submit a comment along OR rate it OR

Re: Filtering on the existance of a "reverse" foreign key relationsship

2006-10-25 Thread Jonathan Buchanan
On 10/25/06, Christian Joergensen <[EMAIL PROTECTED]> wrote: > Daniel Roseman wrote: > >>> Country.objects.all().extra( > >>> where=['(SELECT COUNT(*) FROM appname_soccerteam WHERE > >>> appname_soccerteam.country_id = appname_country.id) > 0'] > >>> ) > >> Great idea! I did not think about

Re: Filtering on the existance of a "reverse" foreign key relationsship

2006-10-25 Thread Christian Joergensen
[EMAIL PROTECTED] wrote: > This is already in the api, no need to write extra sql, try: > > c.soccerteam_set.count() > > http://www.djangoproject.com/documentation/db_api/#backward I know of the FOO_set-property, but I need to use it as a filter condition. As far as my Django experience goes,

Re: status of authentication updates?

2006-10-25 Thread MerMer
I had orginally heard that the book was due out in October - but when I last looked at the Apress site it mentioned January. I also noticed that the Archives had not been updated. No criticism mind, I'm well aware that Django is a volunteer effort - however, it's extremely reassuring to hear

Re: Filtering on the existance of a "reverse" foreign key relationsship

2006-10-25 Thread Christian Joergensen
Daniel Roseman wrote: >>> Country.objects.all().extra( >>> where=['(SELECT COUNT(*) FROM appname_soccerteam WHERE >>> appname_soccerteam.country_id = appname_country.id) > 0'] >>> ) >> Great idea! I did not think about the 'extra' method. Works perfectly. >> Gave me a speedup factor of about

Re: Diamanda Wiki support and some django tutorials :)

2006-10-25 Thread [EMAIL PROTECTED]
Couldn't register. Actually, it took a minute to find a path to registration, but then the registration failed. Don't know why, it just says "registration error" --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups

Re: ado_mssql introspection patch

2006-10-25 Thread Sean De La Torre
Hmm. What's the exact error you are getting? I'm running the code on 3 different boxes (2 Win XP Pro and 1 Windows Server 2003) against MSDE and SQL Server 2000 without issues. What system and server are you using? You should be able to use either manage.py in the project directory or

Re: ado_mssql introspection patch

2006-10-25 Thread Carlos Yoder
I'm afraid I already applied that patch. Actually I tried many combinations but no luck. I'm running (from the project's directory, where settings.py is) "manage.py inspectdb". Maybe that's the problem, and I must absolutely run it from django-admin.py ? I admin this just crossed my mind, when

Re: status of authentication updates?

2006-10-25 Thread Adrian Holovaty
On 10/25/06, falcon <[EMAIL PROTECTED]> wrote: > I also noticed that the last "Weeks in review" was on August 22...is > this the quiet before the storm or have things slowed down as of late? > There was talk of a book, and that the book was going to be available > on the web, but there have been

Re: date navigation inclusion tag (problems with context)

2006-10-25 Thread Patrick J. Anderson
Patrick J. Anderson wrote: > Here's one of the inclusion tags I wrote this morning for my blog date > navigation: > > --- > > from django.template import Library,Node > from project.apps.news.models import Article > >

Re: status of authentication updates?

2006-10-25 Thread [EMAIL PROTECTED]
I was in the exact same boat a while back. You may be interested in this thread: (http://groups.google.com/group/django-users/browse_thread/thread/69ad3da32daeb963/f54e6695f76fe73f#f54e6695f76fe73f). I have been trying to get some momentum started on this front, but haven't had any luck. I

date navigation inclusion tag (problems with context)

2006-10-25 Thread Patrick J. Anderson
Here's one of the inclusion tags I wrote this morning for my blog date navigation: --- from django.template import Library,Node from project.apps.news.models import Article register = Library() def articles_months(context):

Re: i18n - objects get translated, templates not

2006-10-25 Thread Helmar
Replying to my own post, I managed to make it work by taking these steps: 1) in settings.py, your customized LANGUAGES dict needs to be in ENGLISH (!!) You cannot not name elements in other languages there. This means, however, that your language dropdown (as shown in the docu

Re: send_mail - how do you set up the SMTP server.

2006-10-25 Thread Don Arbow
On Oct 25, 2006, at 6:50 AM, MerMer wrote: > > I've looked through the official docs regarding sending an email but I > can't find any explanation on how to point to a particular SMTP > server. In your settings file, you need to override the global setting EMAIL_HOST. Look in the file

Re: Hiring Django developers

2006-10-25 Thread Adrian Holovaty
On 10/25/06, millhouse99 <[EMAIL PROTECTED]> wrote: > Greetings. What is the appropriate place/way to find Django developers > who may want to work on a particular project? Direct posting your > project and solicitation to this list ok, or is there a dedicated group? Hi millhouse99, It's OK

Re: Hiring Django developers

2006-10-25 Thread Jay Parlar
On 10/25/06, millhouse99 <[EMAIL PROTECTED]> wrote: > > Greetings. What is the appropriate place/way to find Django developers > who may want to work on a particular project? Direct posting your > project and solicitation to this list ok, or is there a dedicated group? > People do occasionally

Clarification on Sessions and User Profile.

2006-10-25 Thread MerMer
I want to be able to show a user their account information/stats on each page in the site, without having to constantly hit the database to retrieve the information. I'm alittle unclear as to the best way to do this? Should I write this info into a Session/Cookie and then retrieve it as

How to make tables generated by Django be utf8 encoded by default?

2006-10-25 Thread [EMAIL PROTECTED]
Hi, I want to store Chinese characters in my MySQL 4.1.11 through Django but unluckily, like most novices, I get totally mess characters when displaying them on utf-8 encoded templates. After some investigation I found that the tables created by 'manage syncdb' are actually encoded by 'latin-1'.

send_mail - how do you set up the SMTP server.

2006-10-25 Thread MerMer
I've looked through the official docs regarding sending an email but I can't find any explanation on how to point to a particular SMTP server. How to I set up the SMTP server so that the send_mail function works? MerMer --~--~-~--~~~---~--~~ You received this

Hiring Django developers

2006-10-25 Thread millhouse99
Greetings. What is the appropriate place/way to find Django developers who may want to work on a particular project? Direct posting your project and solicitation to this list ok, or is there a dedicated group? --~--~-~--~~~---~--~~ You received this message

i18n - objects get translated, templates not

2006-10-25 Thread Helmar
Hi guys, I have installed the i18n middleware in django, and it works nicely on the objects I pass to the template, but for some reason the strings inside the template remain untranslated despite {% load i18n %} and the expected {% trans "foo" %} syntax. I'm on a Windoze machine, but if anyone

Re: Admin Inner Classes

2006-10-25 Thread Giovanni Giorgi
I have found some info here http://aspn.activestate.com/ASPN/Cookbook/Python/Recipe/409366 and here http://www.brpreiss.com/books/opus7/html/page598.html in python they name it "nested class"

Re: Comments and karma tutorial

2006-10-25 Thread favo
I 'm a little bit sad about django has some part without document and test. we'd better add patch for them. and it's hard to refactor code in trunk if you're not the main author. --~--~-~--~~~---~--~~ You received this message because you are subscribed to the

Re: Comments and karma tutorial

2006-10-25 Thread favo
I 'm a little bit said about django has some part without document and test. we'd better add patch for them. and it's hard to refactor code in trunk if you're not the main author. --~--~-~--~~~---~--~~ You received this message because you are subscribed to the

Re: media files with django dev-server

2006-10-25 Thread Istvan Albert
There is an option to manage.py --adminmedia=ADMIN_MEDIA_PATH that might just do what you need. --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Django users" group. To post to this group, send email to

Re: ado_mssql introspection patch

2006-10-25 Thread Sean De La Torre
Take a look at this ticket: http://code.djangoproject.com/ticket/2358. I combined that previous patch (2563) with 2358 because my patch was dependent on it. Make sure that you've applied the latest patch (mssql_update5.diff) to your Django installation. If you still have problems, please let

Re: Curious about 1.0 release.

2006-10-25 Thread Adrian Holovaty
On 10/25/06, Michael Radziej <[EMAIL PROTECTED]> wrote: > Jeremy Dunck schrieb: > > LJWorld.com, Lawrence.com, Tabblo.com, > > http://projects.washingtonpost.com/congress/, > > http://www.chicagocrime.org/ > > I'm curious: Are they all 0.95? I can vouch for my sites (chicagocrime.org and the

Re: Curious about 1.0 release.

2006-10-25 Thread Adrian Holovaty
On 10/25/06, sansmojo <[EMAIL PROTECTED]> wrote: > Any ideas of how I might offer a proof (or strong evidence) of 0.95's > stability? We have an aptly named "API stability" document: http://www.djangoproject.com/documentation/api_stability/ Adrian -- Adrian Holovaty holovaty.com |

Re: status of authentication updates?

2006-10-25 Thread Waylan Limberg
On 10/25/06, falcon <[EMAIL PROTECTED]> wrote: > > I am working on my first Django app and it looks like I will need > RowLevelPermissions (perhaps GenericAuthorization as well). Can anyone > provide an estimate of its release (merge with the main branch)? I > need to know if I can use it in my

status of authentication updates?

2006-10-25 Thread falcon
I am working on my first Django app and it looks like I will need RowLevelPermissions (perhaps GenericAuthorization as well). Can anyone provide an estimate of its release (merge with the main branch)? I need to know if I can use it in my project, which I hope will go live a few weeks after I

Re: Curious about 1.0 release.

2006-10-25 Thread Michael Radziej
Jeremy Dunck schrieb: > LJWorld.com, Lawrence.com, Tabblo.com, > http://projects.washingtonpost.com/congress/, > http://www.chicagocrime.org/ I'm curious: Are they all 0.95? Michael -- noris network AG - Deutschherrnstraße 15-19 - D-90429 Nürnberg - Tel +49 911 9352-0 - Fax +49 911 9352-100

Re: Curious about 1.0 release.

2006-10-25 Thread Jeremy Dunck
LJWorld.com, Lawrence.com, Tabblo.com, http://projects.washingtonpost.com/congress/, http://www.chicagocrime.org/ ? On 10/25/06, sansmojo <[EMAIL PROTECTED]> wrote: > > Thanks so much for the responses. I am not scared of the fact that > Django is not at 1.0 - I need to convince others not to

Re: Comments and karma tutorial

2006-10-25 Thread [EMAIL PROTECTED]
patrickk wrote: > as far as I know, rating only works with submitting a comment. you > could probably change this by hacking the comment-manipulator. > nevertheless, since ratings are stored in the comments-table, you get > the wrong numbers when you do "comment_count". > for what you want to do

Re: media files with django dev-server

2006-10-25 Thread orestis
Look, there are two distinct things here: a) The admin media, which physically resides on django/contrib/admin/media and which the dev-server serves automagically and b) Your own media, which you are responsible of serving, either in production or development mode Here's what I do: For admin

Re: Curious about 1.0 release.

2006-10-25 Thread sansmojo
Thanks so much for the responses. I am not scared of the fact that Django is not at 1.0 - I need to convince others not to be :) Any ideas of how I might offer a proof (or strong evidence) of 0.95's stability? Thanks! --~--~-~--~~~---~--~~ You received this

Re: New to Django, but old to the web.

2006-10-25 Thread Russell Keith-Magee
On 10/25/06, Levi McCallum <[EMAIL PROTECTED]> wrote: > > Are applications aware of each other? I.E. Can they call each other? Yes, with some minor restrictions. Generally, they are just another python module, so a view from one application can refer to a model from another, or a model can add

Re: undocumented variable - get_next_by_

2006-10-25 Thread shelbybark
Thanks, Malcolm. I should have know I'd overlooked the documentation for that. I really appreciate the help. I'm trying to learn programming and Python and Django all at the same time. Hopefully one day it will all click. I'll get back to trying to find a way to convert my date_taken from

Re: get_next_by variable

2006-10-25 Thread shelbybark
Thanks, James. I should have know I had overlooked the documentation. >From everything I had tried, I had realized that it was probably linked to DateTimeFields, but wanted to make sure. Thanks again for the help. --~--~-~--~~~---~--~~ You received this message

Re: ado_mssql introspection patch

2006-10-25 Thread Carlos Yoder
Hey Sean, I'm trying to give this a go. Running into walls, I'm afraid. I read 'introspection' and thought this patched "manage.py inspectdb" to handle mssql servers. Unless I did something wrong (very possible), that doesn't seem to work. Could you explain how do I get to the 'full

Re: Adding variable numbers of related objects in a form

2006-10-25 Thread Michael Radziej
Malcolm Tredinnick schrieb: > On Tue, 2006-10-24 at 08:19 -0700, exdnc wrote: >> Is there a 'proper' way to get the framework to add more than >> num_in_admin related objects to both the Add/ChangeManipulator and to >> the FormWrapper? Thanks! > > The short answer to your question is "no": the

Re: postresql: CREATE UNIQUE INDEX unnecessary (duplicate)?

2006-10-25 Thread Kenneth Gonsalves
On 25-Oct-06, at 6:22 PM, Gábor Farkas wrote: > so, to be sure we're talking about the same thing: > > you tried the same model? we are talking of different things - i have not used slugfield, i misunderstood what you had said. apologies for sidetracking -- regards kg

Re: media files with django dev-server

2006-10-25 Thread patrickk
thanks malcolm, I think we´re getting closer ... Am 25.10.2006 um 14:42 schrieb Malcolm Tredinnick: > > On Wed, 2006-10-25 at 14:13 +0200, patrickk wrote: >> sorry for being a pain in the neck, but we´re about to go online with >> our site and I desperately need to solve this problem. > > You

Re: postresql: CREATE UNIQUE INDEX unnecessary (duplicate)?

2006-10-25 Thread Gábor Farkas
Kenneth Gonsalves wrote: > > On 25-Oct-06, at 4:06 PM, Kenneth Gonsalves wrote: > >>> hmmm.. which db version? >> postgresql 7.4.x on debian sarge > > and to add - my sqlall does not create an index for unique=True. It > leaves it to postgresql > maybe it's a misunderstanding... it also

Re: Best configuration for small VPS

2006-10-25 Thread orestis
Sqlite ? In a production site ? Does anyone use this ? I sincerely never heard of it. --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Django users" group. To post to this group, send email to

Re: media files with django dev-server

2006-10-25 Thread Malcolm Tredinnick
On Wed, 2006-10-25 at 14:13 +0200, patrickk wrote: > sorry for being a pain in the neck, but we´re about to go online with > our site and I desperately need to solve this problem. You already mentioned that you have solved it using lighttpd (or, at least, that's what you seem to have

Re: media files with django dev-server

2006-10-25 Thread patrickk
sorry for being a pain in the neck, but we´re about to go online with our site and I desperately need to solve this problem. solutions I had so far: 1. hardcoding media-urls incl. the host (not nice) 2. symlink from /django/contrib/media/ to /media/ (problem with django-updates) short

Re: comments and freecomments

2006-10-25 Thread Malcolm Tredinnick
On Wed, 2006-10-25 at 03:58 -0700, timc3 wrote: > I have successfully managed to integrate the comments system into my > Django application and its looking good (with some YUI ajax nonsense to > top it off). But one thing that I would like is non-registered, > non-logged in users to be able to

model_set.all filtering and custom model manager

2006-10-25 Thread Robert
Hi, My ModelX is: user = models.ForeignKey(User) place = models.ForeignKey(Place) date = models.DateTimeField() taken = models.BooleanField() Now I need to fetch all the ModelX records via Place object.modelx_set.all but I only want to fetch records with date now/in the future. This would be:

comments and freecomments

2006-10-25 Thread timc3
I have successfully managed to integrate the comments system into my Django application and its looking good (with some YUI ajax nonsense to top it off). But one thing that I would like is non-registered, non-logged in users to be able to post a comment. I realise that this is the goal of the

Re: postresql: CREATE UNIQUE INDEX unnecessary (duplicate)?

2006-10-25 Thread Kenneth Gonsalves
On 25-Oct-06, at 4:06 PM, Kenneth Gonsalves wrote: >> hmmm.. which db version? > > postgresql 7.4.x on debian sarge and to add - my sqlall does not create an index for unique=True. It leaves it to postgresql -- regards kg http://lawgon.livejournal.com http://nrcfosshelpline.in/web/

Re: postresql: CREATE UNIQUE INDEX unnecessary (duplicate)?

2006-10-25 Thread Kenneth Gonsalves
On 25-Oct-06, at 3:57 PM, Gábor Farkas wrote: > hmmm.. which db version? postgresql 7.4.x on debian sarge -- regards kg http://lawgon.livejournal.com http://nrcfosshelpline.in/web/ --~--~-~--~~~---~--~~ You received this message because you are subscribed

Re: postresql: CREATE UNIQUE INDEX unnecessary (duplicate)?

2006-10-25 Thread Gábor Farkas
Kenneth Gonsalves wrote: > > On 25-Oct-06, at 3:21 PM, Gábor Farkas wrote: > >> === >> Indexes: >> "fileman_filemanager_pkey" PRIMARY KEY, btree (id) >> "fileman_filemanager_name" UNIQUE, btree (name) >> "fileman_filemanager_name_key" UNIQUE, btree (name) >>

Re: postresql: CREATE UNIQUE INDEX unnecessary (duplicate)?

2006-10-25 Thread Kenneth Gonsalves
On 25-Oct-06, at 3:21 PM, Gábor Farkas wrote: > === > Indexes: > "fileman_filemanager_pkey" PRIMARY KEY, btree (id) > "fileman_filemanager_name" UNIQUE, btree (name) > "fileman_filemanager_name_key" UNIQUE, btree (name) > === > >

postresql: CREATE UNIQUE INDEX unnecessary (duplicate)?

2006-10-25 Thread Gábor Farkas
hi, imagine the following model: === class FileManager(Model): name = SlugField(maxlength=100,unique=True) directory = CharField(maxlength=500) = the sqlall for it looks like this: == BEGIN; CREATE TABLE "fileman_filemanager"

Re: Django & Movable Python

2006-10-25 Thread Perica Zivkovic
this what I have is running from USB under windows. So people I'm thinking to make windows version of "Django on a stick". No idea how easy/difficult is to do same thing for linux but sounds interesting! Running on a CD can be tricky I think because of compiled python files which are created on

Re: Filtering on the existance of a "reverse" foreign key relationsship

2006-10-25 Thread Daniel Roseman
Christian Joergensen wrote: > Jonathan Buchanan wrote: > > You could use QuerySet's "extra" method to add the custom SQL > > required, which might be something like the following in this case > > (you'd need to replace "appname" with the name of the application the > > models belong to, of

Re: Django & Movable Python

2006-10-25 Thread sandro.dentella
> also so in next few days I will be testing that. If you people are > interested I can pack it and drop it somewhere on the web so you can > also play with it. I' defenitely interested, can you detail a little more or point to a page on the wiki. I'm a linux user but I'd need this solution

Re: Django & Movable Python

2006-10-25 Thread Cheng Zhang
On Oct 25, 2006, at 3:44 PM, Perica Zivkovic wrote: > > People, > > movable python is cool but I think open should remain open without any > fees. So, few days ago, just for experiment, I placed python 2.5 + > django on a usb stick and it worked! :) now I'm able to carry my work > setup all

Re: Best configuration for small VPS

2006-10-25 Thread Gábor Farkas
orestis wrote: > Anyway, I'm interested in minimizing memory usage. > > > > I'll have to figure out why I have 10 mysqld instances eating 45M out > of 64M of memory. maybe you could try to use sqlite as the database? (no idea about it's memory usage, but i would expect it to be smaller

Re: media files with django dev-server

2006-10-25 Thread patrickk
Am 25.10.2006 um 10:41 schrieb orestis: > > I think you have confused some concepts. /django/contrib/admin/media/ > hosts the admin media files. > > You mention content uploaded by users... In what directory is this put > under ? /media/uploads/ > > Static files are documented here: >

Re: Saving arbitrary data without database

2006-10-25 Thread orestis
Thanks all for the recommendations! --~--~-~--~~~---~--~~ 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

Re: media files with django dev-server

2006-10-25 Thread orestis
I think you have confused some concepts. /django/contrib/admin/media/ hosts the admin media files. You mention content uploaded by users... In what directory is this put under ? Static files are documented here: http://www.djangoproject.com/documentation/static_files/

Re: Comments and karma tutorial

2006-10-25 Thread patrickk
as far as I know, rating only works with submitting a comment. you could probably change this by hacking the comment-manipulator. nevertheless, since ratings are stored in the comments-table, you get the wrong numbers when you do "comment_count". for what you want to do I´d suggest to write

Re: Filtering on the existance of a "reverse" foreign key relationsship

2006-10-25 Thread [EMAIL PROTECTED]
This is already in the api, no need to write extra sql, try: c.soccerteam_set.count() http://www.djangoproject.com/documentation/db_api/#backward --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Django users"

Re: Django & Movable Python

2006-10-25 Thread Perica Zivkovic
People, movable python is cool but I think open should remain open without any fees. So, few days ago, just for experiment, I placed python 2.5 + django on a usb stick and it worked! :) now I'm able to carry my work setup all around... didn't tested it much but I created django test site and it

Re: New to Django, but old to the web.

2006-10-25 Thread Levi McCallum
Are applications aware of each other? I.E. Can they call each other? Levi On Oct 24, 5:58 pm, "Russell Keith-Magee" <[EMAIL PROTECTED]> wrote: > On 10/25/06, Levi McCallum <[EMAIL PROTECTED]> wrote: > > > > > Ok then, > > > I might just ask some questions. > > > I'm not quite familiar with the