Re: lost admin on upgrade to django 1.3

2011-07-29 Thread zignorp
Actually I'm not using virtualenv, I just installed the new version on my mac tar xzvf Django-1.3.tar.gz cd Django-1.3 sudo python setup.py install and it overwrote the older version in python/2.6/site-packages/django (I have 1.1 running on my notebook, that's how I checked where the damn

Re: lost admin on upgrade to django 1.3

2011-07-29 Thread Shawn Milochik
I'm using Django 1.3, and the templates exist in site-packages. Within my virtualenv: lib/python2.7/site-packages/django/contrib/admin/templates/admin/login.html How did you install/upgrade 1.3? Are you using virtualenv? Do you have multiple versions of Python on your system? Try just

Re: lost admin on upgrade to django 1.3

2011-07-29 Thread zignorp
No, I haven't. I think it has to do with the way the admin templates are loaded. I do notice that in my django 1.1 install there is an existing templates directory in site-packages/django/contrib/admin but in my 1.3 install there is no templates directory. So I think that's the problem, I'm

Re: Mysterious Path Issue Django & Apache

2011-07-29 Thread Devon Young
I think I'm adding the directories to sys.path correctly. For example, in my wsgi file, this works: path = '/home/devon/django-projects/' if path not in sys.path: sys.path.append(path) ...but if I change the path value like this, then Apache gives a 500 server error: path =

Re: lost admin on upgrade to django 1.3

2011-07-29 Thread Shawn Milochik
Could it have something to do with staticfiles? Have you started using any new middleware or contrib apps? -- 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

Re: about django

2011-07-29 Thread Harjot Gill
@ bruno desthuilliers, Thank you. -- 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-users+unsubscr...@googlegroups.com. For

Re: Django Memory hosting issues?

2011-07-29 Thread raj
**EDIT** sorry, just another question, Is it possible to point two domain names to the same application? Its sort of tough to explain. In webfaction, It allows me to make an application through the control panel, and I can link a domain to it. Inside this application, I can create actual django

Django Memory hosting issues?

2011-07-29 Thread raj
Hey guys, Just need some advice. I currently have a webfaction account, and It gives me 80mb of space. But I didn't know that each django application takes up approximately 40mb (ran over the limit without realizing it), so I can make only a max of 2 different websites. If I want to have the

lost admin on upgrade to django 1.3

2011-07-29 Thread zignorp
Hello, I just upgraded to 1.3 and thought all was well until I tried to access LOCALHOST/admin/ Can anyone tell me why I'm getting this exception Exception Type: TemplateDoesNotExist Exception Value: admin/login.html ? Was working fine in the older version. -- You received this message

Humanizing decimals in templates

2011-07-29 Thread nixlists
Hi. The humanize module - https://docs.djangoproject.com/en/1.3/ref/contrib/humanize/ does not support humanizing decimal values similar to 'intcomma', only integers. Is there an extension to do so, and if not how would one write one? How would one use this

Re: Satchmo, the bloated manatee

2011-07-29 Thread Cal Leeming [Simplicity Media Ltd]
On Fri, Jul 29, 2011 at 6:14 PM, Jacob Kaplan-Moss wrote: > Hi Bobby -- > > I'm quite sorry if you took my words as a threat. Such wasn't my > intent -- at all. I'm simply trying to make clear certain community > expectations. You're completely right that banning would be

Re: Satchmo, the bloated manatee

2011-07-29 Thread Cal Leeming
On Fri, Jul 29, 2011 at 6:14 PM, Jacob Kaplan-Moss wrote: > Hi Bobby -- > > I'm quite sorry if you took my words as a threat. Such wasn't my > intent -- at all. I'm simply trying to make clear certain community > expectations. You're completely right that banning would be

Re: Satchmo, the bloated manatee

2011-07-29 Thread ch...@moffitts.net
Just for the record, this topic was also posted on the Satchmo list and there are some decent performance improvement related discussions. No doubt there are configurations of Satchmo that result in less than desirable speed but there are some real life comments/examples from folks running big

Re: Mysterious Path Issue Django & Apache

