Re: Django + fastCGI + bluehost

2006-05-03 Thread Rick
Hi James, I'm hoping you have a bit of time to describe your success at getting django to work on BlueHost, perhaps by describing the differences between the DreamHost document and what you had to do. I've been trying to set up django on my new BlueHost account. While I've gotten django to do th

Re: flash integration

2006-05-03 Thread [EMAIL PROTECTED]
Yes, that's what I meant. I just use a generic view and template to generate an XML file, and then pull that into my Flash component. --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Django users" group. To post to

Re: What's this about: "No module named template.loaders.filesystem"

2006-05-03 Thread [EMAIL PROTECTED]
Oh yeah: I upgraded to 0.95, but the old django-admin.py comes up first in my $PATH, so my project got created a little wonky. Thanks! --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Django users" group. To post to

Re: Django Developer Needed to complete a smallish job

2006-05-03 Thread Kenneth Gonsalves
oh hell - sent to the wrong place - list, pl ignore this On Thu, May 4, 2006 8:38 am, Kenneth Gonsalves said: > > I am a django developer from India. My skills are more in programming than > in web design. My sites are my cv: > > http://szjuniorgolf.org.in/szdb/ > http://keystone-foundation.net/w

Re: What's this about: "No module named template.loaders.filesystem"

2006-05-03 Thread James Bennett
On 5/3/06, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote: > ImproperlyConfigured at /test/ > Error importing template source loader > django.core.template.loaders.filesystem: "No module named > template.loaders.filesystem" Sounds like somehow your project's settings.py has gotten corrupted; the

Re: Django Developer Needed to complete a smallish job

2006-05-03 Thread Kenneth Gonsalves
I am a django developer from India. My skills are more in programming than in web design. My sites are my cv: http://szjuniorgolf.org.in/szdb/ http://keystone-foundation.net/web/ the servers on which these sites run are also setup and maintained by me In both, the content is fully done by the c

What's this about: "No module named template.loaders.filesystem"

2006-05-03 Thread [EMAIL PROTECTED]
Hi, I'm just getting started with Django (0.95), and views with templates aren't working. Here's my very simple test: from django.template import Context, loader from django.http import HttpResponse def test(request): t = loader.get_template('test.html') return HttpResponse(t.render()

Re: create models from the admin page?

2006-05-03 Thread James Bennett
On 5/3/06, falcon <[EMAIL PROTECTED]> wrote: > By users I meant users of the Django framework, not end-users. Since > my last post I came across a few models (the ones you suggested) that > do have a great deal more logic than I expected. I still believe that > many 'developers' could benefit fr

Re: No module named parts.media.photos ?

2006-05-03 Thread James Bennett
On 5/3/06, Scott Benjamin <[EMAIL PROTECTED]> wrote: > I too just ran across this. It's nice to go searching and find that I'm > not the only one. ;) Ticket #1583 [1] covers this, but hasn't been resolved. The 'get_thumbnail_url' function wasn't and shouldn't be part of Django, so this needs to b

Re: DB connections never go away?

2006-05-03 Thread Greg
I think you're right, Richie. I applied the patch just in case I used threads at some point, like maybe if I used Django's database layer in some context other than a web server. --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Goo

Re: create models from the admin page?

2006-05-03 Thread Rock
falcon wrote: > I still believe that > many 'developers' could benefit from defining simple to moderately > complex models on the web. If code needs to get more complex, > developers can just switch back to using models.py. > I have gone in a different direction. I have written a tool to parse

Django Developer Needed to complete a smallish job

2006-05-03 Thread me
Hi, I'm based in Sydney, Australia and I need to hire a django developer to complete a smallish project for a client. (Our Django developer has gone on holidays in europe - Hi Peter hope you are enjoying yourself). Please contact me by email if you are available to take on this project with c/v a

Re: load comments

