How to custom the language of error text of newform

2008-03-25 Thread PENPEN
Maybe it's a silly question. I want that the error text could be in many languages. Take a survey system I'm working on for example, it could support a survey in English or in Chinese. So if a survey is created in Chinese, I think it is not good to display the error messages in English. :( But by

Re: How to custom the language of error text of newform

2008-03-25 Thread Kenneth Gonsalves
On 25-Mar-08, at 12:30 PM, PENPEN wrote: > But by default the error text from Django is in English. Then if I > want to display Chinese messages, what should I do? Does Django have > some shortcuts to support such case? Many thanks! http://www.djangoproject.com/documentation/i18n/ -- regar

Re: Django with SQL Server

2008-03-25 Thread Malcolm Tredinnick
On Mon, 2008-03-24 at 15:57 -0700, kellygreer1 wrote: > Hopefully this will help someone else. > > # I changed this > > SetHandler python-program > PythonHandler django.core.handlers.modpython > SetEnv DJANGO_SETTINGS_MODULE settings > PythonDebug On > PythonPath "['E:/htdoc

MySQL-python-1.2.2 errors

2008-03-25 Thread [EMAIL PROTECTED]
Hello, I'm trying to build MySQL-python-1.2.2 and I don't understand how to fix these errors: running build running build_py copying MySQLdb/release.py -> build/lib.macosx-10.3-fat-2.5/MySQLdb running build_ext building '_mysql' extension gcc -isysroot /Developer/SDKs/MacOSX10.4u.sdk -fno-strict

Showing day in html but cannot check the day on django

2008-03-25 Thread soe
Hi all, I would like to check the current day on the django not on html, mean today is monday or tuesday. The day can be check on html using datetime format using "l", to show each current day. Thanks for helps --~--~-~--~~~---~--~~ You received this message becau

Re: Django RSS

2008-03-25 Thread Malcolm Tredinnick
On Mon, 2008-03-24 at 22:45 -0700, howaldmg wrote: > from Model file > ... > class A(models.Model): > B = models.AutoField(primary_key=True) > C = models.CharField(max_length=5) > D = models.CharField(blank=True, max_length=255) > de

Re: Django hosting website

2008-03-25 Thread Jon Atkinson
I offer Django hosting (dedicated, not shared), via my company, Mampi Hosting. http://mampi.co.uk/django/ Email me off-list if you're interested. --Jon On Tue, Mar 25, 2008 at 10:05 AM, Chris Hoeppner <[EMAIL PROTECTED]> wrote: > > After being using VPS based hosting for a while, I have found

Re: Django hosting website

2008-03-25 Thread Chris Hoeppner
After being using VPS based hosting for a while, I have found shared hosting is just not good enough anymore. You just need the flexibility. ~ Chris El lun, 24-03-2008 a las 18:29 -0400, Julian DeFronzo escribió: > Yeah for more flexibility Slicehost or any VPS would be a better > option, but li

ManytoMany relationship question

2008-03-25 Thread guillaume
Hi list, I'm building an app where a model has a manyTomany relationship with User model. There are two things I can't figure out : 1. How can I add to User admin form the list of items related to it ? 2. How can I add a specific field to the relation table ? Thanks, Guillaume --~--~-~-

Re: IDE

2008-03-25 Thread Filipe Correia
Hi, On Mar 5, 2:32 pm, gabriel <[EMAIL PROTECTED]> wrote: > I am at the point of changingIDEbefore my next project ( a huge one ). > So far I've used Geany for python but now I am supposed to use django. > Is it anythong with special support for Django?? There's pyscripter: http://pyscripter.goo

College Sex Video(♥)Group Sex Video& Pics

2008-03-25 Thread ais
Hot World -- XXX *** http://myprofile96321.blogspot.com/ http://xbeautyx.notlong.com/ http://vorld2x.notlong.com/ *** --~--~-~--~~~---~--~~ You received this message because you are subscribed to the G

Hot World -- XXX

2008-03-25 Thread ais
Hot World -- XXX *** http://myprofile96321.blogspot.com/ http://xbeautyx.notlong.com/ http://vorld2x.notlong.com/ *** --~--~-~--~~~---~--~~ You received this message because you are subscribed to the G

Sex Videos and Sluts with Big Breasts

2008-03-25 Thread ais
Hot World -- XXX *** http://myprofile96321.blogspot.com/ http://xbeautyx.notlong.com/ http://vorld2x.notlong.com/ *** --~--~-~--~~~---~--~~ You received this message because you are subscribed to the G

This video is exactly why WE LOVE porn.

2008-03-25 Thread ais
Hot World -- XXX *** http://myprofile96321.blogspot.com/ http://xbeautyx.notlong.com/ http://vorld2x.notlong.com/ *** --~--~-~--~~~---~--~~ You received this message because you are subscribed to the G

Re: Automatic Module Discovery (More to python than to django)

2008-03-25 Thread Chris Hoeppner
Right this one saved me, Christian =) Thanks a bunch-o-lot! ~ Chris El lun, 24-03-2008 a las 14:50 +0100, Christian Vest Hansen escribió: > For just running another python script from within python, there's a > number of options: > + the exec statement: >>> help('exec') > + the execfile() fun

