Re: using dev version, just ran update, still getting "cannot import name newforms"

2007-01-23 Thread hotani
BING! Fred's fix did it. Notice in the package lists above I had "Django-0.95-py2.4.egg"? There was also a symlink for django in there. I removed the .egg, reloaded the server and all was well. Thanks everyone! On Jan 23, 2:48 pm, "Fred" <[EMAIL PROTECTED]> wrote: > Are you sure you don't have

Re: using dev version, just ran update, still getting "cannot import name newforms"

2007-01-23 Thread Fred
Are you sure you don't have both a Django python egg and a django dir in site-packages when you'r installing from source/SVN? I had similar problems, removed the first installed egg (I think it was installed using setuptools) and re-installed from source. Fred.

Re: using dev version, just ran update, still getting "cannot import name newforms"

2007-01-23 Thread hotani
python2.4 manage.py runserver) > what version does it report? You may need to edit your django.egg file > to point to the new django root. --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Django users

Re: using dev version, just ran update, still getting "cannot import name newforms"

2007-01-23 Thread [EMAIL PROTECTED]
When you start your development server (python2.4 manage.py runserver) what version does it report? You may need to edit your django.egg file to point to the new django root. --~--~-~--~~~---~--~~ You received this message because you are subscribed

Re: using dev version, just ran update, still getting "cannot import name newforms"

