Re: Problem with running the database shell through cmd lime

2009-08-26 Thread Arul
On Aug 26, 7:19 pm, Arul wrote: > I did the same steps that you followed, it didnt work for me. > But when i tried in another system it works fine. > Probably there is some problem with my system settings. I found the problem in my machine.It is the version problem. In

how to identified what changed in an instance due to save of a ModelForm?

2009-08-26 Thread Margie Roginski
Let's say I have a model and an associated ModelForm and am doing the typical save of the ModelForm to modify the instance. I'd like to generate a report that identifies what fields were changed and what the old and new values were. I initially did this by doing a deepcopy of my instance, then

Re: the parameters of the self-defined tags

2009-08-26 Thread PanFei
Thank you very much , I got it On Wed, Aug 26, 2009 at 6:07 PM, Daniel Roseman wrote: > > On Aug 26, 6:55 am, Apple wrote: > > hi , now I want to pass a parameter named user (user is a instance of > > User) to the self_defined tags,could I do this ? I

Re: Django + Godaddy

2009-08-26 Thread Justin Lilly
On 26 Aug 2009 03:58:58-0700, Nanopino wrote: > > i've actually have semi success in getting django to work on godaddy. > It displays the "Congratulations on your first Django-powered page." > You will have to be signed up for the linux shared hosting Deluxe or > higher plan in order for fastcgi

Re: pyfacebook, No module named facebook.djangofb...

2009-08-26 Thread Matias
Where did you get the files? if you go to the pyfacebook at google http://code.google.com/p/pyfacebook/the project is now hosted in github. So if you downloaded from google it may be outdated. The installation is much more simpler than what the tutorial says, so i recommend to download from

ImageField width_wield

