Does anyone know where I can find cache tag library?

2007-10-22 Thread Nicholas Ding
Hi, guys: I've checked out the code from svn, and wanna use cache in the template, but cache tag library has gone... Does anyone know where is the tag library? Thanks -- Nicholas @ Nirvana Studio http://www.nirvanastudio.org --~--~-~--~~~---~--~~ You received thi

unable to display images

2007-10-22 Thread Anurag
Sorry for this repeat post - but i am getting quite desperate and be very thankful for some help... I am unable to display images directly through Apache - with the following configuration.Can someone please help. Much thanks! the line in my base html reads the following my media_url is s

Re: Get all related instances

2007-10-22 Thread Malcolm Tredinnick
On Mon, 2007-10-22 at 16:31 +0200, Thomas Guettler wrote: [...] > BTW, why does django collect all sub objects? The SQL part "ON DELETE > CASCADE" should > remove them. pre_delete and post_delete signals. Regards, Malcolm -- Borrow from a pessimist - they don't expect it back. http://www.poi

Re: Authenticating static content when not using mod_python

2007-10-22 Thread Chris Moffitt
> > > > My current plan is the following: > > 1. capture the file request url and direct it a view. > > 2. check user permissions > > 3. Get Python to construct the correct MIME header then read the > > requested file from disk and pipe it through to the user. > > > > If this is the best solution t

Re: Django writing self-generated files to disk

2007-10-22 Thread Graham Dumpleton
On Oct 23, 10:26 am, Graham Dumpleton <[EMAIL PROTECTED]> wrote: > On Oct 23, 6:27 am, Scott SA <[EMAIL PROTECTED]> wrote: > > > Hi, > > > I have a django instance running under mod-python/apache and am having > > trouble with a user that has a poor-quality connection. The task is to > > gener

Re: Django writing self-generated files to disk

2007-10-22 Thread Graham Dumpleton
On Oct 23, 6:27 am, Scott SA <[EMAIL PROTECTED]> wrote: > Hi, > > I have a django instance running under mod-python/apache and am having > trouble with a user that has a poor-quality connection. The task is to > generate a tab-delim report (rather lengthy one) of which we've been > writing-to-r

Looking to Hire 2-3 django Rockstars in San Diego, Solana Beach, CA ...And Remotely.

2007-10-22 Thread Sebastian Macias
Guys, We at Positive Digital Solutions are looking to hire 2-3 django rockstars to initially port one of our apps from PHP to django as well as build some additional awesome features and maintain the app. Check out the job description and send us an email if you are interested. http://sandiego.

can contrib.sites.models (Site) belong to an application model?

2007-10-22 Thread Tim Perrett
Hey all Just a quick one that I dont seem to be able to find anywhere in the documentation; Is it possible for one of my app models to have-many sites? I have a model called Partner which i would like to have-many Sites, is this possible? Or is this too ingrained in the django code itself? Chee

Django writing self-generated files to disk

2007-10-22 Thread Scott SA
Hi, I have a django instance running under mod-python/apache and am having trouble with a user that has a poor-quality connection. The task is to generate a tab-delim report (rather lengthy one) of which we've been writing-to-response: "return HttpResponse(report_tdf, mimetype='text/tab-se

facebook.FacebookError: Error 100: Invalid parameter

2007-10-22 Thread sami
Hi I know this is not django specific but since I am using Pyfacebook and this was written by a Django-friendly programmer, I am posting this here (facebook has no decent python forum) First of all, I really don't want to use dango for the time being - Pyfacebook has a very simple desktop exampl

Re: _real_get_response: global name '_' is not defined

2007-10-22 Thread l5x
Thank you, it's working now. Now I know to look for changes on http://code.djangoproject.com/wiki/BackwardsIncompatibleChanges every time I use svn. Best regards, l5x --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Group

Re: How do I do this JOIN...

2007-10-22 Thread Dr Stitch
On Oct 19, 10:51 pm, Malcolm Tredinnick <[EMAIL PROTECTED]> wrote: > > SELECT published.title, journal_names.name, > > journal_impact_factor.impact_factor > > FROM published, journal_names, journal_impact_factor > > WHERE > > published.journal_names_id=journal_names.id > > AND > > p