2011-07-29 Thread Subhranath Chunder
Check if the base directory is added in you current python path when running from wsgi Putting a line like "print >> sys.stderr, sys.path" in your wsgi file right after the initial import should let you verify that. On Sat, Jul 30, 2011 at 1:25 AM, Devon Young wrote: > I

Re: Mysterious Path Issue Django & Apache

2011-07-29 Thread Shawn Milochik
It's your PYTHONPATH environment variable. -- 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

Mysterious Path Issue Django & Apache

2011-07-29 Thread Devon Young
I apologize in advance if this is actually a stupid question, but I'm thoroughly stumped since yesterday about this. First, it should be noted I come from a PHP background with a little experience in Perl, and I'm learning Python since Sunday. Also, I'm using: Python 2.7 Apache 2 (with mod_wsgi)

Re: Django + PyPy = ?

2011-07-29 Thread Bill Freeman
OK. Try: $ cd /to/whereever/manage.py/is $ /home/wsgi/pypy-1.5/bin/pypy ... import sys, pprint pprint.pprint(sys.path) Are the directories holding your django install there? If not, are the directories here pretty much only within (I'm guessing) /home/wsgi/pypy-1.5/lib ? That

Re: Satchmo, the bloated manatee

2011-07-29 Thread Bobby Roberts
Django is the best thing since the Civil Rights Movement. Satchmo is ok for the most part except for certain things which do not work unless you correct the errors in the programming. I'm sorry for ranting on the board. I will never rant again.

Re: Django + PyPy = ?

2011-07-29 Thread Dmitry Pisklov
Well, on the second step it fails: In the different directory (not in bin dir): $ /home/wsgi/pypy-1.5/bin/pypy Python 2.7.1 (b590cf6de419, Apr 30 2011, 02:00:34) [PyPy 1.5.0-alpha0 with GCC 4.4.3] on linux2 Type "help", "copyright", "credits" or "license" for more information. And now for

Re: Satchmo, the bloated manatee

2011-07-29 Thread Bobby Roberts
Django is the next best thing to Emancipation. I like Satchmo for the most part. I'll keep my rants off list. . I promise. You can follow me on twitter @bloatedmanatee from now on. Thanks for setting me straight everyone! On Jul 29, 1:14 pm, Jacob Kaplan-Moss

Re: Satchmo, the bloated manatee

2011-07-29 Thread Jacob Kaplan-Moss
Hi Bobby -- I'm quite sorry if you took my words as a threat. Such wasn't my intent -- at all. I'm simply trying to make clear certain community expectations. You're completely right that banning would be wildly inappropriate, and I certainly wasn't suggesting that. The Django community has

Re: Satchmo, the bloated manatee

2011-07-29 Thread Cal Leeming [Simplicity Media Ltd]
On Fri, Jul 29, 2011 at 5:16 PM, Bobby Roberts wrote: > opinions on software should never be taken personally and should never > be silenced. I take heat over programming on a daily basis just as I > have for the past 30 years. It's part of the business. Good >

Re: Satchmo, the bloated manatee

2011-07-29 Thread Bobby Roberts
opinions on software should never be taken personally and should never be silenced. I take heat over programming on a daily basis just as I have for the past 30 years. It's part of the business. Good programmers take it, grow from it and come back with a better product. There was no slight

Re: Satchmo, the bloated manatee

2011-07-29 Thread Cal Leeming [Simplicity Media Ltd]
Personally, I don't see why this has caused such a fuss. It is quite obvious from OPs original message that it was a bit of light hearted humor. I think the most appropriate response here would be "loosen up..?" Cal On Fri, Jul 29, 2011 at 4:26 PM, Jacob Kaplan-Moss wrote:

No module named servers.basehttp

2011-07-29 Thread bob gailer
I am following the tutorial. runserver ran fine until I added the admin feature. Now I enter D:\Python26\Lib\site-packages\django>d:\Python26\python mysite/manage.py runserver Traceback (most recent call last): File "mysite/manage.py", line 14, in execute_manager(settings) File

Re: Satchmo, the bloated manatee

2011-07-29 Thread Masklinn
On 2011-07-29, at 01:26 , Russell Keith-Magee wrote: > Yes, it really was. He opened a request for a subject line and first > sentence by comparing Satchmo to a fat, ungainly animal. Now here I draw the line, this is not acceptable. Manatees have feelings too. -- You received this message

Re: Satchmo, the bloated manatee

2011-07-29 Thread Jacob Kaplan-Moss
On Thu, Jul 28, 2011 at 11:16 AM, Cal Leeming [Simplicity Media Ltd] wrote: > Hold on, we are in danger of restricting the freedom of speech on this > mailing list. There is no right to free speech on a mailing list. We already restrict what's allowed on

Re: Cannot upload compressed zipfile

2011-07-29 Thread fred.se...@sunrise.com
solved problem, method of joining buffer was corrupting data. you need to use something like buffer =''' for x in f.read(4096): buffer+=x the solution in django works. -- You received this message because you are subscribed to the Google Groups "Django users" group. To view this

"This URL appears to be a broken link."

2011-07-29 Thread javatina
It seems that verify_exists=True as in URLField([verify_exists=True, max_length=200, **options]) has problems (1.3; 2.7). For example, this site is just fine http://www.rydex-sgi.com/ However, validation reports "This URL appears to be a broken link." This URL http://www.rydexsgi.com/ appears to

[Commercial] Freelance developer looking for long-term/contract based work

2011-07-29 Thread Subhranath Chunder
Hi, I'm an experienced Django developer, with good experience in web application development using Django as the underlying backbone. Have done numerous projects in this, and my entire work experience is also build around it. Summary: I love to work on challenging Django/Python projects, which

Re: Crop feature in django application

2011-07-29 Thread francescortiz
¿Why cropping on upload when you can let the system keep the center of attention centered? https://github.com/francescortiz/image On Jul 29, 10:50 am, jaspreet kaur wrote: > I want to add crop option in Django application > i followed the

Re: about django

2011-07-29 Thread bruno desthuilliers
On Jul 29, 12:11 pm, jaspreet kaur wrote: > On Fri, Jul 29, 2011 at 8:51 AM, Phang Mulianto wrote: > > welcome to the club. ... > > start with the documentation like others said, then more deep buy a book for > > reference, then create a pilot project... >

Re: Django admin upload image to few folders

2011-07-29 Thread christian.posta
It's possible I'm a little slower this morning, so could you help me understand what you mean? What do you mean you want to use the index for the filename instead of the pk? On Jul 28, 7:36 pm, Jonathan of Cambridge wrote: > I've been working on using django-filetransfers. >

Re: Implementing one app for multiple users with their own data.

2011-07-29 Thread Tom Evans
On Fri, Jul 29, 2011 at 11:14 AM, mongoose wrote: > Hi, > > I've a web app which works nicely on a per user or per company basis. > However I've gotten to the point where I want to run multiple > companies through the same app(not have to redeploy for each client). >

Re: django request xml

2011-07-29 Thread Tom Evans
On Fri, Jul 29, 2011 at 9:54 AM, Exia wrote: > hi, I'd like to send an xml to a django web server. > I've written a python program like this: > > req = urllib2.Request('http://127.0.0.1/abc/', strxml) > f = urllib2.urlopen(req) > > but I don't know how to deal with it in

django request xml

2011-07-29 Thread Exia
hi, I'd like to send an xml to a django web server. I've written a python program like this: req = urllib2.Request('http://127.0.0.1/abc/', strxml) f = urllib2.urlopen(req) but I don't know how to deal with it in views.py of django in the server... what should I do in the following function:

Implementing one app for multiple users with their own data.

2011-07-29 Thread mongoose
Hi, I've a web app which works nicely on a per user or per company basis. However I've gotten to the point where I want to run multiple companies through the same app(not have to redeploy for each client). However each client needs their own data and shouldn't be able to see other clients data. A

Re: about django

2011-07-29 Thread jaspreet kaur
On Fri, Jul 29, 2011 at 8:51 AM, Phang Mulianto wrote: > welcome to the club. ... > start with the documentation like others said, then more deep buy a book for > reference, then create a pilot project... Please tell me about pilot project. What is it? > On Jul 29, 2011

Re: Template syntex error

2011-07-29 Thread jaspreet kaur
On Fri, Jul 29, 2011 at 2:52 PM, nicolas HERSOG wrote: > How did u solve it ? There was an error in urls.py file Following was missing in the file: (r'^accounts/', include('userprofile.urls')), -- You received this message because you are subscribed to the Google Groups

Re: How do I change my user password on Django's bug tracker?

2011-07-29 Thread Ram Rachum
Thanks! On Thu, Jul 28, 2011 at 8:51 PM, Jacob Kaplan-Moss wrote: > On Tue, Jul 26, 2011 at 7:07 AM, cool-RR wrote: > > How do I change my user password on Django's bug tracker? > > https://www.djangoproject.com/accounts/password/change/ > > If you've

Re: USE_I18N vs. USE_L10N

2011-07-29 Thread kenneth gonsalves
On Fri, 2011-07-29 at 18:21 +1000, Mike Dewhirst wrote: > https://docs.djangoproject.com/en/dev/topics/i18n/internationalization/ > - Internationalization > > https://docs.djangoproject.com/en/dev/topics/i18n/localization/ - > Localization > >

Re: Template syntex error

2011-07-29 Thread nicolas HERSOG
How did u solve it ? On Fri, Jul 29, 2011 at 11:17 AM, jaspreet kaur wrote: > My problem is solved > > -- > 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. >

Re: Template syntex error

2011-07-29 Thread jaspreet kaur
My problem is solved -- 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-users+unsubscr...@googlegroups.com. For more options,

Crop feature in django application

2011-07-29 Thread jaspreet kaur
I want to add crop option in Django application i followed the link: http://code.activestate.com/pypm/django-image-cropper/ By following the steps given in the link, it doesnot give any effect on application Is there more steps to do for adding crop feature Thanks -- Jaspreet -- You received

Re: USE_I18N vs. USE_L10N

2011-07-29 Thread Mike Dewhirst
On 29/07/2011 5:38pm, Masklinn wrote: On 2011-07-29, at 05:56 , kenneth gonsalves wrote: On Thu, 2011-07-28 at 09:37 -0700, Lucy Brennan wrote: Before I comment, I would like to actually know if I got it right. In Django: USE_I18N: translation USE_L10N: localized formatting Right? wrong

Re: USE_I18N vs. USE_L10N

2011-07-29 Thread Russell Keith-Magee
On Fri, Jul 29, 2011 at 3:48 PM, Masklinn wrote: > On 2011-07-29, at 06:58 , Russell Keith-Magee wrote: >> To the rest of this thread: I want to head something off at the pass >> right now -- consider it a core-team decision that we're not going to >> rename these settings.

Re: USE_I18N vs. USE_L10N

2011-07-29 Thread kenneth gonsalves
On Fri, 2011-07-29 at 09:38 +0200, Masklinn wrote: > > wrong > That's not what the Django documentation says, at least in my reading > of it. i18n - preparing an app to be customised in *any* locale l10n - actually customising it for a *particular locale One can do i18n *without* doing *any*

Re: USE_I18N vs. USE_L10N

2011-07-29 Thread Masklinn
On 2011-07-29, at 06:58 , Russell Keith-Magee wrote: > Lucy: Although there are a lot of people that use L10N and I18N > interchangeably, they are very distinct terms; any source you find > that uses them interchangeably is categorically wrong. However, the > two are very closely related, because

Re: USE_I18N vs. USE_L10N

2011-07-29 Thread Masklinn
On 2011-07-29, at 05:56 , kenneth gonsalves wrote: > On Thu, 2011-07-28 at 09:37 -0700, Lucy Brennan wrote: >> Before I comment, I would like to actually know if I got it right. In >> Django: >> >> USE_I18N: translation >> USE_L10N: localized formatting >> >> Right? > > wrong That's not what