2009-08-26 Thread TheIvIaxx
Assume i have the following: class Image(models.Model): image = models.ImageField(upload_to="path/to", width_field="width", height_field="height" do i create new Integer fields there for width and height? With this i can do things like: >>> Image.objects.get(pk=1).image.width However

pyfacebook, No module named facebook.djangofb...

2009-08-26 Thread garagefan
steps followed here: http://wiki.developers.facebook.com/index.php/PythonPyFacebookTutorial page with error is here: http://kennethdavid.net/fbapp/fbsample/ obviously, python.conf is setup correctly to call the correct settings file. facebook is a link (ln -s) to /pyfacebook/facebook, as per

unicode problem?

2009-08-26 Thread lerner
def output(request): response = HttpResponse(mimetype='text/csv') response['Content-Disposition'] = 'attachment; filename=%s' % 'address.csv' t = loader.get_template('csv.html') #objs = Address.objects.get_list() objs = Address.objects.all() d = [] for o in objs:

Re: print PDF on windows

2009-08-26 Thread Sam Lai
2009/8/27 mettwoch : > > I'm now using Foxit Reader. Thanks for the tip. The following works > perfectly in the Django shell and prints the document in > attachment.file.path to the specified network printer: > > p = Popen (['C:\\Program Files\\Foxit Software\\Foxit Reader\\Foxit

Model Theory 101 - Video Sharing App

2009-08-26 Thread thornomad
Hi - need some suggestions. I am trying to put together an app that allows users to submit links to videos at popular video sharing sites (e.g., youtube, vimeo, etc) -- the links get submitted, data about the video (title, description, play count, etc) is collected from the respective site and

Re: template tag response None. but why?

2009-08-26 Thread MIL
Hi again. Sorry to disturb you again, but I ran into another issue related to this template tag I wrote. I get the following error: TemplateSyntaxError at / Caught an exception while rendering: Truncated incorrect DOUBLE value: 'user' I am not sure what it means exactly, but I beleive the

Configure Django project in a subdirectory using mod_python. Apps and Admin not found.

2009-08-26 Thread David
HI guys. I was trying to configure my django project in a subdirectory of the root, but didn't get things working.(Locally it works perfect). I followed the django official django documentarion to deploy a project with mod_python. The real problem is that I am getting "Page not found" errors,

Re: Strange error while trying to access admin: rendering fails (latest SVN)

2009-08-26 Thread Ryan K
Thanks Karen you've been helping me out recently with debugging a few things and have been a really great asset. Cheers, Ryan Kaskel On Aug 26, 7:19 pm, Karen Tracey wrote: > On Wed, Aug 26, 2009 at 3:33 PM, Ryan K wrote: > > > This is where it says

Re: FF3 src error in django admin calendar

2009-08-26 Thread J
I'm getting the same problem. --Using tinymce and FF3.5. If you find a good fix, I hope you share! Cheers! Alastair Campbell wrote: > Ok, I think I got to the bottom of this, it's a combination of TinyMCE > and Firefox 3.5 > > Unfortunately my Firebug expertise isn't that great, but with a

Re: Strange error while trying to access admin: rendering fails (latest SVN)

2009-08-26 Thread Karen Tracey
On Wed, Aug 26, 2009 at 3:33 PM, Ryan K wrote: > > This is where it says the problem is in the template: > > Template error > > In template /usr/local/lib/python2.6/dist-packages/django/contrib/ > admin/templates/admin/base.html, error at line 30 > Caught an exception while

Re: Strange error while trying to access admin: rendering fails (latest SVN)

2009-08-26 Thread Ryan K
State in admin rendering process when error occurred: /usr/local/lib/python2.6/dist-packages/django/template/debug.py in render_node 74. e.source = node.source 75. raise 76. except Exception, e: 77. from sys import exc_info 78. wrapped = TemplateSyntaxError(u'Caught an exception while

Executing a queryset with MySQL's SSCursor cursor class

2009-08-26 Thread Sam Tregar
Hello all. I'm wondering how I can tell Django to use MySQLdb.cursors.SSCursor instead of the default MySQLdb.cursors.Cursor. The critical difference here is that SSCursor uses mysql_use_result and streams data from the server rather than loading it all into memory at once. Anybody know if

makemessages clutters project locale files with strings from already translated apps

2009-08-26 Thread Alex Rades
Hi, I have many applications in my project. I've carefully translated them launching manage.py makemessages from within each application directory, so that each app has its own locale/ directory with translations. When it comes to translating project-level strings, and I launch makemessages from

Re: Ajax TreeList with Django

2009-08-26 Thread Peter Herndon
On 08/26/2009 03:52 PM, Dirso wrote: > I'd like to create a dynamic treelist (using Ajax, Django and > Postgres). Did anyone know tutorial ou code piece that could do this > magic? > > Hi Dirso, I've done something similar to what you are describing, using jQuery, the dynatree jQuery

Re: template tag response None. but why?

2009-08-26 Thread MIL
Sorry :o) My fault. I was testing on the wrong site :o) It works perfect with this: def render(self, context): try: context[self.varname] = Blog.objects.get(user=self.user) except ObjectDoesNotExist: return

Display user and date in change_list

2009-08-26 Thread Sandra Django
Hi, I want display in change_list view, user who added an object and date. I did that: -- models.py --- class One(models.Model): .. def user(self): return self.user.username def date(self): return self.date -- admin.py

Re: template tag response None. but why?

2009-08-26 Thread MIL
Hi again. I tried that. But it doesnt change anything. Here is what I tried: class BlogNode(Node): def __init__(self, user, varname): self.user, self.varname = user, varname def render(self, context): try:

admin javascript not working

2009-08-26 Thread Joseph Brown
I'm having trouble getting the admin javascript to function in production (debian/apache2). I've tried creating a sybolic link in the django root folder, and using a location Alias in apache, but the result is the same. Admin css files load, images load, and you can view the js files, but they do

admin js not executing

2009-08-26 Thread Joseph Brown
I'm having trouble getting the admin javascript to function in production (debian/apache2). I've tried creating a sybolic link in the django root folder, and using a location Alias in apache, but the result is the same. Admin css files load, images load, and you can view the js files, but they do