2007-01-23 Thread hotani
This is what I get: - >>> pprint.pprint(sys.path) ['', '/usr/lib/python2.4/site-packages/setuptools-0.6c1-py2.4.egg', '/usr/lib/python2.4/site-packages/Django-0.95-py2.4.egg', '/usr/lib/python24.zip', '/usr/lib/python2.4', '/usr/lib/python2.4/plat-linux2',

Re: using dev version, just ran update, still getting "cannot import name newforms"

2007-01-23 Thread Joseph Heck
here's something to check you paths. Run python interactively: import sys import pprint pprint.pprint(sys.path) The results will be something like: >>> import sys >>> import pprint >>> pprint.pprint(sys.path) ['', 'C:\\Python24\\lib\\site-packages\\pyrrd-0.0.1-py2.4.egg',

Re: using dev version, just ran update, still getting "cannot import name newforms"

2007-01-23 Thread hotani
I just tried removing the 'django_src/django' directory, followed by an update and am still not seeing the new stuff. :-( On Jan 23, 1:35 pm, "[EMAIL PROTECTED]" <[EMAIL PROTECTED]> wrote: > I've had similar problems with .pyc files not getting cleaned out, etc. > The easiest way to fix this is

Re: using dev version, just ran update, still getting "cannot import name newforms"

2007-01-23 Thread [EMAIL PROTECTED]
I've had similar problems with .pyc files not getting cleaned out, etc. The easiest way to fix this is to just delete the entire repository and check it out again. --Simon --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google

Re: using dev version, just ran update, still getting "cannot import name newforms"

2007-01-23 Thread ashwoods
d in the line for testing newforms it bombed out on me. > > This is the line atop my view: > from django import newforms as forms > > That was copied straight from the docs and yet my installed version is > telling me it doesn't know what I'm talking about. > > Django

Re: using dev version, just ran update, still getting "cannot import name newforms"

2007-01-23 Thread hotani
testing newforms it bombed out on me. > > > This is the line atop my view: > > from django import newforms as forms > > > That was copied straight from the docs and yet my installed version is > > telling me it doesn't know what I'm talking about. > > > Django is i

using dev version, just ran update, still getting "cannot import name newforms"

2007-01-23 Thread hotani
straight from the docs and yet my installed version is telling me it doesn't know what I'm talking about. Django is installed in /usr/local/django_src, and I ran the setup.py install utility just now but there was no change. Any ideas? --~--~-~--~~~---~--~~ You received

Re: Django (devel version) on Gentoo ?

2007-01-16 Thread [EMAIL PROTECTED]
I've just installed 0.95 with deps and then removed django folders from site-packages and symlinked SVN version from my home folder :) --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Django users" grou

Re: Django (devel version) on Gentoo ?

2007-01-16 Thread A.Ali
Thanks mate, I'll try it out ! --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Django users" group. To post to this group, send email to django-users@googlegroups.com To unsubscribe from this group, send email to

Django (devel version) on Gentoo ?

2007-01-16 Thread A.Ali
Hi, Is anyone here using the django development version on Gentoo ? I'd like to upgrade to it .. I try to avoid installing packages in any way other than through portage... so I'm looking for some sort of gentoo ebuild that will install Django from a .tar.gz file (as I will have to download

Re: Django (devel version) on Gentoo ?

2007-01-16 Thread Rodrigo Lazo
"A.Ali" <[EMAIL PROTECTED]> writes: Hi, Is anyone here using the django development version on Gentoo ? I'd like to upgrade to it .. I try to avoid installing packages in any way other than through portage... so I'm looking for some sort of gentoo ebuild that will ins

Re: How can I display the user-friendly version of my field with choices ?

2007-01-09 Thread James Bennett
On 1/9/07, Chris Brand <[EMAIL PROTECTED]> wrote: > Presumably I can also use that in a template : > {% object.get_kind_display %} Yup. -- "May the forces of evil become confused on the way to your house." -- George Carlin --~--~-~--~~~---~--~~ You received

RE: How can I display the user-friendly version of my field with choices ?

2007-01-09 Thread Chris Brand
> Each instance of your model will have a special method name > 'get_foo_display', where 'foo' is the name of the field with the > choices. For example: I should have found that. Thanks. > >>> b.get_kind_display() Presumably I can also use that in a template : {% object.get_kind_display %}

Re: How can I display the user-friendly version of my field with choices ?

2007-01-09 Thread James Bennett
On 1/9/07, Chris Brand <[EMAIL PROTECTED]> wrote: > In the admin, it displays the current value nicely (the second column), but > on my page, it displays the actual value from the database (the first > column) instead. I'd like to display the value used by the admin form, but > can't figure where

How can I display the user-friendly version of my field with choices ?

2007-01-09 Thread Chris Brand
I have model with field with choices set, similar to that in the documentation at http://www.djangoproject.com/documentation/model_api/#choices In the admin, it displays the current value nicely (the second column), but on my page, it displays the actual value from the database (the first column)

Re: Upgrading from .95 to Development Version

2006-12-07 Thread Paul Childs
Thanks Istvan, You guessed right I am on windows. I changed the script, ran it, installed django and navigated to the built in admin site where I was greeted by the nice clean looking admin interface that I am used to seeing. --~--~-~--~~~---~--~~ You received

Re: Upgrading from .95 to Development Version

2006-12-07 Thread Istvan Albert
Paul Childs wrote: > I'm pretty sure that the download script that I found here... > http://code.djangoproject.com/ticket/1327 > must not be doing the job properly. if you are using windows you'll need to change line 41 to: fp = open(basedir + link, 'wb+') i.

Re: Upgrading from .95 to Development Version

2006-12-07 Thread Paul Childs
I'm pretty sure that the download script that I found here... http://code.djangoproject.com/ticket/1327 must not be doing the job properly. I took the media from the admin in the 0.95 release and replaced the dev version's media and that fixed a good chunk of it. I'll have to do a SVN

Re: Upgrading from .95 to Development Version

2006-12-07 Thread Istvan Albert
Adrian Holovaty wrote: > I have never seen anything like that. I suspect the images are > corrupted somehow, and I have no idea how that might have happened. One common cause is opening files in text mode under windows. The flags need to be 'wb' not just 'w' i.

Re: Upgrading from .95 to Development Version

2006-12-07 Thread Adrian Holovaty
On 12/7/06, Paul Childs <[EMAIL PROTECTED]> wrote: > Well, I tried again and installed everything from scratch - new > project, app, database. I went through the first two sections of the > tutorial and I still got the same problem. I have posted this image of > the problem which shows how the

Re: Re: Upgrading from .95 to Development Version

2006-12-07 Thread James Bennett
On 12/7/06, Paul Childs <[EMAIL PROTECTED]> wrote: > I think this is a serious problem, should this be posted on the > developer group or a ticket raised? The images and CSS in the admin haven't changed, so I'm wondering if this is an issue with your browser or with a corrupt download maybe...

Re: Upgrading from .95 to Development Version

2006-12-07 Thread Paul Childs
Well, I tried again and installed everything from scratch - new project, app, database. I went through the first two sections of the tutorial and I still got the same problem. I have posted this image of the problem which shows how the admin looks through Firefox...

Upgrading from .95 to Development Version

2006-12-07 Thread Paul Childs
The firewall has the SVN port closed off so when I noticed this ticket http://code.djangoproject.com/ticket/1327 I was encouraged to go and get a development version of Django. I scooped the script and ran it and lo and behold I had Revision 4179 of the 96-pre version of Django! I uninstalled my

Re: When Django downward compatibility version is available?

2006-11-30 Thread [EMAIL PROTECTED]
Form handling/manipulators will change before 1.0 so also current SVN/0.95 will need some upgrade. For a new project use SVN --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Django users" group. To post to this

When Django downward compatibility version is available?

2006-11-30 Thread Pythoni
I have already 3 projects in 0.91 version. Now I am going to start another project that will be similar to one of those 3 already running projects. Shall I use - 0.95 version, - the latest svn version, -wait for 1.0 version( that I expect it to be downward compatible) - use 0.91 version because

Re: ANN: User-creation hole fixed in Django development (Subversion) version

2006-09-08 Thread Kenneth Gonsalves
On 08-Sep-06, at 11:34 AM, Adrian Holovaty wrote: > We're making this announcement in case some people are > using the development version on a production site somewhere. thanks for the prompt work - afaik most production sites are running on the development version -- regards k

ANN: User-creation hole fixed in Django development (Subversion) version

2006-09-08 Thread Adrian Holovaty
Hello all, Thanks to a report 30 minutes ago from Robert Bunting, we've fixed a hole in the Django admin site that allows non-authenticated users to create unprivileged user accounts by guessing a URL. This affects people using the Django development version, revision 3520 or higher. It does

Re: What is the proper way to apply a patch to the release version

2006-08-02 Thread SmileyChris
I've found it easy enough to use TortoiseSVN to create patches. --~--~-~--~~~---~--~~ 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

Re: What is the proper way to apply a patch to the release version

2006-08-02 Thread Jay Parlar
SVN doesn't (I believe) offer the ability to apply outside patches. Instead, you'll have to do what we do in the Unix world, use the "patch" program. You can find a Windows version of it here: http://gnuwin32.sourceforge.net/packages/patch.htm This program takes the patch file a

Re: FileBrowser Test Version

2006-07-23 Thread patrickk
thanks, benj. I will update as soon as possible - still trying to install the svn-repository ... Am 23.07.2006 um 03:36 schrieb benj: > > Patrick, > Thanks for this great extension! > One snag I hit is that your code assumes we serve our admin media from > /media/, which I happen not to. I

Re: FileBrowser Test Version

2006-07-22 Thread benj
Patrick, Thanks for this great extension! One snag I hit is that your code assumes we serve our admin media from /media/, which I happen not to. I just ran ''' sed -i -e "s:/media/:/admin-media/:g" *html ''' in the templates dir, but this setting is already available in

Re: FileBrowser Test Version

2006-07-12 Thread patrickk
as mentioned before, I´m currently getting help from my hosting- provider. trac is already set up on our server - of course, help is still appreciated. Am 12.07.2006 um 16:42 schrieb favo: > > could anyone can help va:patrick.kranzlmueller to setup a open svn > trunk even with a trac

Re: FileBrowser Test Version

2006-07-12 Thread favo
could anyone can help va:patrick.kranzlmueller to setup a open svn trunk even with a trac system? It's very hard to communicte with feedback - upload - feedback... --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups

Re: FileBrowser Test Version

2006-07-12 Thread Phil Powell
schrieb Phil Powell: > > > > > Thanks for the update Patrick. I've got this part working, but having > > trouble with makethumb on existing files on the server - not had time > > to delve too deeply yet to see what the problem is though. > > > > -Phil

Re: FileBrowser Test Version

2006-07-12 Thread patrickk
e too deeply yet to see what the problem is though. > > -Phil > > On 11/07/06, va:patrick.kranzlmueller <[EMAIL PROTECTED]> > wrote: >> >> a new version of the filebrowser is available for download. >> >> CHANGES: >> 001: You may define an

Re: FileBrowser Test Version

2006-07-12 Thread Phil Powell
Thanks for the update Patrick. I've got this part working, but having trouble with makethumb on existing files on the server - not had time to delve too deeply yet to see what the problem is though. -Phil On 11/07/06, va:patrick.kranzlmueller <[EMAIL PROTECTED]> wrote: > > a

Re: FileBrowser Test Version

2006-07-11 Thread va:patrick.kranzlmueller
a new version of the filebrowser is available for download. CHANGES: 001: You may define an initial directory for each FileBrowseField by adding a path to the help_text: Like "FileBrowser: /images/blog/" or "FileBrowser: /documents/pdf/". 002: Sorting algorithm also works

Re: FileBrowser Test Version

2006-07-11 Thread va:patrick.kranzlmueller
thanks. I will take a look at the bugs mentioned by archatas - so there'll probably be a new version for download later today. SVN: I´ve never worked with SVN (well, besides using django), no idea how to do the setup. It´d be very useful but I don´t have the time to digg into that right

Re: FileBrowser Test Version

2006-07-11 Thread Phil Powell
This is fantastic stuff! I'll be taking a look at testing it out and possibly implementing for a current project (thousands of image files to manage). Any plans for a SVN address? -Phil On 08/07/06, patrickk <[EMAIL PROTECTED]> wrote: > > today we´ve finished the test version o

Re: FileBrowser Test Version

2006-07-11 Thread Archatas
the uploaded images are being accessed with additional slash at the end of the URL. That were my notices. But on the whole, great work! Aidas Bendoraitis [aka Archatas] patrickk wrote: > today we´ve finished the test version of our django filebrowser. > > some screenshots are her

Re: FileBrowser Test Version

2006-07-09 Thread favo
It's very cool, open svn address is better:-) --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Django users" group. To post to this group, send email to django-users@googlegroups.com To unsubscribe from this group,

Re: FileBrowser Test Version

2006-07-08 Thread Jorge Gajon
, patrickk <[EMAIL PROTECTED]> wrote: > > today we´ve finished the test version of our django filebrowser. > > some screenshots are here: > http://www.vonautomatisch.at/django/filebrowser/ > > you can download the filebrowser here: > http://www.vonautomatisch.at/djan

FileBrowser Test Version

2006-07-08 Thread patrickk
today we´ve finished the test version of our django filebrowser. some screenshots are here: http://www.vonautomatisch.at/django/filebrowser/ you can download the filebrowser here: http://www.vonautomatisch.at/django/filebrowser/FileBrowser.zip installation shouldn´t take more than 5-10 minutes

Re: FYI: Primitive Python Version of GWT Working

2006-05-25 Thread Siah
Good work. Sia --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Django users" group. To post to this group, send email to django-users@googlegroups.com To unsubscribe from this group, send email to [EMAIL

FYI: Primitive Python Version of GWT Working

2006-05-24 Thread nkeric
http://jtauber.com/blog/2006/05/23/primitive_python_version_of_gwt_working Someone posted this to our site: James Tauber has built "a Python equivalent to the Google Web Toolkit (GWT)" - http://code.google.com/webtoolkit It's interesting :)

How soon will a stable magic-removal version probably be released?

2006-04-19 Thread flyaflya
Several days? several weeks? several months? or several years? If too far,I will use 0.91 version. -- http://www.flyaflya.com powered by pygame+python --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Django

Re: ASCII or PDF version of docs?

2006-03-28 Thread Glenn Tenney
On Tue, Mar 28, 2006 at 11:11:58AM -0600, Adrian Holovaty wrote: > Alternatively (or maybe additionally), we could have a separate > downloadable tarball of all the docs in HTML format, with all the CSS > and images. I would prefer not to include all of that in the main > Django distribution,

Re: ASCII or PDF version of docs?

2006-03-28 Thread Arthur
> > I maintain that all of the online docs need to be in the tar file... > > It would be nice and clean to take the code that converts the ReST > docs into HTML, and the unit tests into HTML, and bundle that with > Django along with a simple view that displays it, converting the docs > on the fly

Re: ASCII or PDF version of docs?

2006-03-28 Thread Adrian Holovaty
On 3/28/06, Glenn Tenney <[EMAIL PROTECTED]> wrote: > Are these examples helpful? Certainly, but... > > (a) they need to be in a different and much more obvious location... oh, > in the docs directory would be a start. > > (b) they are not the complete text of what's online and the parts

Re: ASCII or PDF version of docs?

2006-03-26 Thread Adrian Holovaty
On 3/24/06, Glenn Tenney <[EMAIL PROTECTED]> wrote: > On Fri, Mar 24, 2006 at 07:45:18PM -0600, James Bennett wrote: > > Every time you download Django, you get a complete copy of the latest > > version of the documentation, in ASCII format. > > As I've noted on one

ASCII or PDF version of docs?

2006-03-24 Thread Francisco Reyes
Is there an ASCII or PDF version of the documentation? Specially installation, tutorial and overview. Tried to print them, but any line that is long, gets cutoff when printing from my FreeBSD desktop at work.. Will try a windows machine at home.. but it would be nice if the documentation

Re: Version 1.0 Features

2006-02-16 Thread ChaosKCW
Thanks, I may look at accessing the cursor directory for TP stuff. S --~--~-~--~~~---~--~~ 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

Re: Version 1.0 Features

2006-02-15 Thread ChaosKCW
Yes all it says is pending.

Re: Version 1.0 Features

2006-02-14 Thread Jeroen Ruigrok van der Werven
Have you checked: http://code.djangoproject.com/wiki/VersionOneFeatures

Version 1.0 Features

2006-02-11 Thread ChaosKCW
Hi I have looked all over the roadmap etc.. and cant find any dates on the features. The most important feature for me is the transaction support in the ORM layer. Does anyone have any ideas on the progress or timeline for this ? Thanks,

Re: How to identify svn revision of a released version?

2006-02-07 Thread Hwan
i should have known the subversion better. thank you and berto a lot for quick replies.

Re: How to identify svn revision of a released version?

2006-02-07 Thread Russell Keith-Magee
On 2/8/06, Hwan <[EMAIL PROTECTED]> wrote: hi,which svn revision matches the released django-0.91?where can i find this kind of information?thanksRelease 0.91 was revision 1908 of the trunk.  Django follows normal SVN conventions for release tagging, so you can get this information by looking at

How to identify svn revision of a released version?

2006-02-07 Thread Hwan
hi, which svn revision matches the released django-0.91? where can i find this kind of information? thanks

Re: Backwards-incompatible change in development version: Password change

2005-11-21 Thread Afternoon
On 21 Nov 2005, at 20:26, Maniac wrote: It's also common thing to extract password change in a separate view. Yeah, that's blatantly a much better idea :-) Afternoon, man about the Internet -- http://aftnn.org/

Re: Backwards-incompatible change in development version: Password change

2005-11-21 Thread Maniac
Afternoon wrote: One idiom which is common is to intepret an empty password field to mean "no change to password". On a similar note... It's also common thing to extract password change in a separate view. I beleive it complies more with user interaction model because changing some

Re: Backwards-incompatible change in development version: Password change

2005-11-21 Thread Joey Coleman
On 11/21/05, James Bennett <[EMAIL PROTECTED]> wrote: > > Entering the hash directly would have to be disallowed, making for > another backwards-incompatible change, but I can't think of any reason > why it'd be useful to keep that ability. > I can think of a reason: as a sysadmin, I have

Re: Backwards-incompatible change in development version: Password change

2005-11-21 Thread Afternoon
On 21 Nov 2005, at 15:41, Adrian Holovaty wrote: If we assume it's always plaintext, that would mean you'd have to enter the password for an individual user each time you changed that user. Adrian Why out of interest? One idiom which is common is to intepret an empty password field to

Re: Backwards-incompatible change in development version: Password change

2005-11-21 Thread Adrian Holovaty
On 11/21/05, Afternoon <[EMAIL PROTECTED]> wrote: > > There'd be no way of knowing whether the incoming password were > > plaintext vs. encrypted, because any character is allowed in a > > password. > > I would assume it's always plaintext. I've never seen anything where > you have to encrypt the

Re: Backwards-incompatible change in development version: Password change

2005-11-21 Thread Laurent RAHUEL
Le Lundi 21 Novembre 2005 16:34, Afternoon a écrit : > On 21 Nov 2005, at 15:26, Adrian Holovaty wrote: > > There'd be no way of knowing whether the incoming password were > > plaintext vs. encrypted, because any character is allowed in a > > password. > > I would assume it's always plaintext.

Re: Backwards-incompatible change in development version: Password change

2005-11-21 Thread Afternoon
On 21 Nov 2005, at 15:26, Adrian Holovaty wrote: There'd be no way of knowing whether the incoming password were plaintext vs. encrypted, because any character is allowed in a password. I would assume it's always plaintext. I've never seen anything where you have to encrypt the password

Re: Backwards-incompatible change in development version: Password change

2005-11-21 Thread James Bennett
On 11/21/05, Adrian Holovaty <[EMAIL PROTECTED]> wrote: > There'd be no way of knowing whether the incoming password were > plaintext vs. encrypted, because any character is allowed in a > password. I guess I could have phrased that better. Currently admin interface directs the user to enter the

Re: Backwards-incompatible change in development version: Password change

2005-11-21 Thread Afternoon
On 21 Nov 2005, at 14:44, James Bennett wrote: On 11/21/05, Adrian Holovaty <[EMAIL PROTECTED]> wrote: No, the admin interface for users currently doesn't encrypt passwords. There's a longstanding ticket for this. Ideally there'd be a "Create password" link that would create it on the

Re: Backwards-incompatible change in development version: Password change

2005-11-21 Thread James Bennett
On 11/21/05, Adrian Holovaty <[EMAIL PROTECTED]> wrote: > No, the admin interface for users currently doesn't encrypt passwords. > There's a longstanding ticket for this. Ideally there'd be a "Create > password" link that would create it on the server side via > XMLHttpRequest and populate the

Re: Backwards-incompatible change in development version: Password change

2005-11-21 Thread Adrian Holovaty
On 11/21/05, Afternoon <[EMAIL PROTECTED]> wrote: > Can the admin encrypt passwords for you? No, the admin interface for users currently doesn't encrypt passwords. There's a longstanding ticket for this. Ideally there'd be a "Create password" link that would create it on the server side via

Re: Backwards-incompatible change in development version: Password change

2005-11-21 Thread Afternoon
On 21 Nov 2005, at 3:37, Adrian Holovaty wrote: We've added extra security to the stored passwords in Django's authentication system. Thanks to a patch from GomoX, passwords are now stored with a salt and use SHA-1 encryption instead of MD5. Can the admin encrypt passwords for you? Caveat

Backwards-incompatible change in development version: Password change

2005-11-20 Thread Adrian Holovaty
f the authentication docs for full information: http://www.djangoproject.com/documentation/authentication/#passwords Finally, note that this change applies only to the Django development version. If you're using Django 0.90, you won't see this change until the next release. Adrian -- Adrian H

<    3   4   5   6   7   8