You cannot post messages because only members can post, and you are not currently a member.
Description:
Discussion group for Django users. Django is a high-level Python Web framework (djangoproject.com).
|
|
|
calendar.js can't find variable gettext
|
| |
I'm trying to use the date/time entry widgets from admin and I get this javascript error and the controls don't render.
Where is this supposed to come from?
In annoyance, I have copied the head section precisely from an admin page that work. Still doesn't work in my page.
<link rel="stylesheet" type="text/css" href="/media/css/base.css" />... more »
|
|
settings.py seems to be cached or stuck
|
| |
Hi all,
I am experiencing TemplateDoesNotExist errors. Initially I thought I
had my TEMPLATE_DIRS variable set incorrectly, but much
experimentation yielded nothing. I then noticed that on the browser
TemplateDoesNotExist error pages the TEMPLATE_DIRS setting reads as an
empty tuple (). I then tried changing several other settings in... more »
|
|
Accessing model instance on pre_save signal
|
| |
Hello,
I'm trying to change the upload_to attribute of an ImageField so that
it is in the format "web_projects/year/slug/". The problem I am having
is that the ForeignKey model is getting saved before the related
ScreenShot model is able to call it's save method to change upload_to.
I'm trying to use a pre_save signal to reverse the order of saving but... more »
|
|
creating a drop down filter in Admin site
|
| |
Hoping someone could help me out. I am updating an admin site and
added a couple "list_filter"s. They are rather long so I wanted to
turn them into a drop down filter. Can this be done? Any suggestions?
Thanks,
Jase
|
|
reversing URLs
|
| |
Ever since day one, I've never had a firm grasp on what the heck URL
reversing can do. I understand the concepts involved, even the admin
namespacing that can occur with different admin sites, and I know that
the admin uses it regularly, but it seems like a crazy unpredictable
wildcard when I try to use it manually.... more »
|
|
Copying files from remote server
|
| |
I'm trying to import content from another server via RSS. My problem
is with the images. Parsing the RSS with feedparser, I can get the
image, but from there I've run into trouble. I can save a pointer to
the remote file, but then I can't thumbnail or otherwise work with the
image like a local file, and it could disappear someday. I'm trying to... more »
|
|
How to unregister model?
|
| |
Is there a way to unregister model from being seen by Django model
manager?
I have some unmanaged models that are wrappers around read-only
database views
and also have foreign keys to 'real' models.
Now, when I'm trying to delete instance of 'real' model that is
referenced by unmanaged model,... more »
|
|
virtualenv, PIP, fabric and patches to external projects
|
| |
Hi,
I know this is probably not 100% django related (well, actually is 0%)
but I think most of you have worked with virtualenv and PIP and this
looks like a good place to talk about deployment scenarios.
Basically, I'd like to handle dependencies of my virtual environment
with PIP, but I have some patches to external projects that I have to... more »
|
|
Module ho.pis can not be found when running on apache
|
| |
When I try running my project via Apache I get a "No module named
ho.pisa" error message.
However, when I run the same project from django's built-in dev
server, it works just fine.
Similarly, when I access python, or go through python manage.py shell,
I can import ho.pisa without error.... more »
|
|
Django-1.1.1 builtin Development WebServer crashes with a core dump
|
| |
Hello users,
I am new to django, just installed Django-1.1.1.tar.gz
but:
Machine HPUX:
th1bl@dex: /home/th18bl > uname -a
HP-UX dex B.11.11 U 9000/785 4042425557 unlimited-user license
python:
th1bl@dex: /home/th18bl > python
ActivePython 2.6.2.2 (ActiveState Software Inc.) based on
Python 2.6.2 (r262:71600, Apr 21 2009, 15:06:28) [C] on hp-ux11... more »
|
|
|