Re: Different DB tables for models based on object relations.

2009-08-26 Thread Javier Guerra
On Wed, Aug 26, 2009 at 2:20 PM, zayatzz wrote: > Correct me, if im wrong, but as i understand that the > more rows there is in a table, the slower aquiring stuff from it will > be, right? wrong any RDBM worth its salt can go to tens or hundreds of millions before you

Ajax TreeList with Django

2009-08-26 Thread Dirso
Hi, I'd like to create a dynamic treelist (using Ajax, Django and Postgres). Did anyone know tutorial ou code piece that could do this magic? Thanks, Dirso --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Django

Re: Strange error while trying to access admin: rendering fails (latest SVN)

2009-08-26 Thread Ryan K
This is where it says the problem is in the template: Template error In template /usr/local/lib/python2.6/dist-packages/django/contrib/ admin/templates/admin/base.html, error at line 30 Caught an exception while rendering: unsupported operand type(s) for +=: 'function' and 'list' 20 21

Re: django models/ sqlalchemy

2009-08-26 Thread drakkan
You can: 1) redefine your sa models in django models.py 2) use sqlalchemy-migrate for database migration and initial data population, I never used json for initial data with migrate drakkan On 26 Ago, 17:29, ajay wrote: > HI, >     I have used sqlalchemy for database

Different DB tables for models based on object relations.

2009-08-26 Thread zayatzz
Hello I'm just as big django newbie as im mysql (or any other sql, for that matter) newbie. Correct me, if im wrong, but as i understand that the more rows there is in a table, the slower aquiring stuff from it will be, right? Since i have an idea, that (if its successful) will eventually hold

Strange error while trying to access admin: rendering fails (latest SVN)

2009-08-26 Thread Ryan K
I am getting a very strange error and I can't tell if it is coming from my code or Django's code. I have not modified the templates of the admin interface at all. Below is the error. I am trying to access http://localhost:8080/. This error still occurrs if I remove all apps from the install apps

Google Group Listserv integration to Django Admin

2009-08-26 Thread Carl Feldhaus
Hey Guys, you think there is a way to integrate a ListServ from Google Group into the admin of django? I have a neighborhood website and we are working on the member directory, paypal integration for dues but the only thing outside of the admin is this Listserv and it would be amazing to get it

Re: Django templates have lexical scope!?

2009-08-26 Thread David De La Harpe Golden
stevedegrace wrote: > Variables you bind within the template itself don't seem to behave > this way. > > Instead they are scoped. If a variable is bound inside a block tag, > the binding is only valid within that block. I didn't do enough > experiments yet to tell you how it behaves with nested

Re: Return custom view depending on user

2009-08-26 Thread James Bennett
On Wed, Aug 26, 2009 at 9:43 AM, Sandra Django wrote: > I have a group, where all users that belongs to this groups only can access > to a form, and I want that when anyone is logged, go directly to that form, > not to Django view by default. How I can do it? Depending on

Re: print PDF on windows

2009-08-26 Thread mettwoch
I'm now using Foxit Reader. Thanks for the tip. The following works perfectly in the Django shell and prints the document in attachment.file.path to the specified network printer: p = Popen (['C:\\Program Files\\Foxit Software\\Foxit Reader\\Foxit Reader.exe', '/t',

Re: Forms for views

2009-08-26 Thread Daniel Roseman
On Aug 26, 4:14 pm, gentlestone wrote: > I'm looking for a support for viewing models in templates. > > Forms is a nice support but it is made for editing objects, not for > viewing objects. I found some attemps on the internet, like using > forms with ReadOnlyWidgets,

Re: Path issue with tinymce and MEDIA_ROOT

2009-08-26 Thread Joost Cassee
Hi Wendy, sorry for the delay. On 23 aug, 04:43, zignorp wrote: > Then in the admin.py file for films, which lives inside of mysite, I > added the media subclass, which I was told to do by some other helpful > person on the list, I used the absolute path, on my mac, which