Re: _real_get_response: global name '_' is not defined

2007-10-22 Thread Ramiro Morales
On 10/22/07, l5x <[EMAIL PROTECTED]> wrote: > > Hello, > > my code was working fine, until I put it on my another system. > The error I get with newest SVN django version is: > > NameError at / > global name '_' is not defined > Request Method: GET > Request URL:http://localhost:8000/

Re: generic views

2007-10-22 Thread jake elliott
On Mon, 2007-10-22 at 14:12 -0500, jake elliott wrote: > this is probably another really simple view. you can use > HttpResponseRedirect - or if you really want to end up using a generic > view remember that you can call them within your own views also. > > # views.py > from django.views.generi

_real_get_response: global name '_' is not defined

2007-10-22 Thread l5x
Hello, my code was working fine, until I put it on my another system. The error I get with newest SVN django version is: NameError at / global name '_' is not defined Request Method: GET Request URL:http://localhost:8000/ Exception Type: NameError Exception Value:glob

Re: extends isn't working

2007-10-22 Thread Ramiro Morales
Randall, On 10/22/07, DjangoFett <[EMAIL PROTECTED]> wrote: > > The more I "fiddle" with these templates, the more I'm understanding > them. It was the initial learning curve that just had me confused b/c > it wasn't what I was looking for... There is a description of how template inheritance wo

Re: generic views

2007-10-22 Thread jake elliott
hi bernd, On Mon, 2007-10-22 at 18:40 +0200, Bernd wrote: > I want to use a generic view with an url that had a parameter. This > parameter should filter my queryset. > How does this work? I don't now what to write in the filter-option? > - > e = { > 'template': 'foo.html

Re: newforms: required field mark

