Re: mmmmm

2009-12-25 Thread Shawn Milochik
Michael, I think what Karen was referring to was this: http://catb.org/~esr/faqs/smart-questions.html It's not how much or how little you know. It's how you ask the question. There are a lot of people on this list who will willing answer the most elementary question, if the request is made in

Re: mmmmm

2009-12-25 Thread Michael Jenkinson
Hi Thank you so much for taking the time to reply. When you are as new to both python and django as I am you dont always see the wood for the trees. Yes I still know I have a problem with how the paths are setup, system paths that is that relate to python in general and to django, what I do

Re: mmmmm

2009-12-25 Thread Karen Tracey
On Fri, Dec 25, 2009 at 8:26 PM, Michael Jenkinson wrote: > hi > > put the complte path to it and it worked. guess the path isnt set right > somewhere. thanks anyway > > when the tutorial says one thing and it doesnt work one starts to wonder > why. hence the original

Re: mmmmm

2009-12-25 Thread Michael Jenkinson
Hi Yes I like the idea of both python and django, if only that django rheinhart played at a club in Warrington in about 1967, I got in when I shouldnt have, 17 instead of 21. he was just brilliant. Ive been looking for a truly RAD system for web pages and this seems to fit the bill. Sometimes

Re: mmmmm

2009-12-25 Thread Michael Jenkinson
hi put the complte path to it and it worked. guess the path isnt set right somewhere. thanks anyway when the tutorial says one thing and it doesnt work one starts to wonder why. hence the original query. sorry if I got you frustrated too, it wasnt my intention. Michael - Original

Re: django-tagging is not multi-db safe

2009-12-25 Thread James Bennett
On Fri, Dec 25, 2009 at 1:06 PM, Hanne Moa wrote: > A site using django-tagging will break hard on 1.2 as of today. See > issue http://code.google.com/p/django-tagging/issues/detail?id=233 . > > How is one to use as_sql() now with multi-db in? One doesn't. And, generally,

Re: django-tagging is not multi-db safe

2009-12-25 Thread Russell Keith-Magee
On Sat, Dec 26, 2009 at 3:06 AM, Hanne Moa wrote: > A site using django-tagging will break hard on 1.2 as of today. See > issue http://code.google.com/p/django-tagging/issues/detail?id=233 . > > How is one to use as_sql() now with multi-db in? as_sql() is (and has always

Django-MongoDB

2009-12-25 Thread RackFeed
Has anybody tried using django-mongodb? What were your impressions? How well/poorly does the ORM work with mongodb? I'm tired of sql nonsense and want to use mongodb but also want to keep using django. -- You received this message because you are subscribed to the Google Groups "Django users"

Re: {% url admin:index %} generating wrong urls

2009-12-25 Thread Karen Tracey
On Thu, Dec 24, 2009 at 2:56 PM, Chris Withers wrote: > Hi All, > > My django site is served up with the following in Apache's config: > > WSGIScriptAlias /studio /django/studio/bin/django.wsgi > > My urls.py looks like: > > urlpatterns += patterns( > 'django.contrib',

Re: mmmmm

2009-12-25 Thread Daniel Roseman
On Dec 25, 8:57 pm, Michael Jenkinson wrote: > Hi > > Please excuse my ignorance before we start. Ive had django for a week or so > and am getting absolutely nowhere. I'm using Ubuntu 9.10 and installed Django > via apt-get but the pathing is haywire. Ive copied all the

Re: mmmmm

2009-12-25 Thread shawn
I'm glad that, at least according to your subject line, you're finding Django so tasty. Here's everything you need to get started: http://docs.djangoproject.com/en/1.1/intro/tutorial01/#intro-tutorial01 If you have a specific problem that you can describe, including error messages if applicable,

mmmmm

2009-12-25 Thread Michael Jenkinson
Hi Please excuse my ignorance before we start. Ive had django for a week or so and am getting absolutely nowhere. I'm using Ubuntu 9.10 and installed Django via apt-get but the pathing is haywire. Ive copied all the files into usr/lib/python2.6/installed_packages but it still doesnt see it. I

Re: Get name from request.path

2009-12-25 Thread Daniel Roseman
On Dec 25, 8:45 pm, kelvan.mailingl...@gmail.com wrote: > request.META['HTTP_HOST'] just return the webadress from the server, I need > the name I gave an url un urls.py. > Like reverse just the other way > > florian I'd be interested to know why you need this. The url name is just a label, it

Re: Get name from request.path

2009-12-25 Thread kelvan . mailinglist
request.META['HTTP_HOST'] just return the webadress from the server, I need the name I gave an url un urls.py. Like reverse just the other way florian 2009/12/25 Shawn Milochik sh...@milochik.com Try this: request.META['HTTP_HOST'] If not, check the docs for the request object:

Re: Get name from request.path

2009-12-25 Thread Shawn Milochik
Try this: request.META['HTTP_HOST'] If not, check the docs for the request object: http://docs.djangoproject.com/en/dev/ref/request-response/#httprequest-objects Shawn -- You received this message because you are subscribed to the Google Groups "Django users" group. To post to this group,

Get name from request.path

2009-12-25 Thread kelvan . mailinglist
Hi, I'm trying to get the url name of the request.path, resolve only shows if the url exists. Is there a function that returns the name of the urlpath? happy holidays, florian signature.asc Description: OpenPGP digital signature

django-tagging is not multi-db safe