django models/ sqlalchemy

2009-08-26 Thread ajay
HI, I have used sqlalchemy for database model creation instead django default ORM. Now i need to use fixture to load the initial data as i run test cases. This is error message "DeserializationError: Invalid model identifier:" The models are not defined in models.py file as i am

Re: Raw HTTP request processing?

2009-08-26 Thread John
Thanks but it seems that in this example (if I have understood correctly) it loads the entire request into memory. I need to convert stuff on the fly using streams on both input and output as both may be huge. I have a number of stages of transformation and it wouldn't take very many requests to

Forms for views

2009-08-26 Thread gentlestone
I'm looking for a support for viewing models in templates. Forms is a nice support but it is made for editing objects, not for viewing objects. I found some attemps on the internet, like using forms with ReadOnlyWidgets, but I thing it is not the way. Forms are great, because a

Return custom view depending on user

2009-08-26 Thread Sandra Django
Hi friends, another doubt... I have a group, where all users that belongs to this groups only can access to a form, and I want that when anyone is logged, go directly to that form, not to Django view by default. How I can do it? Depending on the group, return that form. Thanks for any help, Sandra

Re: json serialization error on arrays

2009-08-26 Thread John
When I have arrays of 100,000+ the performance of lists gets unacceptable in standard c python. That's why arrays exist in python! After doing research and testing, I have decided to rebuild the project in java with embedded jython. For some bizarre reason jython performance increases with large

Re: how to cache django javascript message file ('/jsi18n/') with apache (production setup)

2009-08-26 Thread wtanaka.com
This is a wrapper function and some instructions for enabling caching of the /jsi18n/ javascript string catalog: http://wtanaka.com/django/jsi18ncache --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Django users"

Re: Problem with running the database shell through cmd lime

2009-08-26 Thread Arul
Thanks a lot Karen. I did the same steps that you followed, it didnt work for me. But when i tried in another system it works fine. Probably there is some problem with my system settings. Thanks, Arul --~--~-~--~~~---~--~~ You received this message because you

Newbie Django project, suggestions for code improvement?

2009-08-26 Thread Matt Conrad
I wrote a little concentration game in Django and put it up on Google App Engine: http://matt-scratch.appspot.com/ I'm sure there are some awkward places in the code where I could leverage Django better. If anyone is curious and would like to comment or make suggestions, the source code

Re: Problem with running the database shell through cmd lime

2009-08-26 Thread Karen Tracey
On Wed, Aug 26, 2009 at 9:11 AM, Arul wrote: > > I tried with reopening the command prompt after setting the path via > GUI and > also I tried with setting the path in the active command prompt, but > it didnt work. > Anyway if i give "sqlite3" in the command prompt, it gives

Re: Problem with running the database shell through cmd lime

2009-08-26 Thread Arul
On Aug 26, 5:08 pm, Karen Tracey wrote: > That's how to do it.  Note that changing the system path via the GUI does > not affect already-open command prompts so you will need to open a new > command prompt or manually do the path update in the command prompt you are > using

Admin search error (using auto complete FK widget)

2009-08-26 Thread maco
Jannis Liedel writes about a great widget for FK fields http://jannisleidel.com/2008/11/autocomplete-form-widget-foreignkey-model-fields/ I manged to get it to work on one site, but not on others. Widget uses admin search functionality through url: /admin/app/model/search/?

Re: Coltrane application not appearing on the admin index page

2009-08-26 Thread Daniel Roseman
On Aug 26, 12:11 pm, Gath wrote: > Guys, > > Am going through the practical django book and am trying the weblog > application in Chapter 4, but when i go to test the application on my > cms application (that i created from the same book, from Chapter 2 & > 3) "coltrane"

Re: Adding tests to a patch