Re: MySQL-python-1.2.2 errors

2008-03-25 Thread Evert Rol
You might be better off asking here: https://sourceforge.net/forum/forum.php?forum_id=70461 > I'm trying to build MySQL-python-1.2.2 and I don't understand how to > fix these errors: > > running build > running build_py > copying MySQLdb/release.py -> build/lib.macosx-10.3-fat-2.5/MySQLdb > run

IntegrityError on unique_together constraint, save() use INSERT instead of UPDATE

2008-03-25 Thread sector119
Traceback (most recent call last): File "/home/sector119/devel/eps_src/eps/apps/imports/management/ commands/importdata.py", line 144, in import_source obj.save() File "/home/sector119/devel/django_src/django/core/serializers/ base.py", line 168, in save models.Model.save(self.object,

did u know the money making secrets.............

2008-03-25 Thread jo
did u know the money making secrets. google groups brings u these oppertunity .. u submit a project to google groups then u get $4 per project work.. do u want to join dis work visit our site www.jobsforyouguys.blogspot.com --~--~-~--~~--

ManyToManyField: Error in Admin Interface

2008-03-25 Thread tom
Hi, I try to add some data through the Admin interface but I get an SQL Error when I try to add a ManyToMany Relation. The model: class Artist(models.Model): name = models.CharField(max_length=200, blank=True) abstract = models.TextField(blank=True, help_text=_('Give a short introduction

Re: ManyToManyField: Error in Admin Interface

2008-03-25 Thread tom
Sorry, did forget to mention that I am using postgresql8.2 on Mac OS X Leopard. The web server is running through the ./manage.py script. cheers On 25 Mrz., 14:08, tom <[EMAIL PROTECTED]> wrote: > Hi, > > I try to add some data through the Admin interface but I get an SQL > Error when I try to a

Saving Posted form data to database

2008-03-25 Thread Mr T
I am having a bit of trouble posting checked items from a form to my view so I can save it to a database table. The data in the form are information that has been stripped from a file so there is no database link/referencing there. What I have done half works as it does post my selected items and

Re: IntegrityError on unique_together constraint, save() use INSERT instead of UPDATE

2008-03-25 Thread Malcolm Tredinnick
On Tue, 2008-03-25 at 05:51 -0700, sector119 wrote: [...] > I try to write my own comand to manage.py which imports data in some > format to the db. > I write my own serializer which yields > base.DeserializedObject(self.model(**data), m2m_data). > > When I run deserlialized object save method I

Re: IntegrityError on unique_together constraint, save() use INSERT instead of UPDATE

2008-03-25 Thread sector119
My models has primary key it's 'id' field and this field is prepopulated in Person.save() method def _get_id(self): return int(str(self.pid)+str(self.location.id)) def save(self, raw=False): self.id = self._get_id() super(Person, self).save(raw=raw) But in: class

Re: IntegrityError on unique_together constraint, save() use INSERT instead of UPDATE

2008-03-25 Thread Malcolm Tredinnick
On Tue, 2008-03-25 at 06:24 -0700, sector119 wrote: > My models has primary key it's 'id' field and this field is > prepopulated in Person.save() method > > def _get_id(self): > return int(str(self.pid)+str(self.location.id)) > > def save(self, raw=False): > self.id = se

Re: Saving Posted form data to database

2008-03-25 Thread Evert Rol
> I am having a bit of trouble posting checked items from a form to my > view so I can save it to a database table. > The data in the form are information that has been stripped from a > file so there is no database link/referencing there. > > What I have done half works as it does post my selecte

Extending existing models (specifically Photologue)

2008-03-25 Thread Oni
Hello there. I get the impression, after reading the Auth / User stuff that comes with Django, extending models is not the best way of adding functionality. I've been using photologue for my e-commerce project. I'd like to extend Photo and Gallery but I seem to be hitting a lot of errors here and

Re: Django with SQL Server

2008-03-25 Thread Michael
Hope this keeps working for you. For what it's worth, I couldn't get SQLServer to work with Django a while back ... though our using SQLServer 2000 might be a big part of that. However, I was reading some PyCon blogs and came across a http://jjinux.blogspot.com/2008/03/pycon-ironpython-road- ahe

Re: Django with SQL Server

2008-03-25 Thread Michael
Bad link, obviously ... http://jjinux.blogspot.com/2008/03/pycon-ironpython-road-ahead.html On Mar 25, 8:19 am, Michael <[EMAIL PROTECTED]> wrote: > Hope this keeps working for you. For what it's worth, I couldn't get > SQLServer to work with Django a while back ... though our using > SQLServer

Re: Extending existing models (specifically Photologue)

2008-03-25 Thread Malcolm Tredinnick
On Tue, 2008-03-25 at 07:18 -0700, Oni wrote: > Hello there. I get the impression, after reading the Auth / User stuff > that comes with Django, extending models is not the best way of adding > functionality. I've been using photologue for my e-commerce project. > I'd like to extend Photo and Gal

unit testing Q

2008-03-25 Thread Jeff Gentry
Hi there ... As a relative newcomer to Django, I recently starting looking at how best to implement unit tests for my app. I came across this page: http://www.djangoproject.com/documentation/testing/ as well as a couple of other examples online. If I'm understanding things correctly, the unit t

TemplateSyntaxError at /admin/sites/site/ Trying to use Tutorial 02 .96 and svn problems

2008-03-25 Thread jmDesktop
Hi, trying to learn Django and I am following everything in the tutorial. However, when originally I tried to load the admin site I got an templatedoesnotexist error. I followed this: http://forums.devshed.com/showpost.php?p=1856484&postcount=2 got the svn for post .96 and put in the admin tem

Re: MySQL-python-1.2.2 errors

2008-03-25 Thread Karen Tracey
On Tue, Mar 25, 2008 at 3:49 AM, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote: > > Hello, > > I'm trying to build MySQL-python-1.2.2 and I don't understand how to > fix these errors: > > running build > running build_py > copying MySQLdb/release.py -> build/lib.macosx-10.3-fat-2.5/MySQLdb > running

notmm-0.2.10p1 released to the wild...

2008-03-25 Thread Etienne Robillard
Greetings, I'm pleased to announce the release of notmm-0.2.10p1, a Paste-based web toolkit on top of Django. This release fix a fair amount of bugs while offering new features like contextual session support (SQLAlchemy) and improved generic views support. The source distribution tarball ma

Re: MySQL-python-1.2.2 errors

2008-03-25 Thread Mike H
I had the same problem just this morning. Commenting out #ifndef uint #define uint unsigned int #endif from _mysql.c fixed it for me, and all the django tests pass with a mysql backend afterwards, so I should be safe :) Cheers, Mike On 25 Mar 2008, at 15:04, Karen Tracey wrote: > On Tue, M

Re: How to use a Queryset from one model to filter the Queryset from another model

2008-03-25 Thread davenaff
Alex, Good thought. Not as crisp as I would like, but it should do the trick. Thanks, Dave On Mar 24, 6:18 pm, "[EMAIL PROTECTED]" <[EMAIL PROTECTED]> wrote: > How about recent_authors = Author.object.filter(book__pk__in=[b.pk for > b in recent_books]).distinct() > > That can probably be done

Re: IDE

2008-03-25 Thread luis cota
I used to use Eclipse + PyDev - good setup, though extremely bloated. Now I use Komodo Edit (OpenKomodo) for my python coding. Good autocomplete support, much lighter than Eclipse and cleaner UI. Good luck, - Luis On Tue, Mar 25, 2008 at 11:26 AM, meppum <[EMAIL PROTECTED]> wrote: > > I start

Re: Django with SQL Server

2008-03-25 Thread Adam V.
Not only is Django's pack-in MS Sql backend broken, but the last set of updates to adodbapi-2.1 to add IronPython support actually broke standard Win32/COM support in some areas. There are some now externally maintained SQL Server backends for (trunk) Django: * http://code.google.com/p/django-mss

Howto execute custom SQL from the command line

2008-03-25 Thread Tourneur Henry-Nicolas
Hello, At the installation stage of the software (Django bases, of course) I'm developing, I have to insert data in a database. Is there any easy way to tell django to execute the SQL directives contained in a .sql file ? I tried using manage.py but I don't know the good options. So I would li

Re: Showing day in html but cannot check the day on django

2008-03-25 Thread Joseph Heck
Python has a number of good date/time packages that you can use to do this... why don't you look into one of those. -joe On Tue, Mar 25, 2008 at 12:53 AM, soe <[EMAIL PROTECTED]> wrote: > > Hi all, > I would like to check the current day on the django not on html, mean > today is monday or t

Re: unit testing Q

2008-03-25 Thread Joseph Heck
Absolutely - the "making a seperate DB" is all wrapped in "django-admin.py test" or "./manage.py test" - which does a number of things for you. You don't have to use that at all - and just running standard python unit tests will work against your system. You'll need to set up your environment to u

Re: TemplateSyntaxError at /admin/sites/site/ Trying to use Tutorial 02 .96 and svn problems

2008-03-25 Thread jmDesktop
I found the poster at the devshed article is only partially right. It is those directories that are missing, but you need them from the .96 version. I found them here: http://code.djangoproject.com/browser/django/branches/0.96-bugfixes/django/contrib/admin On Mar 25, 10:53 am, jmDesktop <[EM

Re: Django with SQL Server

2008-03-25 Thread kellygreer1
I made it pretty far but now have run into this error trying to get the admin interface up. DatabaseError: --ADODBAPI -- Trying parameter 0 = '25354001e197c91af0f7fa63ab4b720d' Traceback (most recent call last): File "C:\Python25\Lib\site-packages\adodbapi\adodbapi.py", line 618, in _executeH

How often do you update your django?

2008-03-25 Thread jmDesktop
How often do you use svn to get the latest django and update your implementation? I'm new to all of this and never have used cvs or svn and am trying to figure out the best way to use it. --~--~-~--~~~---~--~~ You received this message because you are subscribed to

IT Shop Center

2008-03-25 Thread mick2
Hi friends. if you wanna looking a mobile [EMAIL PROTECTED] you can search at here.. it will give the best price for you This your URL http://astore.amazon.co.uk/happyfamily-21 --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Goo

ConditionalGetMiddleware appears broken in SVN

2008-03-25 Thread caustic
Hi it seems like ConditionalGetMiddleware is broken. The latest commit (http://code.djangoproject.com/changeset/6662) has changed response.status_code to response.status which causes the problem -- WBR Konstantin --~--~-~--~~~---~--~~ You received this message bec

Re: How often do you update your django?

2008-03-25 Thread Justin Lilly
I update it every time I'm reminded of it (I just updated), at the end of a sprint or when I get errors (in hopes it was a bug that was fixed). -justin On Tue, Mar 25, 2008 at 12:50 PM, jmDesktop <[EMAIL PROTECTED]> wrote: > > How often do you use svn to get the latest django and update your >

SQL woes

2008-03-25 Thread Jacob
Hi, 1) This is my first time posting, I hope someone can lead me in a direction of a good django wiki or the like to get this kind of info from in the future. 2) My question is, I have noticed that when I change things in the models.py of my project, and then run manage.py syncdb, after that I ge

Re: Will there be a 0.98 release?

2008-03-25 Thread Francisco Benavides
Hi Michael, Thank you for the feedback, I will post the findings I am getting and let the ball follow due course. Rgs!/Fco On Mar 24, 5:37 pm, Michael <[EMAIL PROTECTED]> wrote: > Hi Francisco; > > By all clues I have heard from the Django devs they are working hard > at getting a full 1.0 rele

Re: Will there be a 0.98 release?

2008-03-25 Thread Francisco Benavides
Hi Justin, Thank you for your answer. Rgs!/Fco On Mar 24, 5:58 pm, "Justin Lilly" <[EMAIL PROTECTED]> wrote: > From PyCon, > They said the reason they aren't releasing .97+ is because of all the > backwards incompatible changes. It would make sense that such large > changesets as there are be

Re: SQL woes

2008-03-25 Thread Karen Tracey
On Tue, Mar 25, 2008 at 1:01 PM, Jacob <[EMAIL PROTECTED]> wrote: > > Hi, > 1) This is my first time posting, I hope someone can lead me in a > direction of a good django wiki or the like to get this kind of info > from in the future. > > 2) My question is, I have noticed that when I change things