2007-10-22 Thread weissblitz
I see what you mean but I dont think it will work because I want the field elements to look sort of like: [Prompt:] [Textbox] [a red '*' initially or a error message after validation] [help text if any] So, in the template, I was hoping to be able do something like: {{field.label_tag}}: {{field

Re: How to 'order_by' on a FK in a list of objects

2007-10-22 Thread Greg
Malcolm, Thanks for pointing me in the right direction. I looked at the Django FAQ's and read about 'connection.queries'. Using that I was able to look at what SQL statements were being generated. From that I noticed that in the FROM clause my table plush_collection was not being called. That

Re: newforms: required field mark

2007-10-22 Thread Oleg Korsak
But I need to mark form fields from the model-generated forms too! I can put "*" before the label in my own form. but what to do with generated forms? There is a working example in Django admin part. I'll look to the code Ken пишет: > By default all form fields are required. So, it seems to me th

Re: python mvc framework and java mvc framework

2007-10-22 Thread Jon Atkinson
Hello, > My question is to someone who actually try both, are they similar in > productivity and enterprise quality? I've used several Java frameworks, and I've been using Django for quite a while in an large commercial setting; I find myself *much* more productive with Django, and as for someth

Re: extends isn't working

2007-10-22 Thread DjangoFett
The more I "fiddle" with these templates, the more I'm understanding them. It was the initial learning curve that just had me confused b/c it wasn't what I was looking for. I think I understand all you're speaking of now, though. Thanks for your great help Karen! I'll be seeing you on here a lot w

Re: extends isn't working

2007-10-22 Thread Karen Tracey
On 10/22/07, DjangoFett <[EMAIL PROTECTED]> wrote: > > I was hoping for more of a tree structure of extensions... Note that extends can be chained. Using your example: You start with index.html that defines all the blocks you want to customize, as you have it now. Then, in index_title, you ext

generic views

2007-10-22 Thread Bernd
Hello, First question: I want to use a generic view with an url that had a parameter. This parameter should filter my queryset. How does this work? I don't now what to write in the filter-option? - e = { 'template': 'foo.html', 'extra_context': {'list': Event.objects.f

Re: extends isn't working

2007-10-22 Thread DjangoFett
I think I'm starting to see the point of extends now, as I had been assuming it was equivilant to the php include statements. What I'm assuming extends is for now is to always have "base" files from which to extend. You create particular layouts from which children inherit the parents overall temp

Re: Question about Django caching

2007-10-22 Thread Karen Tracey
On 10/22/07, Joe <[EMAIL PROTECTED]> wrote: > > > I am using the Django cache middleware to cache my site. I had to set > CACHE_MIDDLEWARE_ANONYMOUS_ONLY = True because some content > changes > based upon which user is logged in (Hello, username). > > If I go into the template and do some

Re: Question about Django caching

2007-10-22 Thread Joe
Well, after looking at the code, it appears the template tag ignores the CACHE_MIDDLEWARE_ANONYMOUS_ONLY setting. Thanks to all those who responded! (PS: I was just kidding) On Oct 22, 11:50 am, Joe <[EMAIL PROTECTED]> wrote: > I am using the Django cache middleware to cache my site. I had to

Re: extends isn't working

2007-10-22 Thread DjangoFett
How, then, can i extend multiple code sources off of my index.html file? I'm looking at the Django Template language page (http:// www.djangoproject.com/documentation/templates/) and what it's saying (as well as my logic) isn't meshing with what you're saying. Here's a simple example I'm creating

Re: extends isn't working

2007-10-22 Thread Karen Tracey
On 10/22/07, DjangoFett <[EMAIL PROTECTED]> wrote: > > def Index( request ): > > t = loader.get_template( 'index.html' ) > I think you want: t = loader.get_template( 'index_title.html' ) there. Your view code needs to specify the "extending" template you want to have rendered, not the base te

Question about Django caching

2007-10-22 Thread Joe
I am using the Django cache middleware to cache my site. I had to set CACHE_MIDDLEWARE_ANONYMOUS_ONLY = True because some content changes based upon which user is logged in (Hello, username). If I go into the template and do some template fragment caching, will it ignore the setting abov

Re: extends isn't working

2007-10-22 Thread DjangoFett
I misesd the return line... return HttpResponse( t.render( c ) ) On Oct 22, 11:45 am, DjangoFett <[EMAIL PROTECTED]> wrote: > Sorry for the vagueness in my post. > > The problem is that there are no errors. The output is just > unexpected. The text and code I put into the file which is index's >

Re: extends isn't working

2007-10-22 Thread DjangoFett
Sorry for the vagueness in my post. The problem is that there are no errors. The output is just unexpected. The text and code I put into the file which is index's extension doesn't show up. I put in a default value between the index.html block. Then I've tried to extend the block with an alternat

Re: Creating querysets to pass in a function

2007-10-22 Thread Karen Tracey
On 10/22/07, Freddie <[EMAIL PROTECTED]> wrote: > > > Is there a way to just create a queryset that doesn't hit the > database... something like: > > qs1 = create_query_set(field1__isexact=some_value) > > qs2 = create_query_set(field1__isexact=some_value) > > qs3 = create_query_set(field1__isexact=

Re: extends isn't working

2007-10-22 Thread Karen Tracey
What are the outwardly-visible signs of "I can't get any of the extended files to work with index"? From what you've posted I don't know if you are seeing errors about templates files not being found or if you are just seeing unexpected output in your resulting HTML. You might also want to mentio

Re: newbie problem: no django.core.management

2007-10-22 Thread Matthew Wensin
$ sudo updatedb $ locate django Look for: /path/to/django/bin/manage.py /path/to/django/bin/django-admin.py ... That /bin should be on your $PATH. If you feel comfortable with it, I recommend using SVN to check out the latest django development version: /wherever/you/want$ sudo svn co http://

Re: newbie problem: no django.core.management

2007-10-22 Thread Kristinn Örn Sigurðsson
You should try installing Django manually. I did it on my Macbook and it has always worked without any problems. Just get the development version through subversion. On 10/22/07, johannes <[EMAIL PROTECTED]> wrote: > > > Well, which django revealed: > > no django in /opt/local/bin /opt/local/sbin

Creating querysets to pass in a function

2007-10-22 Thread Freddie
Is there a way to just create a queryset that doesn't hit the database... something like: qs1 = create_query_set(field1__isexact=some_value) qs2 = create_query_set(field1__isexact=some_value) qs3 = create_query_set(field1__isexact=some_value) And then chain them somehow ultimately hitting the

extends isn't working

2007-10-22 Thread DjangoFett
I'm very new to the whole Django framework, but have a bit of experiance in Python. I'm doing some of the tutorial work and extending to my own project slowly. However, I'm having a MAJOR problem when using the TEMPLATE_DIRS. In the settings file I have set where all my template HTML files are to

Re: Get all related instances

2007-10-22 Thread Karen Tracey
On 10/22/07, Thomas Guettler <[EMAIL PROTECTED]> wrote: > > BTW, why does django collect all sub objects? The SQL part "ON DELETE > CASCADE" should > remove them. Not all the database backends will do the cascading delete. MySQL, for instance, only supports it for certain kinds of tables. So Dj

Re: newbie problem: no django.core.management

2007-10-22 Thread johannes
Well, which django revealed: no django in /opt/local/bin /opt/local/sbin /Library/Frameworks/ Python.framework/Versions/Current/bin /bin /sbin /usr/bin /usr/sbin / usr/texbin /usr/local/bin So there is something wrong with my django-macports-installation? In opt/local/bin there's only django-adm

Re: python mvc framework and java mvc framework

2007-10-22 Thread Wiley
One of those threads was mine and I just wanted to say that I'm now happily hosting three django projects using apache virutal hosts on the same server with no problems - my problem was only an apache configuration file issue having nothing to do with django. On Oct 20, 10:28 am, Kenneth Gonsalve

Re: Get all related instances

2007-10-22 Thread Thomas Guettler
Hi Malcom and other, > That would seem to only account for things that are directly attached to > the current model, rather than more distant relations. Yes, but that's enough for me. > Have a look at what Model._collect_sub_objects() does -- or call it > directly -- to see how Django goes abou

FREE Web Hosting...

2007-10-22 Thread mars
http://host.2freedom.com/ 250 MB of Disk Space 100 GB Bandwidth! Full Domain Hosting cPanel Powered Hosting Host unlimited domains! Over 500 website templates Free POP3 Email Box Enjoy unrestricted POP3 email Full Webmail access FTP and Web based File Manager access PHP, MySQL, Perl, CGI, Ruby.

Free

2007-10-22 Thread mars
http://host.2freedom.com/ 250 MB of Disk Space 100 GB Bandwidth! Full Domain Hosting cPanel Powered Hosting Host unlimited domains! Over 500 website templates Free POP3 Email Box Enjoy unrestricted POP3 email Full Webmail access FTP and Web based File Manager access PHP, MySQL, Perl, CGI, Ruby.

Apache and images

2007-10-22 Thread Anurag
I am unable to display images directly through Apache - with the following configuration.Can someone please help. Much thanks! the line in my base html reads the following my media_url is set to /static/ and the htpd.conf reads the following SetHandler python-program PythonHandle

Re: Changing a URL

2007-10-22 Thread Karen Tracey
On 10/22/07, Rufman <[EMAIL PROTECTED]> wrote: > > So this means I cannot pass a context object as well? No, not with a redirect. I think you may want to rethink your design here. You've got one bit of information about what data to retrieve (page number) as part of the URL. You'e got other inf

Re: newbie problem: no django.core.management

2007-10-22 Thread johannes
> Can you successfully run this: > > [EMAIL PROTECTED] python > > >>> import django > > ? No. That doesn't work either. Well, but how do I figure out what's the right path to /path/to/django/bin? There are so many "djangos" in my opt/local/-directory. (mostly receipts or rsync-stuff from macports

Re: Changing a URL

2007-10-22 Thread Malcolm Tredinnick
On Mon, 2007-10-22 at 13:37 +, Rufman wrote: > > > OK, so if you're wanting to change the URL that the client is > > retrieving, you need to use an HTTP redirect (return a > > django.http.HttpResponseRedirect() class from your view). This sends the > > new URL to retrieve back to the client,

Re: loaddata without pk

2007-10-22 Thread Ariel Mauricio Nunez Gomez
>I think you're misunderstanding. There's no bug or issue here, at least >as far as you've explained it. Django's loaddata simply isn't designed >for data that isn't fully specified, which includes the pk value. >Instead, it's designed to handle the stuff written out by dumpdata. The issue I was d

Re: newbie problem: no django.core.management

2007-10-22 Thread Matthew Wensin
Make sure that /path/to/django/bin is in your $PATH and also that django is accessible through your /path/to/python/site-packages directory. Can you successfully run this: [EMAIL PROTECTED] python >>> import django ? Matt On 10/22/07 9:34 AM, "johannes" <[EMAIL PROTECTED]> wrote: > > Ok. A

Re: newbie problem: no django.core.management

2007-10-22 Thread johannes
Uhm. Yes I'm logged in as non-admin user. But even when I log in via terminal to my admin-account (su -l ...), the same error occurs. --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Django users" group. To post to

Re: newbie problem: no django.core.management

2007-10-22 Thread Kristinn Örn Sigurðsson
Are you in the root of your site? It seems like you're trying to run manage.py from a location where manage.py doesn't exist. On 10/22/07, johannes <[EMAIL PROTECTED]> wrote: > > > Ok. Adding > export PYTHONPATH=$PYTHONPATH:/opt/local/lib/python2.5/sitepackages/ > django/core > to my .profile seem

Re: Changing a URL

2007-10-22 Thread Rufman
> OK, so if you're wanting to change the URL that the client is > retrieving, you need to use an HTTP redirect (return a > django.http.HttpResponseRedirect() class from your view). This sends the > new URL to retrieve back to the client, which then requests the new URL > and gets the new page. Ho

Re: newbie problem: no django.core.management

2007-10-22 Thread johannes
Ok. Adding export PYTHONPATH=$PYTHONPATH:/opt/local/lib/python2.5/sitepackages/ django/core to my .profile seemed to be the remedy. But no I get the error: /Library/Frameworks/Python.framework/Versions/2.5/Resources/Python.app/ Contents/MacOS/Python: can't open file 'manage.py': [Errno 2] No such

Re: newbie problem: no django.core.management

2007-10-22 Thread Kristinn Örn Sigurðsson
It seems right. I didn't install Django through ports on my mac. Try changing your pythonpath to the following:export PYTHONPATH=$PYTHONPATH:/location/to/django On 10/22/07, johannes <[EMAIL PROTECTED]> wrote: > > > Hello Kristinn, > > On 22 Okt., 15:08, "Kristinn Örn Sigurðsson" > <[EMAIL PROTECT

Re: newbie problem: no django.core.management

2007-10-22 Thread johannes
Hello Kristinn, On 22 Okt., 15:08, "Kristinn Örn Sigurðsson" <[EMAIL PROTECTED]> wrote: > Is the path for the python command you just installed through ports before > the path to the build-in python version? > Well, i don't know if I understood your question right. Anyway, here's my .profile: e

Re: Get all related instances

2007-10-22 Thread Malcolm Tredinnick
On Mon, 2007-10-22 at 15:03 +0200, Thomas Güttler wrote: > Hi, > > since obj.delete() uses "on delete cascade", I want to see first > which instances still have a reference to obj (and would get deleted). > > I write this little helper. Comments welcome: > > def all_related_instances(instance):

Generic relations - reasonable usage?

2007-10-22 Thread David Reynolds
Hi, I have the requirement to have an active/inactive function for all contenttypes in a site I'm working on. Is this a valid usage for a Generic Relationship? If so, any tips as to how I'd go about implementing this? Thanks, David -- David Reynolds [EMAIL PROTECTED] --~--~-~-

Re: newbie problem: no django.core.management

2007-10-22 Thread Kristinn Örn Sigurðsson
Is the path for the python command you just installed through ports before the path to the build-in python version? On 10/22/07, johannes <[EMAIL PROTECTED]> wrote: > > > Hello, > > I'm a django-newbie and have problems in setting it up. I'm running a > PPC Mac, so I installed django via macports.

Re: Markdown problem

2007-10-22 Thread Malcolm Tredinnick
On Mon, 2007-10-22 at 06:02 -0700, koenb wrote: > Alexander, > > A few weeks ago I came across the same issue (I filed ticket #5663). > > The good thing is, making your own replacement filter to bypass the > problem is easy. > > On the other hand, Malcolm closed the ticket today as wontfix, sta

Get all related instances

2007-10-22 Thread Thomas Güttler
Hi, since obj.delete() uses "on delete cascade", I want to see first which instances still have a reference to obj (and would get deleted). I write this little helper. Comments welcome: def all_related_instances(instance): """ Return all instances which have a relation to this instance.

Re: Markdown problem

2007-10-22 Thread koenb
Alexander, A few weeks ago I came across the same issue (I filed ticket #5663). The good thing is, making your own replacement filter to bypass the problem is easy. On the other hand, Malcolm closed the ticket today as wontfix, stating it is a bug in markdown. Though that may be true, I do not

newbie problem: no django.core.management

2007-10-22 Thread johannes
Hello, I'm a django-newbie and have problems in setting it up. I'm running a PPC Mac, so I installed django via macports. Everything seems fine I can create the mysite folder like described in the tutorial but then I get stuck with the following error: python manage.py runserver Traceback (most

Re: Changing a URL

2007-10-22 Thread Malcolm Tredinnick
On Mon, 2007-10-22 at 12:45 +, Rufman wrote: > I'm displaying a large list of objects that are paginated by the > Django Paginator. The list is rendered in a form, so that the user can > limit the objects shown. The problem is that when I limit something I > need to repaginate that result. >

Re: Changing a URL

2007-10-22 Thread Rufman
I'm displaying a large list of objects that are paginated by the Django Paginator. The list is rendered in a form, so that the user can limit the objects shown. The problem is that when I limit something I need to repaginate that result. Now, for example if I come from page 5 and limit the output

Re: Changing a URL

2007-10-22 Thread Malcolm Tredinnick
On Mon, 2007-10-22 at 12:20 +, Rufman wrote: > Hello > > How can I change a url from /something/1/ to /something/2/. I tried it > with request.path. The path variable of the request object passed to > the template (with RequestContext) is the one that I defined in the > view (i.e. /something/

Re: loaddata without pk

2007-10-22 Thread Malcolm Tredinnick
On Mon, 2007-10-22 at 07:03 -0500, Ariel Mauricio Nunez Gomez wrote: > Thanks for your comments Russell, > > I was refering to my own django install, I agree that it's not by any > chance a solution for the general problem. > > Do you think it would be adequate to report the issue in trac? I t

Re: Getting the base filename of FileField in templates

2007-10-22 Thread Malcolm Tredinnick
On Mon, 2007-10-22 at 04:55 -0700, [EMAIL PROTECTED] wrote: > Hi, > > Playing on the latest SVN with newforms and FileFields, I was > wondering if there is a built-in way to retrieve the base filename of > a FileField. > Currently in my templates, {{ my_model.my_filefield }} displays the > upload

Re: flex javascripts not loading in django

2007-10-22 Thread Malcolm Tredinnick
On Mon, 2007-10-22 at 04:18 -0700, Tiger Uppercut wrote: > Hi, > > I'm new to Django, and I'm trying to serve some flex content. I'm > running mod_wsgi. > > In particular, my urls.py looks like this: > > (r'^$', serve_main), So this says you want serve_main() to handle every single UR

Changing a URL

2007-10-22 Thread Rufman
Hello How can I change a url from /something/1/ to /something/2/. I tried it with request.path. The path variable of the request object passed to the template (with RequestContext) is the one that I defined in the view (i.e. /something/2/), but the url is still the old one. Is there another varia

Re: loaddata without pk

2007-10-22 Thread Ariel Mauricio Nunez Gomez
Thanks for your comments Russell, I was refering to my own django install, I agree that it's not by any chance a solution for the general problem. Do you think it would be adequate to report the issue in trac? Regards, Ariel. --~--~-~--~~~---~--~~ You received th

Superb Powerpoint Shows : You will like these

2007-10-22 Thread Ankur Kothari
- How do you know as your organisation is learning - How Do You Know - How Do You Feel Now

Getting the base filename of FileField in templates

2007-10-22 Thread [EMAIL PROTECTED]
Hi, Playing on the latest SVN with newforms and FileFields, I was wondering if there is a built-in way to retrieve the base filename of a FileField. Currently in my templates, {{ my_model.my_filefield }} displays the uploaded filename appended to the value of 'upload_to', which I do not find very

flex javascripts not loading in django

2007-10-22 Thread Tiger Uppercut
Hi, I'm new to Django, and I'm trying to serve some flex content. I'm running mod_wsgi. In particular, my urls.py looks like this: (r'^$', serve_main), > views.py looks like: def serve_main(request): > return render_to_response('index.html') index.html looks like: http://mysite.co

Re: Djangonauts in Amsterdam, Prague, or Krakow?

2007-10-22 Thread Jarek Zgoda
Kenneth Gonsalves napisał(a): Maybe some local DUG in Warsaw >>> DUG? Django User Group? >> I think so. Does this sound riduculous (or what)? > > DUG has unfortunate connotations - why not standardise on DjUG - with > the 'D' silent, so it would denote a dJUG of beer which is mandatory

Re: Djangonauts in Amsterdam, Prague, or Krakow?

2007-10-22 Thread Kenneth Gonsalves
On 22-Oct-07, at 1:45 PM, Jarek Zgoda wrote: >>> Maybe some local DUG in Warsaw >> >> DUG? Django User Group? > > I think so. Does this sound riduculous (or what)? DUG has unfortunate connotations - why not standardise on DjUG - with the 'D' silent, so it would denote a dJUG of beer which is

Re: Anyone running mod_python for Python 2.5 on Mac OS X?

2007-10-22 Thread Ulf Kronman
> That one has to go to the > extent of reading the Python source code to fully understand what it > is for is a good sign that the typical user shouldn't be using it for > anything. If it is there for any reason, I'd say it is more for people > who are tinkering with the actual Python code itself

Re: Djangonauts in Amsterdam, Prague, or Krakow?

2007-10-22 Thread Jarek Zgoda
Kenneth Gonsalves napisał(a): >> Maybe some local DUG in Warsaw > > DUG? Django User Group? I think so. Does this sound riduculous (or what)? -- Jarek Zgoda Skype: jzgoda | GTalk: [EMAIL PROTECTED] | voice: +48228430101 "We read Knuth so you don't have to." (Tim Peters) --~--~-~--~-

Re: dumpdata from values set by model's __init__

2007-10-22 Thread Andreas Pfrengle
Hello Malcolm, thanks again for your immediate answer, that makes it clearer to me how dump/loaddata works. I thought the data in the fixture would be written directly to the db, but it makes sense to do this via instantiating Testtable again, calling again the __init__, and hence calculating a n

Re: random seed with multiple processes

2007-10-22 Thread Jarek Zgoda
Tomas Kopecek napisał(a): > We are using django with FastCGI deployment and got the following > problem. Inside is used module random which is imported before forking > parent process. It means, that each of children processes have same > sequence of pseudo-random numbers. Is there any simple

Re: Djangonauts in Amsterdam, Prague, or Krakow?

2007-10-22 Thread Kenneth Gonsalves
On 22-Oct-07, at 1:30 PM, Jarek Zgoda wrote: > Maybe some local DUG in Warsaw DUG? Django User Group? -- regards kg http://lawgon.livejournal.com http://nrcfosshelpline.in/web/ --~--~-~--~~~---~--~~ You received this message because you are subscribed to th

Re: Djangonauts in Amsterdam, Prague, or Krakow?

2007-10-22 Thread Jarek Zgoda
Przemek Gawronski napisał(a): > If you would 'jump' from Krakow to Warsaw then I'd be more then happy > have a beer together. Maybe some local DUG in Warsaw? I wouldn't mind having some meetup from time to time. If anybody is interested, mail me privately (or ping on jabber) so we could arrange

Custom manager and admin problem

2007-10-22 Thread eXt
Hi all! I've got a model which has a custom manager defined. Model has no fields, there is only the manager. Here is my code: from django.contrib.auth.models import User class MyUserManager(models.Manager): def get_query_set(self): return User.objects.filter(is_superuser=False) c