2009-08-26 Thread Russell Keith-Magee
On Wed, Aug 26, 2009 at 6:49 PM, Peter2108 wrote: > > I'm trying to help fix but #6138. I've done a patch for the code and a > separate test.py module. But someone ('Alex') added a request to > "Please put the tests in the same diff as the patch itself, it is > possible to

Re: template tag response None. but why?

2009-08-26 Thread Daniel Roseman
On Aug 26, 1:51 pm, MIL wrote: > Okay. Seems logic. But Im not sure what I should do. > > So what would you do? > > Thanks Add return "" at the end of your render() method. -- DR. --~--~-~--~~~---~--~~ You received this message because you are

Re: template tag response None. but why?

2009-08-26 Thread MIL
Okay. Seems logic. But Im not sure what I should do. So what would you do? Thanks On 26 Aug., 12:09, Daniel Roseman wrote: > On Aug 26, 12:44 am, MIL wrote: > > > > > Hi guys :o) > > > Im attempting to create a template tag but I get a strange

Re: Adding tests to a patch

2009-08-26 Thread Peter2108
Many thanks Karen. The key was "run svn diff from the top-level trunk directory" in the docs. Sorry, I should have re-read them! Should be OK now, Peter --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Django

Re: Adding tests to a patch

2009-08-26 Thread Karen Tracey
On Wed, Aug 26, 2009 at 6:49 AM, Peter2108 wrote: > > I'm trying to help fix but #6138. I've done a patch for the code and a > separate test.py module. But someone ('Alex') added a request to > "Please put the tests in the same diff as the patch itself, it is > possible to

Authentication integration with Netegrity SiteMinder?

2009-08-26 Thread Adam Stein
Using Django v1.1/mod_wgsi v2.5. I'm forced to use CA's Netegrity SiteMinder to authenticate users. I couldn't find anything regardng integration with Django (so that Django can provide authorization). I have integrated Django authentication with an LDAP server, but I need to use SiteMinder

Re: Problem with running the database shell through cmd lime

2009-08-26 Thread Karen Tracey
On Wed, Aug 26, 2009 at 5:47 AM, Arul wrote: > > But i need to use it with the django using the "manage.pt dbshell" > command. > I tried adding the sqlite.exe path to the windows system path. It > didnt work. > That's how to do it. Note that changing the system path via the

Re: annotate() type coercion

2009-08-26 Thread Georg Göttlich
Hello Karen, thanx a lot for the information and sorry for being so unspecific. Sounds like my problem. I'm using python 2.5 and sqlite3 (in my dev environment). So I'll try to upgrade sqlite. Cheers, Georg On 26 Aug., 14:05, Karen Tracey wrote: > 2009/8/26 Georg Göttlich

Re: annotate() type coercion

2009-08-26 Thread Karen Tracey
2009/8/26 Georg Göttlich > > Hello everybody, > > I'm not sure if this is a bug in django or if it works as designed. > That's why I'm asking here first, before filing a bug. > > When using annote() on a model, it's date values become unicode > values. > > Is this normal behavior

Problem with running the database shell through cmd lime

2009-08-26 Thread Arul
Hi all, I am using the sqlite database for django application. I need to alter the table and i tried to use "manage.py dbshell" command. It shows me "Error: You appear not to have the 'sqlite3' program installed or on your path." I tried downloading the sqlite3.exe file and used "sqlite3

Re: _() function in templates

2009-08-26 Thread balasundaram karthikeyan
hi iam new to python and Django and i am very much intrested in woe\rking with these framework than other ones. i request you to give me some tips of programming in these framework and some online resource so that i can become an effective prgrammer in these framework... with

Re: Django + Godaddy

2009-08-26 Thread Nanopino
i've actually have semi success in getting django to work on godaddy. It displays the "Congratulations on your first Django-powered page." You will have to be signed up for the linux shared hosting Deluxe or higher plan in order for fastcgi to be enabled. I can show you how to get it up and

Re: Internationalization in commands (cron usage)