2006-05-03 Thread Adrian Holovaty
On 5/3/06, JHeasly <[EMAIL PROTECTED]> wrote: > I fixed it by adding > > 'django.contrib.comments', > > to the INSTALLED_APPS of my settings.py. > > So, 1.) is this the right-and-proper fix? And 2.) if so, when you make > a generate a new project with the current (0.95 post-magic-removal, > rev. 2

Re: No module named parts.media.photos ?

2006-05-03 Thread Scott Benjamin
I too just ran across this. It's nice to go searching and find that I'm not the only one. ;) Scott gabor wrote: > hi, > > (actual from-svn-trunk django) > > let's have the following model: > > > == > class Image(Model): > name = CharField(maxlength=50) > pi

Re: Why does prepopulate only happen once?

2006-05-03 Thread Sandro
Thanks for the replies. The reason why I'm a little uncomfortable with manually editing the slug is that I am releasing the django admin to an editor who will create categories and edit submitted stories, she doesn't need to know what a slug is. My solution is just setting the template tag to al

Re: trunk doc confusion

2006-05-03 Thread Malcolm Tredinnick
On Wed, 2006-05-03 at 15:43 -0700, Sean Perry wrote: > Following the new tutorial this morning I ran into a few problems: > * tutorial and other docs go back and forth between Poll and Blog apps. It's a rewrite in progress. > Choosing one would be nice. > > * __str__ vs __repr__ > The tutorial

Re: Tutorial 2 - Admin

2006-05-03 Thread Kenneth Gonsalves
On Thu, May 4, 2006 4:26 am, Luke Plant said: > > On Wednesday 03 May 2006 17:51, Kenneth Gonsalves wrote: > >> when making major upgrades, sometimes old .pyc files remain giving >> errors like this. Nuking subversion is the best solution > > Or, if you use *nix this will be a bit less drastic an

Re: flash integration

2006-05-03 Thread Kenneth Gonsalves
On Thu, May 4, 2006 12:19 am, James Bennett said: > > On 5/3/06, conspirisi <[EMAIL PROTECTED]> wrote: >> Can Django be integrated with Flash? Is it a good idea? How Difficult >> is it? > > Django's templates can output whatever you like; I'd recommend using > them to generate some sort of XML wh

Re: Dreamhost recommended?

2006-05-03 Thread SmileyChris
I haven't launched anything public on Dreamhost yet, but I haven't had any problems with some test apps I put up. So that's a tentative +1 success, pending a real app launch :) --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Googl

Re: autoreference model field

