Re: How to change python version in ubuntu???

2009-01-27 Thread waylan
te up how I installed all versions from 2.3 up through 3.0 on my system[1]. To switch between them, I just use python on the command line. So if I want 2.4 I type ``python2.4`` etc. One thing I didn't mention is that the ``python`` command (without a version) is just a symbolic link to the default (``p

Re: How to change python version in ubuntu???

2009-01-26 Thread DragonSlayre
On Jan 27, 4:11 pm, Steve Holden wrote: > DragonSlayre wrote: > > > On Jan 27, 3:15 pm, Steve Holden wrote: > > >> DragonSlayre wrote: > > How do you do this? > > http://www.swc.scipy.org/lec/shell02.html > > regards >  Steve WOW, that explains it

Re: How to change python version in ubuntu???

2009-01-26 Thread Steve Holden
DragonSlayre wrote: > > On Jan 27, 3:15 pm, Steve Holden <holden...@gmail.com> wrote: > >> DragonSlayre wrote: >> That's most easily done by controlling your PATH so the the version you >> want to prefer is found first when python is called for. >> >

Re: How to change python version in ubuntu???

2009-01-26 Thread DragonSlayre
like export PYTHONHOME=/usr/ lib/python2.5 I'm just hacking around as I couldn't find anything explicit enough to say how to change the python version. --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Django

Re: How to change python version in ubuntu???

2009-01-26 Thread DragonSlayre
On Jan 27, 3:15 pm, Steve Holden <holden...@gmail.com> wrote: > DragonSlayre wrote: > That's most easily done by controlling your PATH so the the version you > want to prefer is found first when python is called for. > > regards &g

Re: How to change python version in ubuntu???

2009-01-26 Thread Steve Holden
nce 2.6 is installed. > That's most easily done by controlling your PATH so the the version you want to prefer is found first when python is called for. regards Steve --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Googl

Re: How to change python version in ubuntu???

2009-01-26 Thread DragonSlayre
On Jan 27, 1:41 pm, wrote: > Does this help? Found via google and ubuntu > forums.https://launchpad.net/~doko/+archive > > Sorry, I run Debian (which ubuntu is based on), I just apt-get install all of > the > available python versions and then run /usr/bin/python to

Re: How to change python version in ubuntu???