2009-08-26 Thread Tomáš Drenčák
Thank you On Wed, Aug 26, 2009 at 11:43 AM, James Bennett wrote: > > On Wed, Aug 26, 2009 at 4:03 AM, Tomáš Drenčák wrote: > > I'd like to send mass email from custom command which will be called > > by cron. Problem is that each email could be in

annotate() type coercion

2009-08-26 Thread Georg Göttlich
Hello everybody, I'm not sure if this is a bug in django or if it works as designed. That's why I'm asking here first, before filing a bug. When using annote() on a model, it's date values become unicode values. Is this normal behavior and if so, is there a way to prevent this? Cheers, Georg

Re: request.FILES empty... only with IE!

2009-08-26 Thread OnCEL
Ok thanks. I did it as a trick: i create the form hardcoded in html that I do not display thanks to css, I copy it to another place when I need it with newDiv.innerHTML = staticDiv.innerHTML, and I browse htmlDom elements of the copy to add dynamic properties. It all works fine. THanks again.

Coltrane application not appearing on the admin index page

2009-08-26 Thread Gath
Guys, Am going through the practical django book and am trying the weblog application in Chapter 4, but when i go to test the application on my cms application (that i created from the same book, from Chapter 2 & 3) "coltrane" application does not appear on the admin index page as the book

_() function in templates

2009-08-26 Thread nabucosound
I recently discovered that in templates you can do {{ _("string")|filter }} so "string" is translated before being filtered. This is useful for me until this ticket is being commited: http://code.djangoproject.com/ticket/5972 Anyone knows where in Django documentation is this _() use

Adding tests to a patch

2009-08-26 Thread Peter2108
I'm trying to help fix but #6138. I've done a patch for the code and a separate test.py module. But someone ('Alex') added a request to "Please put the tests in the same diff as the patch itself, it is possible to use svn add locally". I'm at a loss here I'm afraid. The only way I know to

Re: First time deploying Django project

2009-08-26 Thread Graham Dumpleton
On Aug 26, 8:38 pm, Hussein B wrote: > I changed it to the following: > > >         SetHandler python-program >         PythonHandler django.core.handlers.modpython >         SetEnv DJANGO_SETTINGS_MODULE SshConnector.settings >         PythonPath "['/home/me/',

Re: First time deploying Django project

2009-08-26 Thread Hussein B
I changed it to the following: SetHandler python-program PythonHandler django.core.handlers.modpython SetEnv DJANGO_SETTINGS_MODULE SshConnector.settings PythonPath "['/home/me/', '/home/me/SshConnector/'] + sys.path" PythonDebug On I tried this URL

Re: turn of CASCADE ON DELETE

2009-08-26 Thread gentlestone
hmm, I found the answers 1. use a pre_delete signal instead of overwrite the model's and queryset's delete methods 2. use a specific exception subclass and catch it int the view Am I correct? On 26. Aug, 11:45 h., gentlestone wrote: > Because of Django CASCADE ON DELETE

Re: First time deploying Django project

2009-08-26 Thread Graham Dumpleton
On Aug 26, 7:51 pm, Kenneth Gonsalves wrote: > On Wednesday 26 Aug 2009 2:42:47 pm HB wrote: > > > Hey, > > I'm trying to deploy my first Django application to Apache. > > The project is located under:  /home/me/SshConnector/ > > Here is my configuration: > > > > >    

Re: template tag response None. but why?