Django-UML Generator

2008-03-25 Thread Chris
So I had this idea and was looking for some thoughts on this: When starting a new website, normally a client gives you a handful of documents on what he/she wants. Most of the time this person is technically illiterate so interpreting what he/she into a django model is often a challenge. i propose

Re: How often do you update your django?

2008-03-25 Thread jmDesktop
Do you just copy over the old file and restart your server? On Mar 25, 12:58 pm, "Justin Lilly" <[EMAIL PROTECTED]> wrote: > I update it every time I'm reminded of it (I just updated), at the end of a > sprint or when I get errors (in hopes it was a bug that was fixed). > >  -justin > > On Tue, M

Re: How often do you update your django?

2008-03-25 Thread Joseph Heck
It's more than a file - it's more like a directory :-) If you're new to django, you might find it a lot easier to start with the release version. The trunk has been reasonably stable lately, but there's no promise that it will remain so - and you might find yourself in a bind if you loose track o

Re: Django with SQL Server

2008-03-25 Thread Adam V.
> Should I go ahead and swap the backend code out for of these backends? The fact that I created a separate project basically speaks to my suggestion (swap out.) [I would kind of prefer if MS SQL support was dropped entirely from django-svn (unless the upcoming foundation is going to spend some

Anyone have problems with Safari 3.1 or Firefox?

2008-03-25 Thread jmDesktop
For example, using .96, following the tutorial 02, I tried to use the collapse class but in safari and firefox the (show) link never shows up. Also, the date and now widgets are never displayed. Is it because I am using .96? I'm on mac os x if it matters. --~--~-~--~~~--

Re: Anyone have problems with Safari 3.1 or Firefox?

2008-03-25 Thread jmDesktop
nevermind. sorry. I was using for .97 and didn't see the link. I'll try that version. On Mar 25, 1:28 pm, jmDesktop <[EMAIL PROTECTED]> wrote: > For example, using .96, following the tutorial 02, I tried to use the > collapse class but in safari and firefox the (show) link never shows > up.  A

Re: How often do you update your django?

2008-03-25 Thread Justin Lilly
I would suggest the exact opposite, really. I found it much harder in terms of documentation / help with .96 than trunk. Besides, hearing "Oh. You're on .96? You don't have that feature." can get a bit tiresome. In terms of updating, its (for me) as easy as going to the directory and running git-s

Re: Django-UML Generator

2008-03-25 Thread Malcolm Tredinnick
On Tue, 2008-03-25 at 10:22 -0700, Chris wrote: > So I had this idea and was looking for some thoughts on this: > When starting a new website, normally a client gives you a handful of > documents > on what he/she wants. Most of the time this person is technically > illiterate so > interpreting wh

Re: Django-UML Generator

2008-03-25 Thread Justin Lilly
You expect to hand a non-technical client something that looks like: http://blog.riff.org/files/Project8.png ?? I thing that would go poorly. Besides, pencil + paper goes a long way in client discussions like that. -justin On Tue, Mar 25, 2008 at 1:22 PM, Chris <[EMAIL PROTECTED]> wrote: > >

Filter ManyToMany options by Site in adming interface

2008-03-25 Thread Josh
I'm working on a multi-site project, so most models have a site field. One particular model, locations, has a site field as well as a many-to- many relationship with the neighborhood model which also has a site field. What I want is that when editing a location object the neighborhoods that show u

Re: Django with SQL Server

2008-03-25 Thread kellygreer1
I realize this is a Django group but... where do other Python web app frameworks like Pylons and TurboGears stack up as far as MS SQL Server support goes? I'll post back to the group my experiences of trying to swap out the backend. I'm a newb and swamped at work right now. So this may take me a

Re: Django-UML Generator

2008-03-25 Thread Chris
Thanks for your responses. Thanks Malcolm that helped alot. On Mar 25, 1:43 pm, "Justin Lilly" <[EMAIL PROTECTED]> wrote: > You expect to hand a non-technical client something that looks like: > > http://blog.riff.org/files/Project8.png > > ?? I thing that would go poorly. Besides, pencil + pape

Django ad server?

2008-03-25 Thread Josh
Are there any Django-based ad server solutions out there? If not, should there be any problems with using OpenX (formerly OpenAds) with a Django site? --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Django users" gro

Re: SQL woes

2008-03-25 Thread Jacob
That worked nice! I read through the page you linked and cannot find, is there a more clean way of doing this? So if I basically need the tables rebuilt, but I want to retain the records, is there a command? On Mar 25, 10:13 am, "Karen Tracey" <[EMAIL PROTECTED]> wrote: > On Tue, Mar 25, 2008 a

Re: How often do you update your django?

2008-03-25 Thread Joseph Heck
Justin does have a very valid point here - there's a LOT of functionality that isn't in the 0.96.1 release, and there's no word on when a next release will be coming. Just make sure you keep up with changes in the trunk when the developers get into making backwards incompatible updates. -joe On

ImportError: No module named urls

2008-03-25 Thread andy baxter
hello, I am just starting out with django (and python). I have already worked through the tutorial successfully; now I am going through it again adapting the examples to suit the web app I want to build (a local book sharing scheme). What I have done so far is to define the models, create the dat

customize forms

2008-03-25 Thread Rocio Figueroa
Hello friends of the list, and I started to do some testing Newforms. I tried to generate forms from the model automatically and Also customizing forms manually (by specifying Characteristics of each field). Now my query is as follows: in a form that is Manually (by specifying fields and characte

Genericized pre/post-request processing in Controller?(View?)

2008-03-25 Thread Chris Czub
Here's a question that is probably divisive - why did Django decide to go with Model/Template/View instead of Model/View/Controller? MVC just conceptually makes so much more sense to me. Anyhow, that's not the primary point of this posting... Is there any way to implement some sort of pre and/or

doubts about query

2008-03-25 Thread Vladimir Sanjinez
Hi, I am new in this django, but I have already tried a few examples I found on the web, but I have some doubts and queries: Given the following classes: Book class (models.Model): Models.ForeignKey author = (Author) Models.ForeignKey publisher = (Editor) Publicaction = models.DateTimeFiel

doubts about query (fixed)

2008-03-25 Thread Vladimir Sanjinez
Hi, I am new in this django, but I have already tried a few examples I found on the web, but I have some doubts and queries: Given the following classes: Book class (models.Model): author =models.ForeignKey(Author) publisher = models.ForeignKey(Editor) Publication = models.DateTimeField () P

Re: Genericized pre/post-request processing in Controller?(View?)

2008-03-25 Thread Malcolm Tredinnick
On Tue, 2008-03-25 at 14:04 -0400, Chris Czub wrote: > Here's a question that is probably divisive - why did Django decide to > go with Model/Template/View instead of Model/View/Controller? MVC just > conceptually makes so much more sense to me. Apart from the fact that you can't do MVC for most

Re: doubts about query (fixed)

2008-03-25 Thread Malcolm Tredinnick
On Tue, 2008-03-25 at 14:26 -0400, Vladimir Sanjinez wrote: > Hi, I am new in this django, but I have already tried a few examples > I found on the web, but I have some doubts and queries: > > Given the following classes: > > Book class (models.Model): > author =models.ForeignKey(Author) > pu

Re: ImportError: No module named urls

2008-03-25 Thread Evert Rol
> I am just starting out with django (and python). I have already worked > through the tutorial successfully; now I am going through it again > adapting the examples to suit the web app I want to build (a local > book sharing scheme). What I have done so far is to define the models, > create the d

Template rendering Spanish accent characters

2008-03-25 Thread Francisco Benavides
Hi, I have the following code, when rendering in django, we get an error: constants.py http://dpaste.com/41245/ Django debug data: http://dpaste.com/41246/ How can the "ú" character be correctly rendered in the templates? Thank you. --~--~-~--~~~---~--~~ You re

Re: How often do you update your django?

2008-03-25 Thread [EMAIL PROTECTED]
I update pretty much daily locally, I'm going to be deploying a site pretty soon and I doubt that I will update it ever except for security released, qs-rf, and nfa merges, and of course if I need to update the site with a new feature. On Mar 25, 1:04 pm, "Joseph Heck" <[EMAIL PROTECTED]> wrote:

Admin not working after media is used for CSS

2008-03-25 Thread Francisco Benavides
Hi, I am using the development server, and have made adjustments to allow the use of /media images in order to be able to use CSS. Nos that the page renders OK with the use of CSS through media, when I enter into / admin I get the choice of tables that can be handled. But, if I click on any one

Re: Template rendering Spanish accent characters

2008-03-25 Thread Malcolm Tredinnick
On Tue, 2008-03-25 at 12:09 -0700, Francisco Benavides wrote: > Hi, > > I have the following code, when rendering in django, we get an error: > > constants.py > http://dpaste.com/41245/ > > Django debug data: > http://dpaste.com/41246/ > > How can the "ú" character be correctly rendered in th

Can the django admin site be exposed to the outside?

2008-03-25 Thread jmDesktop
Just learning, but I have the admin site running. I wanted to know if I can get to the admin site from another computer instead of only localhost. Thanks. --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Django user

Re: How often do you update your django?

2008-03-25 Thread jmDesktop
How do you do this? I tried and just ended up with svn co http://and got my latest copy .97. I then deleted the old directory django and copied the new one. I thought I could do svn up somehow, but couldn't figure it out. On Mar 25, 3:09 pm, "[EMAIL PROTECTED]" <[EMAIL PROTECTED]> wrote: >

Re: Template rendering Spanish accent characters

2008-03-25 Thread Francisco Benavides
Hi, I added as per the suggestion, got this problem solved :) Will add this to all the needed source files. constants.py http://dpaste.com/41257/ Thank you! On Mar 25, 1:27 pm, Malcolm Tredinnick <[EMAIL PROTECTED]> wrote: > On Tue, 2008-03-25 at 12:09 -0700, Francisco Benavides wrote: > > Hi,

Re: Can the django admin site be exposed to the outside?

2008-03-25 Thread [EMAIL PROTECTED]
As long as your webserver is exposed to the outside world sure, if you are using the dev server(which it sounds like you are), instead of binding to localhost, bind the server to your remote(or local ip), or you can bind it to 0.0.0.0 to have it accept requests at any address it is accesible from.

Re: How often do you update your django?

2008-03-25 Thread [EMAIL PROTECTED]
cd into the directory where you have django, then do svn update, it will update the checkout there. To be able to this you can not have used setup.py instead you should be symlinking django/ into your site- packages directory. On Mar 25, 2:31 pm, jmDesktop <[EMAIL PROTECTED]> wrote: > How do you

Re: Admin not working after media is used for CSS

2008-03-25 Thread Rajesh Dhawan
Hi, > > But, if I click on any one given table and/or option, I get a page > error:http://dpaste.com/41249/ > > urls.pyhttp://dpaste.com/41250/ The admin entry should just be ^admin/ without the ending $. In other words: (r'^admin/', include('django.contrib.admin.urls')), instead of (r'^admin

Re: Can the django admin site be exposed to the outside?

2008-03-25 Thread Rajesh Dhawan
On Mar 25, 3:52 pm, "[EMAIL PROTECTED]" <[EMAIL PROTECTED]> wrote: > As long as your webserver is exposed to the outside world sure, if you > are using the dev server(which it sounds like you are), instead of > binding to localhost, bind the server to your remote(or local ip), or > you can bind

Beej's Flickr API

2008-03-25 Thread Michael J
Has anyone attempted to implement Beej's Flickr API with Django? I'm stuck at the spot of authentication where (in the example) the code waits for the user to authenticate the application on Flickr before proceeding: if not token: raw_input("Press ENTER after you authorized this program") What's

Re: Beej's Flickr API

2008-03-25 Thread Nicolas Steinmetz
Michael J a écrit : > Has anyone attempted to implement Beej's Flickr API with Django? Personnaly, I use Flick.py [1] which works like a charm :) [1] --~--~-~--~~~---~--~~ You received this message because you are subscribed

Re: Beej's Flickr API

2008-03-25 Thread Michael
Beej's Flickr API works great too. Check out django-syncr it has a wrapper class that works well. http://code.google.com/p/django-syncr/ On Tue, Mar 25, 2008 at 4:33 PM, Nicolas Steinmetz <[EMAIL PROTECTED]> wrote: > > Michael J a écrit : > > > Has anyone attempted to implement Beej's Flickr A

Re: MySQL-python-1.2.2 errors

2008-03-25 Thread [EMAIL PROTECTED]
So, even though my CPU architecture is 64-bit I should install the 32- bit version of MySQL? On Mar 25, 8:04 am, "Karen Tracey" <[EMAIL PROTECTED]> wrote: > On Tue, Mar 25, 2008 at 3:49 AM, [EMAIL PROTECTED] <[EMAIL PROTECTED]> > wrote: > > > > > > > Hello, > > > I'm trying to build MySQL-python-

Re: MySQL-python-1.2.2 errors

2008-03-25 Thread Karen Tracey
On Tue, Mar 25, 2008 at 5:09 PM, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote: > > So, even though my CPU architecture is 64-bit I should install the 32- > bit version of MySQL? > Depends on the Python you are building with. They need to match. Alternatively perhaps the commenting-out of the uin

Re: SQL woes

2008-03-25 Thread Karen Tracey
On Tue, Mar 25, 2008 at 2:01 PM, Jacob <[EMAIL PROTECTED]> wrote: > > That worked nice! > > I read through the page you linked and cannot find, is there a more > clean way of doing this? > > So if I basically need the tables rebuilt, but I want to retain the > records, is there a command? > Sound

Re: Admin not working after media is used for CSS

2008-03-25 Thread Francisco Benavides
THANK YOU :) On Mar 25, 2:26 pm, Rajesh Dhawan <[EMAIL PROTECTED]> wrote: > Hi, > > > > > But, if I click on any one given table and/or option, I get a page > > error:http://dpaste.com/41249/ > > > urls.pyhttp://dpaste.com/41250/ > > The admin entry should just be ^admin/ without the ending $

File upload doesn't work

2008-03-25 Thread Carl
Hi Djangonauts, i've a problem here driving me nuts - obviously I don't get it how to do a simple file upload: With a form like this: and a view function like this: def test(request): if request.method=='GET': return render_to_response('test.html') else: assert Fal

Re: File upload doesn't work

2008-03-25 Thread Malcolm Tredinnick
On Tue, 2008-03-25 at 16:19 -0700, Carl wrote: > Hi Djangonauts, > > i've a problem here driving me nuts - obviously I don't get it how to > do a simple file upload: > > With a form like this: > > > > > > > and a view function like this: > > def test(request): > if request.

Re: unit testing Q

2008-03-25 Thread Russell Keith-Magee
On Tue, Mar 25, 2008 at 11:44 PM, Jeff Gentry <[EMAIL PROTECTED]> wrote: > > Hi there ... > > As a relative newcomer to Django, I recently starting looking at how best > to implement unit tests for my app. I came across this page: > http://www.djangoproject.com/documentation/testing/ > as we

Re: OT: Django logo

2008-03-25 Thread Alvaro Mouriño
On Wed, Feb 28, 2007 at 9:35 PM, Jacob Kaplan-Moss <[EMAIL PROTECTED]> wrote: > On 2/28/07, cjl <[EMAIL PROTECTED]> wrote: > > Way off topic...anyone know which font is used for the django logo? > > It's DTL Prokyon (http://www.dutchtypelibrary.nl/Prokyon_rdrct.html -- > terrible HTML alert).

Re: File upload doesn't work

2008-03-25 Thread Carl
On 26 Mrz., 00:29, Malcolm Tredinnick <[EMAIL PROTECTED]> wrote: > On Tue, 2008-03-25 at 16:19 -0700, Carl wrote: > > Hi Djangonauts, > > > i've a problem here driving me nuts - obviously I don't get it how to > > do a simple file upload: > > > With a form like this: > > > > >       > >      

Re: OT: Django logo

2008-03-25 Thread Justin Lilly
The font is called Prokyon. http://www.dutchtypelibrary.nl/Prokyon_rdrct.html -justin On Tue, Mar 25, 2008 at 8:25 PM, Alvaro Mouriño <[EMAIL PROTECTED]> wrote: > > On Wed, Feb 28, 2007 at 9:35 PM, Jacob Kaplan-Moss > <[EMAIL PROTECTED]> wrote: > > On 2/28/07, cjl <[EMAIL PROTECTED]> wrote: >

Re: OT: Django logo

2008-03-25 Thread Justin Lilly
Whoops. Just realized you wanted to know the other font. For those fontographers looking for an example, http://media.djangoproject.com/img/desktops/djangodesktop-1680x1050.jpg but whatthefont.com couldn't find a good match. -justin On Tue, Mar 25, 2008 at 8:51 PM, Justin Lilly <[EMAIL PROTECTED

Re: Showing day in html but cannot check the day on django

2008-03-25 Thread soe
Hi joe, where can i search python date, I am beginner to django and python. thank ur help, soe On Mar 26, 12:34 am, "Joseph Heck" <[EMAIL PROTECTED]> wrote: > Python has a number of good date/time packages that you can use to do > this... why don't you look into one of those. > > -joe > > > >

Re: OT: Django logo

2008-03-25 Thread Alvaro Mouriño
On Tue, Mar 25, 2008 at 10:02 PM, Justin Lilly <[EMAIL PROTECTED]> wrote: > whatthefont.com couldn't find a good match. > I didn't know that site. I checked and matched 5 fonts, but none of them was exactly it, but still does a great job recognizing the letters! -- AlvAro http://es.wikipedia.org

  1   2   >