2006-05-03 Thread Russell Keith-Magee
On 5/4/06, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote: > > Hi, > > Is there a way to refine an autoreference field like : > > class Categorie(models.Model): > parent = models.ForeignKey(Categorie) > title = models.TextField() What you are looking for is: class Categorie(models.M

load comments

2006-05-03 Thread JHeasly
I watched Jacob's great Bay Area Google video and had never seen any of that nifty {{ load comments }} stuff before. Eager to give it a try, I was sad when I added it to polls app tutorial results.html template and it broke. I fixed it by adding 'django.contrib.comments', to the INSTALLED_APPS

Re: non mod-python deployment...any experiences? (dedicated server)

2006-05-03 Thread [EMAIL PROTECTED]
I am currently running a test server under Apache 2 + mod_fastcgi + django. I haven't had any problems here. Like others, I was having trouble with PHP and mod_python playing well together. --~--~-~--~~~---~--~~ You received this message because you are subscrib

Re: got unexpected keyword argument

2006-05-03 Thread Luis P. Mendes
thank you all for your help! Luis P. Mendes --~--~-~--~~~---~--~~ 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, s

Re: Tutorial 2 - Admin

2006-05-03 Thread Sean Perry
Luke Plant wrote: > On Wednesday 03 May 2006 17:51, Kenneth Gonsalves wrote: > >> when making major upgrades, sometimes old .pyc files remain giving >> errors like this. Nuking subversion is the best solution > > Or, if you use *nix this will be a bit less drastic and faster: > > find your/djan

Re: Tutorial for MR

2006-05-03 Thread Honza Král
On 5/4/06, Luke Plant <[EMAIL PROTECTED]> wrote: > > On Wednesday 03 May 2006 15:39, Malcolm Tredinnick wrote: > > On Wed, 2006-05-03 at 16:29 +0200, Honza Král wrote: > > > BEGIN; > > > COMMIT; > > > is the output of manage.py sql app (empty sql script for > > > postgreSQL) > > > > > > I am fairly

Re: Tutorial 2 - Admin

2006-05-03 Thread Luke Plant
On Wednesday 03 May 2006 17:51, Kenneth Gonsalves wrote: > when making major upgrades, sometimes old .pyc files remain giving > errors like this. Nuking subversion is the best solution Or, if you use *nix this will be a bit less drastic and faster: find your/django/src/dir -name '*.pyc' | xargs

Re: Tutorial for MR

2006-05-03 Thread Luke Plant
On Wednesday 03 May 2006 15:39, Malcolm Tredinnick wrote: > On Wed, 2006-05-03 at 16:29 +0200, Honza Král wrote: > > BEGIN; > > COMMIT; > > is the output of manage.py sql app (empty sql script for > > postgreSQL) > > > > I am fairly new to python, so I completely don't mind trivial > > questions,

trunk doc confusion

2006-05-03 Thread Sean Perry
Following the new tutorial this morning I ran into a few problems: * tutorial and other docs go back and forth between Poll and Blog apps. Choosing one would be nice. * __str__ vs __repr__ The tutorial01 says defining __str__ will then cause Model.objects.all() to show a human readable string,

Re: create models from the admin page?

2006-05-03 Thread falcon
By users I meant users of the Django framework, not end-users. Since my last post I came across a few models (the ones you suggested) that do have a great deal more logic than I expected. I still believe that many 'developers' could benefit from defining simple to moderately complex models on th

Re: create models from the admin page?

2006-05-03 Thread Sean Perry
James Bennett wrote: > Going further, it seems to me that, rather than encouraging the design > of good, well-thought-out models, building models through a web > interface would encourage a slapdash "if we get it wrong we'll just go > into the web interface and change it" mentality, which would be

Re: create models from the admin page?

2006-05-03 Thread James Bennett
On 5/3/06, falcon <[EMAIL PROTECTED]> wrote: > I wonder if you could say a few more words about why you think such a > system will be abused? As far as I can tell, the models.py interface > is simple enough to be ported completely to the web (it doesn't look > like models.py is where you put comp

Re: hack for file-browser

2006-05-03 Thread patrickk
thanks. right now i´m dealing with the proposed FileBrowseField (see previous posting), which is a hassle. i thought about using PIL for thumbnails. patrick Am 03.05.2006 um 21:01 schrieb Rudolph: > > Hi, > > I've had good results with using ImageMagick to generate thumbs (in my > old PHP s

Re: db-api.txt bug

2006-05-03 Thread Adrian Holovaty
On 5/3/06, Sean Perry <[EMAIL PROTECTED]> wrote: > That get_FOO_filename should be save_FOO_filename. Thanks, Sean! I've fixed it, along with another, similar, typo. If you could, please file these sorts of things in the Web ticket system -- things tend to get lost on the mailing lists. Adrian

db-api.txt bug

2006-05-03 Thread Sean Perry
save_FOO_file(filename, raw_contents) - For every ``FileField``, the object will have a ``get_FOO_filename()`` method, where ``FOO`` is the name of the field. This saves the given file to the filesystem, using the given filename. If a file with the given file

Re: create models from the admin page?

2006-05-03 Thread falcon
James, Thanks for pointing to sites/models.py and auth/models.py, I'll take a look. I wonder if you could say a few more words about why you think such a system will be abused? As far as I can tell, the models.py interface is simple enough to be ported completely to the web (it doesn't look like

autoreference model field

2006-05-03 Thread zeuxis
Hi, Is there a way to refine an autoreference field like : class Categorie(models.Model): parent = models.ForeignKey(Categorie) title = models.TextField() The problem is that the Categorie class is not yet defined upon class definition ... doing a simple class Categorie(model

Re: create models from the admin page?

2006-05-03 Thread James Bennett
On 5/3/06, falcon <[EMAIL PROTECTED]> wrote: > I just started looking at Django, looks very interesting. However, > couldn't models be defined in the admin page, rather than in python > code? In fact, is there a reason why we couldn't download django, run > the embedded web server, go to the adm

Re: flash integration

2006-05-03 Thread conspirisi
thanks guys, jeff, when you say that method, you mean with xml? conspirisi --~--~-~--~~~---~--~~ 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

create models from the admin page?

2006-05-03 Thread falcon
I just started looking at Django, looks very interesting. However, couldn't models be defined in the admin page, rather than in python code? In fact, is there a reason why we couldn't download django, run the embedded web server, go to the admin page and do every thing there (except templates)?

Re: flash integration

2006-05-03 Thread [EMAIL PROTECTED]
Indeed, that method works quite well. For an example of doing exactly that, you can check out my Flash photo slideshows. Here's one: http://www2.jeffcroft.com/tag/sxsw/photos/slideshow/ --~--~-~--~~~---~--~~ You received this message because you are subscribed to

Re: hack for file-browser

2006-05-03 Thread Rudolph
Hi, I've had good results with using ImageMagick to generate thumbs (in my old PHP system). It can handle a lot of file types (images, pdf, postscript, fonts, text etc. etc.). It's available for Linux, Solaris, FreeBSD, Mac OS X and Windows. I think Python binding are available, but you could als

Re: flash integration

2006-05-03 Thread James Bennett
On 5/3/06, conspirisi <[EMAIL PROTECTED]> wrote: > Can Django be integrated with Flash? Is it a good idea? How Difficult > is it? Django's templates can output whatever you like; I'd recommend using them to generate some sort of XML which can be read into a Flash component, since that would give

Re: flash integration

2006-05-03 Thread Vladimir Pouzanov
On 5/3/06, conspirisi <[EMAIL PROTECTED]> wrote: > Can Django be integrated with Flash? Is it a good idea? How Difficult > is it? As easy as flash+php. python and php are both server technologies, flash is client one. -- Sincerely, Vladimir "Farcaller" Pouzanov http://www.hackndev.com --~--~---

flash integration

2006-05-03 Thread conspirisi
I was just about to embark upon learning PHP for Flash, when I stumbled across a google video saying how tedious developing in PHP is, and how Django is the bee knees. Can Django be integrated with Flash? Is it a good idea? How Difficult is it? --~--~-~--~~~---~--~--

Re: [OT]: Video of Jacob's talk at Google

2006-05-03 Thread Jacob Kaplan-Moss
On May 3, 2006, at 12:59 PM, Jeremy Dunck wrote: > I think, from the lead-in, that this was given to the Bay-area Python > user's group, who happen to meet in Google's facilties. Very cool, > but not quite the same as pitching Django to Google's own engineers. > > I'd love to be wrong. ;-) Oh,

Re: [OT]: Video of Jacob's talk at Google

2006-05-03 Thread Jeremy Dunck
On 5/3/06, Clint Ecker <[EMAIL PROTECTED]> wrote: > Just noticed this on Google's engEDU! > > http://video.google.com/videoplay?docid=-70449010942275062&q=type%3Agoogle+engEDU&pl=true > I think, from the lead-in, that this was given to the Bay-area Python user's group, who happen to meet in Googl

Dreamhost recommended?

2006-05-03 Thread [EMAIL PROTECTED]
Hi all, I've recently scanned the list looking for dreamhosted django apps, but I couldn't extract any conclusion about it: there seems to be as many successfull installations as unsuccessfull ones. I think it's possible that some problems have been resolved, or some new ones have been discovered,

[OT]: Video of Jacob's talk at Google

2006-05-03 Thread Clint Ecker
Just noticed this on Google's engEDU!http://video.google.com/videoplay?docid=-70449010942275062&q=type%3Agoogle+engEDU&pl=true Here's a list of all the stuff which is all very interesting!http://video.google.com/videosearch?q=type%3Agoogle+engEDU&page=1&lv=0&so=1 -- Clint Ecker[EMAIL PROTECTED]http

Re: database query help

2006-05-03 Thread Dave St.Germain
oops.  My mistake.  I should've looked up the db-api docs before replying...On 5/3/06, Adrian Holovaty <[EMAIL PROTECTED] > wrote:On 5/3/06, tsnyder <[EMAIL PROTECTED] > wrote:> I think I have missed something in the documentation, and I am hoping someone> can help me.  What is the django equivalen

Re: database query help

2006-05-03 Thread Adrian Holovaty
On 5/3/06, tsnyder <[EMAIL PROTECTED]> wrote: > I think I have missed something in the documentation, and I am hoping someone > can help me. What is the django equivalent of doing something like this: > > select * from event where semester_id = 1 and category_id = 2 > > Where the event table is r

Admin ManyToMany POST exception

2006-05-03 Thread Sandro
I'm not sure if this is a bug in the django admin app or if it's a bug in my code. I have these models: class Attachment(models.Model): file = models.FileField(upload_to="attachments",null=True) ... class Announcement(models.Model): ... attachments = models.ManyToManyField(Attachment,bl

No module named parts.media.photos ?

2006-05-03 Thread gabor
hi, (actual from-svn-trunk django) let's have the following model: == class Image(Model): name = CharField(maxlength=50) pic = ImageField(upload_to='images') class Admin: list_display = ('pic','name',) == if yo

Re: Tutorial 2 - Admin

2006-05-03 Thread Kenneth Gonsalves
On Wed, May 3, 2006 6:29 pm, Dave said: > > Ok guys, > > I nuked my subversion and checked it out again. Now it appears to be > working. I have no idea what has happened but at least I can get back > into django again! when making major upgrades, sometimes old .pyc files remain giving errors lik

Re: database query help

2006-05-03 Thread Dave St.Germain
I think this is what you're looking for:Event.objects.filter(semester__id=1,category__id=2)(note the two underscores)On 5/3/06, tsnyder < [EMAIL PROTECTED]> wrote:Hi all,I think I have missed something in the documentation, and I am hoping someone can help me.  What is the django equivalent of doin

database query help

2006-05-03 Thread tsnyder
Hi all, I think I have missed something in the documentation, and I am hoping someone can help me. What is the django equivalent of doing something like this: select * from event where semester_id = 1 and category_id = 2 Where the event table is related to two other tables (semester and categ

Re: Tutorial for MR

2006-05-03 Thread Honza Král
I did manage to get this working by a quick change to django.db.models.loading.py where on line 40 in get_models() i changed _app_models.get(app_mod.__name__.split(.)[-2], {}).values() to _app_models.get(app_mod.__name__.split(.)[-1], {}).values() I do not know, whether it is a right thing to do

Re: Why does prepopulate only happen once?

2006-05-03 Thread James Bennett
On 5/3/06, Sandro <[EMAIL PROTECTED]> wrote: > What about the innocent situation of creating a category named "Clubs" > and after creating that category wanting to rename it to > "Organizations," by default you will have a slug called 'clubs' which > will point to a category named 'organizations.'

Re: Tutorial for MR

2006-05-03 Thread Honza Král
I was getting worried that I didn't get some basic fact, thank you for your help On 5/3/06, Malcolm Tredinnick <[EMAIL PROTECTED]> wrote: > > On Wed, 2006-05-03 at 16:29 +0200, Honza Král wrote: > > BEGIN; > > COMMIT; > > is the output of manage.py sql app (empty sql script for postgreSQL) > > > >

Re: Tutorial for MR

2006-05-03 Thread Malcolm Tredinnick
On Wed, 2006-05-03 at 16:29 +0200, Honza Král wrote: > BEGIN; > COMMIT; > is the output of manage.py sql app (empty sql script for postgreSQL) > > I am fairly new to python, so I completely don't mind trivial questions, > in app/models/__init__.py I have: > > # base models > from proj.app.mo

Re: Why does prepopulate only happen once?

2006-05-03 Thread Malcolm Tredinnick
On Wed, 2006-05-03 at 13:58 +, Sandro wrote: > What about the innocent situation of creating a category named "Clubs" > and after creating that category wanting to rename it to > "Organizations," by default you will have a slug called 'clubs' which > will point to a category named 'organizatio

Re: Tutorial for MR

2006-05-03 Thread Honza Král
BEGIN; COMMIT; is the output of manage.py sql app (empty sql script for postgreSQL) I am fairly new to python, so I completely don't mind trivial questions, in app/models/__init__.py I have: # base models from proj.app.models.base import * # models derived from base from proj.app.models.more_

Re: Tutorial for MR

2006-05-03 Thread Michael Radziej
Honza Král wrote: > Yes, when I have all my model classes in file models.py, manage.py sql > works just fine > > when I split my models into two or more files and put them into models > subdirectory (with __init__.py containing the proper __all__ list), it > does not work: > BEGIN > COMMIT; > >

Re: DB connections never go away?

2006-05-03 Thread Paul Eden
I had the same problem using straight mod_python and apache2 (no django).  I never did find out what the problem was and settled on just setting mysql to remove inactive connections after 2 minutes.  Obviously, not the right solution.  I am very interested in finding the answer as well. PaulOn 5

Re: Why does prepopulate only happen once?

2006-05-03 Thread Sandro
What about the innocent situation of creating a category named "Clubs" and after creating that category wanting to rename it to "Organizations," by default you will have a slug called 'clubs' which will point to a category named 'organizations.' I wonder if I'm in the only one that feels this way

Re: Custom manipulator and file upload/saving

2006-05-03 Thread Denis
Thanks, that works! --~--~-~--~~~---~--~~ 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 PROTE

Re: Tutorial 2 - Admin

2006-05-03 Thread Dave
Ok guys, I nuked my subversion and checked it out again. Now it appears to be working. I have no idea what has happened but at least I can get back into django again! My sincere thanks for your prompt support. This was my first post and I am really amazed at getting such prompt feedback. Cheers

Re: Tutorial for MR

2006-05-03 Thread Honza Král
On 5/3/06, Michael Radziej <[EMAIL PROTECTED]> wrote: > > Honza Král wrote: > > Thank you, I went to that page, but, for reasons unknown to me > > (perhaps brain death), didn't check the status of the tutorials... :-/ > > > > as for my other inquiry, can anyone tell me if it is possible to have > >

Re: Tutorial 2 - Admin

2006-05-03 Thread Malcolm Tredinnick
On Wed, 2006-05-03 at 05:46 -0700, Dave wrote: > Hi Michael, > > Here's the contents of my urls.py: > > from django.conf.urls.defaults import * > > urlpatterns = patterns('', > # Example: > # (r'^mysite/', include('mysite.apps.foo.urls.foo')), > > # Uncomment this for admin: >

Re: Tutorial 2 - Admin

2006-05-03 Thread Dave
Hi Michael, Here's the contents of my urls.py: from django.conf.urls.defaults import * urlpatterns = patterns('', # Example: # (r'^mysite/', include('mysite.apps.foo.urls.foo')), # Uncomment this for admin: (r'^admin/', include('django.contrib.admin.urls')), ) Thanks for the

Re: Tutorial 2 - Admin

2006-05-03 Thread Malcolm Tredinnick
On Wed, 2006-05-03 at 05:04 -0700, Dave wrote: > Hi guys, > > I get the following error when trying to connect to the admin page > (start of Tutorial 2). Any help greatly appreciated as I'm new to this > Magic Removal stuff... In a response to your earlier post about this, Adrian asked if you co

Re: Tutorial for MR

2006-05-03 Thread Michael Radziej
Honza Král wrote: > Thank you, I went to that page, but, for reasons unknown to me > (perhaps brain death), didn't check the status of the tutorials... :-/ > > as for my other inquiry, can anyone tell me if it is possible to have > models spread through multiple files? I am afraid I have also mis

Re: Tutorial 2 - Admin

2006-05-03 Thread Michael Radziej
Dave wrote: > Hi guys, > > I get the following error when trying to connect to the admin page > (start of Tutorial 2). Any help greatly appreciated as I'm new to this > Magic Removal stuff... Something in your setup is seriously wrong. Have you followed the instructions of the first part of the

How to hide list filter entries which will give an empty result

2006-05-03 Thread olive
Hi, Here is my model: class Application(models.Model): name = models.CharField( _('application name'), maxlength=200, unique=True) group_admin = models.ForeignKey( User, verbose_name=_('administrator'),

Tutorial 2 - Admin

2006-05-03 Thread Dave
Hi guys, I get the following error when trying to connect to the admin page (start of Tutorial 2). Any help greatly appreciated as I'm new to this Magic Removal stuff... Cheers, Dave. AttributeError at /admin/ 'module' object has no attribute 'urlpatterns' Request Method: GET Request URL:h

Re: Tutorial for MR

2006-05-03 Thread Honza Král
Thank you, I went to that page, but, for reasons unknown to me (perhaps brain death), didn't check the status of the tutorials... :-/ as for my other inquiry, can anyone tell me if it is possible to have models spread through multiple files? I am afraid I have also missed something trivial, but I

Re: Custom manipulator and file upload/saving

2006-05-03 Thread Ivan Sagalaev
Denis wrote: >I wonder what would it be the best way to save the file while im using >custom manipulator. >It contains objects from several models and im saving everingthing in >manipulator.save(). >Everything works great untill i have to save uploaded file. I wonder if >there is a way to save it

Re: hack for file-browser

2006-05-03 Thread va:patrick.kranzlmueller
rephrasing my question: i´m trying to implement a FileBrowseField which should look like http://www.vonautomatisch.at/django/ftp/get_image.jpg it will open the file-browser (http://www.vonautomatisch.at/django/ ftp/) in a pop-up window, where the user can select the file as well as upload fi

Custom manipulator and file upload/saving

2006-05-03 Thread Denis
Hi I wonder what would it be the best way to save the file while im using custom manipulator. It contains objects from several models and im saving everingthing in manipulator.save(). Everything works great untill i have to save uploaded file. I wonder if there is a way to save it using django co

Re: Tutorial for MR

2006-05-03 Thread CoolGoose
http://code.djangoproject.com/wiki/RemovingTheMagic#Documentationstatus As you can see the tutorials aren't proofread yet --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Django users" group. To post to this group,

Re: DB connections never go away?

2006-05-03 Thread Richie Hindle
[Greg] > using Eugene's #1442 patch, to store db connections in TLS > using Apache's prefork MPM (Showing my ignorance, probably) Why do you need that patch if you're using the prefork MPM? I'm using the prefork MPM because I'm assuming I won't get threading issues - am I wrong? -- Richie Hi

Re: Template Tags in MR

2006-05-03 Thread tomass
Hi Adrian, I get no output/error messages when I try python automator.py. Here's the contents of the file: from django import template register = template.Library() @register.filter def bash_special(value): value = value.replace('[00;34m', '')

Re: non mod-python deployment...any experiences? (dedicated server)

2006-05-03 Thread Dmitry Medvedev
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 I can write document in English if someone's interested. P.S. i can't really remember whether it was in Russian or English originally ;-) Cheng Zhang wrote: > That blog is in Russian. ;-) > > On May 2, 2006, at 9:49 PM, Dmitry Medvedev wrote: > >>

DB connections never go away?

2006-05-03 Thread Greg
I'm seeing an odd problem, where my MySQL connections never go away. They're idle, but they just keep piling up (as reported by "mysqladmin processlist") until I start getting errors about exceeding the maximum number of allowed connections. Does this ring any bells with anyone? It doesn't happen