2009-08-26 Thread Daniel Roseman
On Aug 26, 12:44 am, MIL wrote: > Hi guys :o) > > Im attempting to create a template tag but I get a strange response. > it returns "None" where I put the {% if blog_detail %} tag > > Here is my template tag > > class BlogNode(Node): >         def __init__(self, user,

Re: the parameters of the self-defined tags

2009-08-26 Thread Daniel Roseman
On Aug 26, 6:55 am, Apple wrote: > hi , now I want to pass a parameter named user (user is a instance of > User) to the self_defined tags,could I do this ? I think the passed > parameter are all strings , is there a way to get its real type ? > thank you for your replying !

Re: Change my model names - consequences?

2009-08-26 Thread Daniel Roseman
On Aug 26, 9:35 am, adelaide_mike wrote: > After adding a model to my Django 1.0.2 app I would like to change the > names of two models.  Will the syncdb take care of this for me?  I > anticipate I will need to change the table names in PostgreSQL. > > Any caveats?  

Re: Internationalization in commands (cron usage)

2009-08-26 Thread James Bennett
On Wed, Aug 26, 2009 at 4:03 AM, Tomáš Drenčák wrote: > I'd like to send mass email from custom command which will be called > by cron. Problem is that each email could be in different language. > How can I change actual language so ugettext and template rendering > will return

Re: First time deploying Django project

2009-08-26 Thread Kenneth Gonsalves
On Wednesday 26 Aug 2009 2:42:47 pm HB wrote: > Hey, > I'm trying to deploy my first Django application to Apache. > The project is located under: /home/me/SshConnector/ > Here is my configuration: > > > Options Indexes FollowSymLinks MultiViews > AllowOverride None >

turn of CASCADE ON DELETE

2009-08-26 Thread gentlestone
Because of Django CASCADE ON DELETE behavior I want to refuse deletion of the object with related objects. I overwrote my del method in the model: def delete(self): "Allow only if there are no related objects" seen_objs = CollectedObjects()

Internationalization in commands (cron usage)

2009-08-26 Thread Tomáš Drenčák
Hi, I'd like to send mass email from custom command which will be called by cron. Problem is that each email could be in different language. How can I change actual language so ugettext and template rendering will return correct localized string? When I don't change anything, internationalization

Re: First time deploying Django project

2009-08-26 Thread Hussein B
The previous conf is python.conf under /etc/httpd/conf.d On Aug 26, 12:12 pm, HB wrote: > Hey, > I'm trying to deploy my first Django application to Apache. > The project is located under:  /home/me/SshConnector/ > Here is my configuration: > > >         Options Indexes

First time deploying Django project

2009-08-26 Thread HB
Hey, I'm trying to deploy my first Django application to Apache. The project is located under: /home/me/SshConnector/ Here is my configuration: Options Indexes FollowSymLinks MultiViews AllowOverride None Order allow,deny allow from all AddHandler

Change my model names - consequences?

2009-08-26 Thread adelaide_mike
After adding a model to my Django 1.0.2 app I would like to change the names of two models. Will the syncdb take care of this for me? I anticipate I will need to change the table names in PostgreSQL. Any caveats? Any hints? TIA Mike --~--~-~--~~~---~--~~ You

Re: Python/Django web programmer needed

2009-08-26 Thread Gabriel Gunderson
On Wed, Aug 26, 2009 at 2:10 AM, w y wrote: > Otherwise just ignore this e-mail I'm going to try. If I/we can't, will you please take this off-list? Thanks, ALL --~--~-~--~~~---~--~~ You received this message because you are subscribed to the

Re: Python/Django web programmer needed

2009-08-26 Thread w y
Dear Sir, I got your e-mail as I prescribed this e-mail list. I am a Python/Django Web programmer. Since year 1995, I have been working in programming field with C, C++, Java, PHP, DHTML, Python, shell scripts and Django. For this opportunity, I have two quick questions. Is part-time ok? Is

Re: Error in setting up psycopg2

2009-08-26 Thread Thomas Guettler
Simon Lee schrieb: > Hi Thomas, ... > > I did a search on the web but found only two links on similar error > without any solution. Does anyone know what caused "Symbol not found: > _PQbackendPID"? > Try to to install a new version von psycopg2, since it seems to be broken. Try to use

Re: Many-to-many column

2009-08-26 Thread Sven Richter
Thank you very much. I think i get the idea. Greetings Sven On Tue, Aug 25, 2009 at 10:51 PM, Peter Bengtsson wrote: > > I fear your only option is to write a recursive function which you > feed with what you define to be "the end of the chain". > You can collect all the