2009-01-26 Thread shaleh
On Mon Jan 26 16:28 , DragonSlayre sent: > >Ok, well I reinstalled ubuntu. > >It'd still be good to know how to change python versions easily, if >anybody knows how to do this - it seems like it's not documented >anywhere :( Does this help? Found via google and ubuntu forums.

Re: How to change python version in ubuntu???

2009-01-26 Thread DragonSlayre
Ok, well I reinstalled ubuntu. It'd still be good to know how to change python versions easily, if anybody knows how to do this - it seems like it's not documented anywhere :( --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google

How to change python version in ubuntu???

2009-01-26 Thread DragonSlayre
Hi, I've made a total mess of python (I installed python2.6 from source, installed python 2.6 from an installer (http://jaredforsyth.com/ content/install-python-26-ubuntu)). The source version installed into /usr/local/, and the installer version installed into /usr/. After installing python

Re: Installing the development version of Django on Windows XP - Environment Variable?

2009-01-16 Thread Ty
Thanks for the clarification. On Jan 16, 2:18 pm, Daniel Roseman <roseman.dan...@googlemail.com> wrote: > On Jan 16, 7:03 pm, Ty <brownellty...@gmail.com> wrote: > > > Follow-up question: > > I have a project that was created using the 1.0.2 version. Is it a >

Re: Installing the development version of Django on Windows XP - Environment Variable?

2009-01-16 Thread Daniel Roseman
On Jan 16, 7:03 pm, Ty <brownellty...@gmail.com> wrote: > Follow-up question: > I have a project that was created using the 1.0.2 version. Is it a > good idea to basically recreate the project and apps using the newest > version of the django-admin.py file, and then migrate th

Re: Installing the development version of Django on Windows XP - Environment Variable?

2009-01-16 Thread Ty
colons > in Windows) where the Python interpreter will look for additional > modules (in this case Django) in addition to the system-wide 'site-packages' > directory. > > There is a description on how to update PATH that could be of help to > you: > > http://docs.djangoproject.com/en

Re: Installing the development version of Django on Windows XP - Environment Variable?

2009-01-16 Thread Ty
method. Follow-up question: I have a project that was created using the 1.0.2 version. Is it a good idea to basically recreate the project and apps using the newest version of the django-admin.py file, and then migrate the code over? I'm assuming so. On Jan 16, 1:47 pm, Ty <brownellty...@g

Installing the development version of Django on Windows XP - Environment Variable?

2009-01-16 Thread Ty
http://docs.djangoproject.com/en/dev/topics/install/#installing-the-development-version I'm currently on a Windows system and stuck on step #3. I have no idea how to continue because I don't know what an "environment variable" actually is and what they do. I've looked into how

Re: model instance version numbering, or concurrent model editing

2008-12-11 Thread Malcolm Tredinnick
updates > would be lost, overwritten by the other one). > > This is what I have in mind. Add a version field to the WikiPage model > which is automatically incremented on every update. The system should > not allow saving an existing page with version (in db) >= version (in >

model instance version numbering, or concurrent model editing

2008-12-11 Thread Ronny Haryanto
. Add a version field to the WikiPage model which is automatically incremented on every update. The system should not allow saving an existing page with version (in db) >= version (in data to be saved). This is probably done in save(). I've tried overriding the models's save() method, but I'm alw

Re: Two different django version on the same server?

2008-12-08 Thread Pablo Ruiz Múzquiz
10:15 pm, Pablo Ruiz Múzquiz <[EMAIL PROTECTED]> wrote: > > > Hmm. That is exactly what I meant with "No matter what I do with > > Apache's PythonPath". > > I have that same configuration you posted and /admin (and other stuff) > > won't work (m

Re: Two different django version on the same server?

2008-12-08 Thread Graham Dumpleton
On Dec 8, 10:15 pm, Pablo Ruiz Múzquiz <[EMAIL PROTECTED]> wrote: > Hmm. That is exactly what I meant with "No matter what I do with > Apache's PythonPath". > I have that same configuration you posted and /admin (and other stuff) > won't work (most certainly b

Re: Two different django version on the same server?

2008-12-08 Thread Pablo Ruiz Múzquiz
Hmm. That is exactly what I meant with "No matter what I do with Apache's PythonPath". I have that same configuration you posted and /admin (and other stuff) won't work (most certainly because of the django version mismatch) The two errrors are "no module named urls" a

Re: Two different django version on the same server?

2008-12-07 Thread Adi Sieker
t; year ago and a brand new SVN one, sharing the same server. > > Django 097 lives at /srv/whatever/django097/django while Django SVN at > the usual site-packages location. > > No matter what I do with Apache's PythonPath, the virtualhost > referring > to the old project will

Two different django version on the same server?

2008-12-07 Thread Pablo Ruiz Múzquiz
v/whatever/django097/django while Django SVN at the usual site-packages location. No matter what I do with Apache's PythonPath, the virtualhost referring to the old project will load the SVN version and, thus, /admin and some template handling will fail to load. Any clues? Thanks in advan

Re: Django model version control

2008-10-30 Thread christian
I tried it out David, and it is simple and it works, I was just about to make the same exact thing. Thank you! On 4 okt, 15:21, David Hall <[EMAIL PROTECTED]> wrote: > I've created a Google group for discussing possible improvements to the > django-reversion project.  The group is called

Re: Migration problems (old svn version to 1.0 and new server)

2008-10-20 Thread Karen Tracey
lm_list' in your posts the only place I find it referenced is in the {% url %} tag that is generating the error messages and in the error messages. It's nowhere mentioned in the urls.py that you posted, so I don't see how you could expect {% url %} for it to work? > > This is all strange, as this

Re: Migration problems (old svn version to 1.0 and new server)

2008-10-20 Thread AdamC
particular film. edit_film_list is a function that shows a list of films with an edit link beside that particular film. This is all strange, as this application is running fine on an old svn version of django (pre 1.0). Adam -- You back your data up on the same planet? http://www.monkeez.org PGP key

Re: Migration problems (old svn version to 1.0 and new server)

2008-10-20 Thread Karen Tracey
On Mon, Oct 20, 2008 at 4:36 PM, AdamC <[EMAIL PROTECTED]> wrote: > > I'm running the latest checkout using svn as per the download > instructions on the djangoproject site. > > OK, now that you've confirmed that and I take a closer look at the erroryou have: {%url films.views.edit_film_list

Re: Migration problems (old svn version to 1.0 and new server)

2008-10-20 Thread AdamC
2008/10/20 Karen Tracey <[EMAIL PROTECTED]>: > 2008/10/20 AdamC <[EMAIL PROTECTED]> >> >> They all import fine. >> >> I do have @login_required at the beginning of a few functions. Has >> this changed since v1.0? > > You mean since 0.96? It certainly hasn't changed since 1.0, and I don't >

Re: Migration problems (old svn version to 1.0 and new server)

2008-10-20 Thread Karen Tracey
2008/10/20 AdamC <[EMAIL PROTECTED]> > They all import fine. > > I do have @login_required at the beginning of a few functions. Has > this changed since v1.0? > You mean since 0.96? It certainly hasn't changed since 1.0, and I don't believe @login_required was changed between 0.96 and 1.0. (If

Re: Migration problems (old svn version to 1.0 and new server)

2008-10-20 Thread AdamC
Reverse for >>>> 'films.films.views.edit_film_list' with arguments '()' and keyword >>>> arguments '{}' not found. >>>> 1 | Film list | >>> href="{%url films.views.add_film %}">Add a film | Edit | Search | Logout >>>> >&g

Re: Migration problems (old svn version to 1.0 and new server)

2008-10-20 Thread Jarek Zgoda
ments '()' and keyword >>> arguments '{}' not found. >>> 1 | Film list | >> href="{%url films.views.add_film %}">Add a film | Edit | Search | Logout >>> >>> The part that is red in this error report is the {%url - has this >>> changed si

Re: Migration problems (old svn version to 1.0 and new server)

2008-10-19 Thread AdamC
Caught an exception while rendering: Reverse for >> 'films.films.views.edit_film_list' with arguments '()' and keyword >> arguments '{}' not found. >> 1 | Film list | > href="{%url films.views.add_film %}">Add a film | Edit | Search | Logout >> >> The part that is red in t

Re: Migration problems (old svn version to 1.0 and new server)

2008-10-19 Thread Jarek Zgoda
s '()' and keyword > arguments '{}' not found. > 1 | Film list | href="{%url films.views.add_film %}">Add a film | Edit | Search | Logout > > The part that is red in this error report is the {%url - has this > changed since version 1? > > Any other advice on how

Re: Migration problems (old svn version to 1.0 and new server)

2008-10-19 Thread Karen Tracey
On Sun, Oct 19, 2008 at 2:25 PM, AdamC <[EMAIL PROTECTED]> wrote: > > I'm migrating my application (a simple film database) to another server. > > I installed version 1.0 of django on the new server and set up apache > with mod_python (which was the same setup on my old se

Migration problems (old svn version to 1.0 and new server)

2008-10-19 Thread AdamC
I'm migrating my application (a simple film database) to another server. I installed version 1.0 of django on the new server and set up apache with mod_python (which was the same setup on my old server). However, I seem to be having some problems. When I try and login to my application (which

Re: Django model version control

2008-10-06 Thread David Hall
. jonknee wrote: > On Oct 1, 11:25 am, David Hall <[EMAIL PROTECTED]> wrote: >> I've just released an open-source version control application for >> Django. It is available for download from Google code. > > Neat idea! I installed it and while it works for rolling back, it

Re: Django model version control

2008-10-04 Thread David Hall
for the currently-inactive fullhistory branch. As such, your feedback and suggestions are vital to making this application as bombproof as possible. David. David Hall wrote: > I've just released an open-source version control application for > Django. It is available for download from Googl

Re: Django model version control

2008-10-04 Thread David Hall
to your schema. This makes it very easy to integrate with existing projects. David. Bas van Oostveen wrote: > > That is exactly what i did for a project :) > > When you register a model for versioning, automagicly a new model is > created which the original model + an 'version-co

Re: Django model version control

2008-10-04 Thread Bas van Oostveen
That is exactly what i did for a project :) When you register a model for versioning, automagicly a new model is created which the original model + an 'version-control' abstract base model to add things like version numbers, datetimestamps, methods to diff between versions etc. Also all unique

Re: Django model version control

2008-10-03 Thread jonknee
On Oct 1, 11:25 am, David Hall <[EMAIL PROTECTED]> wrote: > I've just released an open-source version control application for > Django.  It is available for download from Google code. Neat idea! I installed it and while it works for rolling back, it does not work bring back deleted

Re: Django model version control

2008-10-03 Thread Erik Allik
What if, for each model under version control, you'd create an identical table (except the ID field would be a foreign key, not a primary one). Any time a migration is run on that model, the same migration could be run on the "twin" table, too. Erik On 02.10.2008, at 18:34,

Re: Django model version control

2008-10-02 Thread David Hall
to the database, how will > django-reversions work when you want to undo and go back to an earlier > version of a record in this table ? (which didn't have this change) > > The fields in the database/model now do not match against the serialized > copy right ? > > Bas >

Re: Django model version control

2008-10-02 Thread Bas van Oostveen
you want to undo and go back to an earlier version of a record in this table ? (which didn't have this change) The fields in the database/model now do not match against the serialized copy right ? Bas On Wed, 2008-10-01 at 16:52 +0100, David Hall wrote: > This discussion has been moved from dja

Re: Django model version control

2008-10-02 Thread Marek Stępniowski
2008/10/2 David Hall <[EMAIL PROTECTED]>: > Marek Stępniowski wrote: >> How does django-reversion deal with relationships between Django models? >> >> Version-controlling relationships between entities is an Achilles heel >> of such applications. I have read dja

Re: Django model version control

2008-10-02 Thread David Hall
This is best explained by example. Let's say you have two models, Foo and Bar, both under version control. >>> class Bar(models.Model): ... pass ... >>> class Foo(models.Model): ... bar = models.ForeignKey(Bar) If you save an instance of Foo, then the primary key

Re: Django model version control

2008-10-01 Thread Marek Stępniowski
On Wed, Oct 1, 2008 at 5:25 PM, David Hall <[EMAIL PROTECTED]> wrote: > > I've just released an open-source version control application for > Django. It is available for download from Google code. > > http://code.google.com/p/django-reversion/ > > Features include: &g

Re: Django model version control

2008-10-01 Thread David Hall
-reversion deals with maintaining versions of the model data. It does not integrate with subversion. Instead, it uses the django serialization framework to store serialized models in a special database table. David. David Hall wrote: > I've just released an open-source version control applicat

Django model version control

2008-10-01 Thread David Hall
I've just released an open-source version control application for Django. It is available for download from Google code. http://code.google.com/p/django-reversion/ Features include: - Roll back to any point in a model's history - an unlimited undo facility! - Recover deleted models

Re: Install version .90 help

2008-09-22 Thread KillaBee
th I.  Do I need a number in > > my user name on .90? > > In my original post, I said that it could be something like the database > port number. You apparently didn't check that. The database port number > in the settings file you posted is a string, not an integer. That's > a

Re: Install version .90 help

2008-09-19 Thread Malcolm Tredinnick
umber in the settings file you posted is a string, not an integer. That's almost certainly the problem. You will not be able to simply use a 1.0 settings file with 0.90. There are lots of differences, some large and some small. Basically, everything on the BackwardsIncompatibleChanges page in the wi

Re: Install version .90 help

2008-09-19 Thread KillaBee
On Sep 19, 9:18 am, KillaBee <[EMAIL PROTECTED]> wrote: > On Sep 18, 8:34 pm, Malcolm Tredinnick <[EMAIL PROTECTED]> > wrote: > > > On Thu, 2008-09-18 at 15:13 -0700, Carol wrote: > > > As far as I can see, django-admin.py doesn't have a subcommand called > > > init. > > > It did in 0.90, We're

Re: Install version .90 help

2008-09-19 Thread KillaBee
On Sep 18, 8:34 pm, Malcolm Tredinnick <[EMAIL PROTECTED]> wrote: > On Thu, 2008-09-18 at 15:13 -0700, Carol wrote: > > As far as I can see, django-admin.py doesn't have a subcommand called > > init. > > It did in 0.90, We're talking about something release in mid-November, > 2005: things have

Re: Install version .90 help

2008-09-18 Thread Malcolm Tredinnick
On Thu, 2008-09-18 at 15:13 -0700, Carol wrote: > As far as I can see, django-admin.py doesn't have a subcommand called > init. It did in 0.90, We're talking about something release in mid-November, 2005: things have changed a little since then. :-) Regards, Malcolm

Re: Install version .90 help

2008-09-18 Thread Malcolm Tredinnick
g or application back in and checking again. Seriously, if debugging this sort of thing is going to be a problem for you, using 0.90 is going to be a large world of pain. It was released three years ago and there have been four major releases since then with many changes in between. Hardly anybody

Re: Install version .90 help

2008-09-18 Thread Carol
As far as I can see, django-admin.py doesn't have a subcommand called init. Where you meaning syncdb or startapp or start project or ? Have you done manage.py validate to check your syntax and then manage.py syncdb to upload your new schema to the database? Also check your settings.py file that

Install version .90 help

2008-09-18 Thread KillaBee
I am working with django .90, and and 1.0. I have a Mysql db in setting.py that I can login with Mysql Admin. I am trying to link Django with this DB. I run this command to do this. django-admin.py init I get this error. The database couldn't be initialized. an integer is required I edited

Re: delete foreign cookie - version 0.95

2008-09-17 Thread Tim Kersten
Perhaps you could call a script on the other domain to update/delete/whatever the cookie in question? Tim ^,^ On Wed, Sep 17, 2008 at 2:05 PM, Tim Kersten <[EMAIL PROTECTED]> wrote: > I didn't think it was possible to delete/modify/create cookies for > other domains obvious security

Re: delete foreign cookie - version 0.95

2008-09-17 Thread Tim Kersten
I didn't think it was possible to delete/modify/create cookies for other domains obvious security issues and all than, no? Tim ^,^ On Wed, Sep 17, 2008 at 1:59 PM, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote: > > hi all > > please, i would like to ask for a little help. I am getting

delete foreign cookie - version 0.95

2008-09-17 Thread [EMAIL PROTECTED]
hi all please, i would like to ask for a little help. I am getting cookie from another domain for instance called XXX. Them i am parsing it through some tests and create new cookie also caled XXX. This creates the cookie from my domain(so i have two cookies with same name but from different

Re: Version 1.0. documentation

2008-08-29 Thread Ramdas S
try docs.djangoproject.com RS On Fri, Aug 29, 2008 at 12:28 PM, Luka Birsa <[EMAIL PROTECTED]> wrote: > > Hello > > I'm just starting with Django (I read the djangobook.com) and I've > upgraded to 1.0. There are quite some changes and I'm wondering is > there any documentation (as in a good

Version 1.0. documentation

2008-08-29 Thread Luka Birsa
Hello I'm just starting with Django (I read the djangobook.com) and I've upgraded to 1.0. There are quite some changes and I'm wondering is there any documentation (as in a good book) coming out? Best regards, Luka --~--~-~--~~~---~--~~ You received this message

Re: internal server error with new development version

2008-07-25 Thread ajo11
Thanks. After back-tracking through the updates, I've realised that I have a problem upgrading to version 7967. 7967 just gives the 500.html page, no Apache error message. So if I can just get 7967 working, that might also fix the problem with later versions too Thanks again for your

Re: internal server error with new development version

2008-07-24 Thread Karen Tracey
On Tue, Jul 22, 2008 at 7:12 AM, ajo11 <[EMAIL PROTECTED]> wrote: > > Hi, > > After upgrading from development version 7933, I'm getting a 500 > Internal Server Error page. This doesn't happen every time. > Sometimes it gives the expected response & sometimes it gi

Re: Which Postgresql/Psycopg2 version should we use?

2008-07-22 Thread Steve
the database and pray it doesn't spontaneously combust. On Jul 22, 11:36 am, Steve <[EMAIL PROTECTED]> wrote: > Recently we migrated from a working version of our site with MySQL > with the MySIAM engine to Postgresql 8.3.3/Pyscopg2.07. I built/ > installed both on the site and after

Re: Which Postgresql/Psycopg2 version should we use?

2008-07-22 Thread Malcolm Tredinnick
On Tue, 2008-07-22 at 13:36 -0700, Steve wrote: > I ended up rebuilding everything with postgresql 8.29/pyscopg2.07 and > everything works fine. Email me if you have questions or a similar > problem as I never figured out why it didn't work with postgresql > 8.33. I'd like to know what the issue

Which Postgresql/Psycopg2 version should we use?

2008-07-22 Thread Steve
Recently we migrated from a working version of our site with MySQL with the MySIAM engine to Postgresql 8.3.3/Pyscopg2.07. I built/ installed both on the site and after some finagling got our site to connect and ran syncdb successfully. All our unit tests passed, but the site behaves erratically

internal server error with new development version

2008-07-22 Thread ajo11
Hi, After upgrading from development version 7933, I'm getting a 500 Internal Server Error page. This doesn't happen every time. Sometimes it gives the expected response & sometimes it gives a normal 500 page. I think Apache is OK as another simple django project is working

Re: How to have both newforms-admin and previous version on the same machine?

2008-07-20 Thread Andre Meyer
a time this > way, but I'm not in a situation where this matters. > > On Jul 19, 10:19 pm, Rodrigo Culagovski <[EMAIL PROTECTED]> wrote: > > Great, thanks for the advice. > > So, using virtualenv, I basically install two separate environments, > > one for each django

Re: How to have both newforms-admin and previous version on the same machine?

2008-07-20 Thread ge
two separate environments, > one for each django version, and manually call "\path\to\djangoversion > \bin\activate.bat" depending on which version I need? Or is there a > way to activate the correct version directly from the project itself? > Using Windows for developme

Re: How to have both newforms-admin and previous version on the same machine?

2008-07-19 Thread Rodrigo Culagovski
Great, thanks for the advice. So, using virtualenv, I basically install two separate environments, one for each django version, and manually call "\path\to\djangoversion \bin\activate.bat" depending on which version I need? Or is there a way to activate the correct version dir

Re: How to have both newforms-admin and previous version on the same machine?

2008-07-19 Thread [EMAIL PROTECTED]
se sites, I need to keep the current django > version on my development machine. > Question: Is it possible to have two django versions on a single > machine? Is there a way to tell each project which one to use, maybe > in settings.py? > I realize that it might make sense to refactor the ex

How to have both newforms-admin and previous version on the same machine?

2008-07-19 Thread Rodrigo Culagovski
, unless I want to refactor all these sites, I need to keep the current django version on my development machine. Question: Is it possible to have two django versions on a single machine? Is there a way to tell each project which one to use, maybe in settings.py? I realize that it might make sense

How to get the Django bug and version data ?-I need help:)

2008-07-09 Thread BlueSky
Hello, I am a novice. I plan to study whether the design measures can predict fault-prone classes in Python. Through investigating, Django is a good experimental subject. I need the the Django bug and version data. Is there any web API for accessing the Django bug and version databases

Re: Can't pickle error from development version (7825)

2008-07-02 Thread Tipan
Hi Malcolm, I've been back through as you suggested and can trace the problem to revision 7477 which is merging of the Queryset refactor branch into the trunk. Version 7476 works fine with our application. I'll have a play with my view code to see if I can see exactly what is causing

Re: Can't pickle error from development version (7825)

2008-07-02 Thread Malcolm Tredinnick
On Wed, 2008-07-02 at 04:47 -0700, Tipan wrote: > Whilst setting up a new machine for development I took down the latest > development version of Django (7825). I am now experiencing a Pickle > error when running my existing application which has been working fine > on our produc

Can't pickle error from development version (7825)

2008-07-02 Thread Tipan
Whilst setting up a new machine for development I took down the latest development version of Django (7825). I am now experiencing a Pickle error when running my existing application which has been working fine on our production servers for a few months. The error occurs when using the Cache.set

Re: Mobile version of a site

2008-06-27 Thread Ian Lawrence
. Then overwrite the TEMPLATE_DIRS setting to point to the mobile version of the templates (and fall back to default templates if there isn't a mobile specific version). Because every app also gets a default template you can have a complete mobile site up and running by creating just one or two mobile base tem

Mobile version of a site

2008-06-27 Thread timc3
HI there, I want to produce a version of a site for mobile phones so I will have to serve up different templates, perhaps on a different subdomain. Is there a recommended way to go about this? Do I have to recreate all my views? Thanks in advance

mod_python Python version and executable don't match

2008-06-03 Thread Alex Robbins
the mod_python source and compiled against the new python installation. Then I did the traditional ./configure; make; make install (with all of the --with-python=... --with-apxs=...). At this point I have mod_python running, and the error pages report Python version 2.5.2. Unfortunately, the Python Executable

Re: which python version?

2008-05-15 Thread Valts Mazurs
Latest stable Python version. Currently it is Python 2.5.2 Regards, Valts. On Thu, May 15, 2008 at 6:03 PM, bcurtu <[EMAIL PROTECTED]> wrote: > > Which python version do you use with your django project? Any special > issue with any

which python version?

2008-05-15 Thread bcurtu
Which python version do you use with your django project? Any special issue with anyone? Cheers. --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Django users" group. To post to this group, send email

Re: What Django version should I use?

2008-05-05 Thread Martin Diers
On May 5, 2008, at 11:18 AM, Daniel Strasser wrote: > > Is it recommended to use the development version for a project that > starts now (or in a week ;-)) To add to what others have said, use the development version, definitely, except I would strongly recommend that you use the

Re: What Django version should I use?

2008-05-05 Thread Kenneth Gonsalves
On 05-May-08, at 9:48 PM, Daniel Strasser wrote: > Is it recommended to use the development version for a project that > starts now (or in a week ;-)) yes - unless you want to miss out on a lot of goodies and are masochist enough to enjoy upgrading your project through a bunch of ba

Re: What Django version should I use?

2008-05-05 Thread Jeff Anderson
Daniel Strasser wrote: This is a bit confusing for me, because for me, development versions are - yeah - for developers. And I'm not (yet?) :-) a Django core developer. The development version of django is basically the latest stable, 0.96, plus lots and lots and lots of bugfixes, feature

Re: What Django version should I use?

2008-05-05 Thread Greg Fuller
nated about Django > that I don't want to use PHP for a new project that is coming up soon. > > Now I'm playing around with the latest "stable" release of Django > (0.96), but both the tutorials and the documentation expects that you > are using the development versio

What Django version should I use?

2008-05-05 Thread Daniel Strasser
are using the development version (I know the older docs/tuts are online, too). This is a bit confusing for me, because for me, development versions are - yeah - for developers. And I'm not (yet?) :-) a Django core developer. Is it recommended to use the development version for a project that

cursor.cursor.fetchall() dict version?

2008-05-04 Thread Thierry
is there a dict returning version of cursor.cursor.fetchall() ? --~--~-~--~~~---~--~~ 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 u

Re: Selecting Python version for mod_python

2008-04-09 Thread Graham Dumpleton
On Apr 10, 1:54 am, Peter Rowell <[EMAIL PROTECTED]> wrote: > > This means that a python version has to be selected before the PythonPath > > directive is processed. > > "Selected" is not quite the right way to think of it.mod_pythonhas > the Python interpr

Re: Selecting Python version for mod_python

2008-04-09 Thread Peter Rowell
> This means that a python version has to be selected before the PythonPath > directive is processed. "Selected" is not quite the right way to think of it. mod_python has the Python interpreter linked in at build time, not run time. To change which version you have, you

Selecting Python version for mod_python

2008-04-09 Thread jurian
How can I go about selecting the python version for mod_python to use? Using PythonPath doesn't seem to be the way to do this, as stated in the mod_python documentation, this strign is evaluated. This means that a python version has to be selected before the PythonPath directive is processed

Re: Upgrade to development version - Admin no longer works

2008-03-03 Thread merric
Thanks James, I'll have a look. On Mar 3, 4:50 pm, "James Bennett" <[EMAIL PROTECTED]> wrote: > On Mon, Mar 3, 2008 at 10:29 AM, merric <[EMAIL PROTECTED]> wrote: > > There is no VIEW called "help_no_cookies" in the promotions.views > > module. Should there be? > > You apparently have an old

Re: Upgrade to development version - Admin no longer works

2008-03-03 Thread James Bennett
On Mon, Mar 3, 2008 at 10:29 AM, merric <[EMAIL PROTECTED]> wrote: > There is no VIEW called "help_no_cookies" in the promotions.views > module. Should there be? You apparently have an old URL pattern somewhere in your project which tries to reference such a view; previously this was not an

Re: Upgrade to development version - Admin no longer works

2008-03-03 Thread Malcolm Tredinnick
On Mon, 2008-03-03 at 08:29 -0800, merric wrote: > I've just tried updating to the latest development version and the > admin no longer works. I get the following message whenever I try to > access a DB via the admin: [...] > There is no VIEW called "help_no_cookies" i

Upgrade to development version - Admin no longer works

2008-03-03 Thread merric
I've just tried updating to the latest development version and the admin no longer works. I get the following message whenever I try to access a DB via the admin: ViewDoesNotExist at /admin/ Tried help_no_cookies in module promotions.views. Error was: 'module' object has no attribute

Re: django version for production?

2008-02-06 Thread Pigletto
with some functionality (iteration), I make a tag in svn. Then, this tagged version is deployed at test environment. Customer checks it etc and if accepted it goes to production (using svn tag). If not accepted, then fixes are made and next version is commited into tags at svn. Then it goes into test

Re: django version for production?

2008-02-06 Thread Christian W. Koch
exactly, that's what i meant. i usually skip a staging server, for cost reasons, and configure my dev box to run the same configuration as my production server. either way, keneth and jarek are right. the point is that trunk is as safe as you want it to be, or at least as pain-free as you want.

Re: django version for production?

2008-02-06 Thread Kenneth Gonsalves
On 06-Feb-08, at 2:08 PM, Jarek Zgoda wrote: >> you do have a development environment, right? ;) > > I remember one issue just after autoescaping went into trunk, that was > visible only on sites runnung on FastCGI, so development server/env > sometimes clearly is not enough to catch

Re: django version for production?

2008-02-06 Thread Jarek Zgoda
Christian W. Koch napisał(a): > i'm no django expert, yet, but i use trunk. now, for production > purposes i still use trunk because before i "svn up" on production i > make sure that the site runs on my development box on the latest > trunk. > > you do have a development environment, right? ;)

Re: django version for production?

2008-02-05 Thread Christian W. Koch
Mohorovic <[EMAIL PROTECTED]> wrote: > please post your opinions on using 0.96 or trunk version in production > environment. > which would you choose and why? --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Gro

Re: django version for production?

2008-02-05 Thread Kenneth Gonsalves
On 05-Feb-08, at 7:15 PM, Jarek Zgoda wrote: > some day it would not be feasible to port any application to "1.0". I > know personally many people still having their apps running on 0.91 > because of too large amount of work needed to port to any later > version. I ha

Re: django version for production?

2008-02-05 Thread Massimiliano Ravelli
On 5 Feb, 14:45, Jarek Zgoda <[EMAIL PROTECTED]> wrote: > If anyone can afford running on trunk (as I do with my personal > projects), then there's no reason to run on 0.96. I agree: I'm running a very recent version of newforms-admin branch in my *production* site with no problem at

<    1   2   3   4   5   6   7   8   >