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
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
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
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 =
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
@ 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
**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
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
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
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
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
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
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
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
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
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)
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
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.
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
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
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
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
>
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
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:
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
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
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
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
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
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
¿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
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...
>
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.
>
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).
>
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
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:
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
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
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
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
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
>
>
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.
>
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,
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
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
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.
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*
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
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
49 matches
Mail list logo