2009-12-25 Thread Hanne Moa
A site using django-tagging will break hard on 1.2 as of today. See issue http://code.google.com/p/django-tagging/issues/detail?id=233 . How is one to use as_sql() now with multi-db in? HM -- You received this message because you are subscribed to the Google Groups "Django users" group. To

Re: RESTful API at Django

2009-12-25 Thread Jeffrey Johnson
https://earthdev.burningman.com/hg/bme/file/c1026f82dfaf/apps/api/emitters.py Some preliminary work that ingenieroariel did on a GeoJSON emitter for piston. Pretty rudimentary at this point, but might be a good place to start. Merry Xmas, Jeff On Fri, Dec 25, 2009 at 10:12 AM, Servais Nabil

Re: RESTful API at Django

2009-12-25 Thread Servais Nabil
Hi Christian, I will work on a very similar project this next year. I will be very glad to help you for your project. Merry Christmas On Fri, Dec 25, 2009 at 6:38 PM, Ovnicraft wrote: > Hi folks, i was reading about rest in django, and i found 2 projects piston > and

Re: about django model save

2009-12-25 Thread Shawn Milochik
Django-south is the best solution right now. Django-evolution is no longer developed, as the author thinks South is the current best solution. http://south.aeracode.org/ Shawn -- You received this message because you are subscribed to the Google Groups "Django users" group. To post to this

RESTful API at Django

2009-12-25 Thread Ovnicraft
Hi folks, i was reading about rest in django, and i found 2 projects piston and django-rest-interface, i've chosen piston, so i want to create emitters to spatial data (kml, georss, geojson, etc), and want to know if anyone has some experience or neediness to join and coding. best regards and

Re: AdminSite and Enterprise applications

2009-12-25 Thread Victor Lima
Well, let me put it this way: until now i have managed to extend and alter the admin without actually tempering with the source code to the level of customization that i wanted ( and it was not trivial customizations ). So yes the admin is highly customizable, beyond my expectartions.

Re: about django model save

2009-12-25 Thread Carlos Ricardo Santos
You may want to try django-evolution. It "clones" the rake migrations of Rails :D Not so good... but if fits. 2009/12/25 Victor Lima > Try deleting the table and then syncdb again... > > Att, > Victor Lima > > Em 25/12/2009, às 00:02, chen gang

Re: about django model save

2009-12-25 Thread Victor Lima
Try deleting the table and then syncdb again... Att, Victor Lima Em 25/12/2009, às 00:02, chen gang escreveu: > Hi, > I am really new to this tool... and need you help about this issue, > thanks in advance! > > I create models.py like this, > > ... > class

Re: unicode httprequest fails?

2009-12-25 Thread twister
problem solved. it was caused by an improper configure line in the httpd.conf: ... PythonOption django.root /# This line should be deleted, then everything is ok. ... sorry for the bother. thanks for your effort, James. -- You received this message

Re: AdminSite and Enterprise applications

2009-12-25 Thread Kenneth Gonsalves
On Friday 25 Dec 2009 4:43:52 pm Vehbi Sinan Tunalioglu wrote: > Assume that you develop a mission-critical enterprise level > application with Django (yes, we do it frequently and promote others > doing it). Would you delegate all the back office implementation to > AdminSite? Or would you simply

How to support Content-Type: multipart/mixed

2009-12-25 Thread Wan Li
Hi, I'm posting the "multipart/mixed" type msg to django server,but seems django can't handle it well. Any way to support it? Thanks! -- >: ~ -- You received this message because you are subscribed to the Google Groups "Django users" group. To post to this group, send email to

Re: How to support Content-Type: multipart/mixed

2009-12-25 Thread Wan Li
I also take the example from RFC 1867 Trying to upload multiple files in one field name of form which seems will be supported by mozilla in the near future ( correct me if I'm wrong ). There is no error occurs, but I still can't get files via request.FILES. """ Content-type:

AdminSite and Enterprise applications

2009-12-25 Thread Vehbi Sinan Tunalioglu
Dear All, We use Django for more than two years. Our experience is much more than satisfaction. However, here is a principle issue which we couldn't decide upon yet: Assume that you develop a mission-critical enterprise level application with Django (yes, we do it frequently and promote others

Re: {% url admin:index %} generating wrong urls

2009-12-25 Thread rebus_
2009/12/24 Chris Withers : > Hi All, > > My django site is served up with the following in Apache's config: > > WSGIScriptAlias /studio /django/studio/bin/django.wsgi > > My urls.py looks like: > > urlpatterns += patterns( >     'django.contrib', >     (r'^admin/',

Re: weird problem with templates

2009-12-25 Thread gryzzly
Problem is solved. For utf-8 encoded templates you should avoid using BOM (byte order mark). Just turned it off in Komodo Edit and now everything is okay. On Dec 25, 1:50 am, gryzzly wrote: > hi, > while working on templates weird problem occured: > > when templates are

Re: templating output for loop incorrect- debugging help

2009-12-25 Thread 夏恺
Hi, It is shown in the documentation that the for loop would only handle a list of lists or a list of dictionaries. I'm not sure about a list of tuples. Maybe you could consult the source code for more help: django/template/defaulttags.py in the definition of: class ForNode(Node):

Re: templating output for loop incorrect- debugging help

2009-12-25 Thread dhruvg
any thoughts? this issue continues to puzzle me. thanks. On Dec 24, 4:12 pm, dhruvg wrote: > here is my django code: >                         {{ output_integrate.arg_vals }} >                         {% for i,o in output_integrate.arg_vals %} >