Are you using 0.96 (you're using __str__ so I'd guess you are)?
Django's ugettext was introduced in the unicode merge that occured
after 0.96's release.
On Mar 10, 12:18 am, Tim Adler <[EMAIL PROTECTED]> wrote:
> Hey everybody,
>
> I'm trying to added mptt to my django project for managing a simp
Currently, Django won't overwrite uploaded files, it'll append a "_"
to the filename until it's unique. Django does let you organise files
by strftime formatting -
http://www.djangoproject.com/documentation/model-api/#filefield
- it might be worth checking djangosnippets.org or searching in the
b
It's worth reading the notes on the database backends, which go into
detail about how to setup your database for Django / Django for your
database - http://www.djangoproject.com/documentation/databases/
On Mar 10, 5:51 am, "M.Ganesh" <[EMAIL PROTECTED]> wrote:
> Hi All,
>
> I am using MySQL. How
All the fun of middleware can be found here -
http://www.djangoproject.com/documentation/middleware/
On Mar 8, 6:38 pm, binaryj <[EMAIL PROTECTED]> wrote:
> hi group,
> i have patched my cvs build of django with patch #2070. the patch
> works well and is great except that it throws very little li
I think you're over-estimating Django a little when it comes to
serving media - check out
http://www.djangoproject.com/documentation/static_files/
for details, it requires a little more work.
On Mar 5, 6:19 pm, "Monica Leko" <[EMAIL PROTECTED]> wrote:
> In settings.py I have:
> MEDIA_ROOT = 'C:/
Ganesh - http://groups.google.com/group/django-users/post - try
again ;D
On Mar 5, 2:32 pm, "M.Ganesh" <[EMAIL PROTECTED]> wrote:
> Hi,
>
> I want to show the current date in the Date field. It works
> 'SelectDateWidget' when I use the default widget. If I use
> 'SelectDateWidget' then I always g
You need to make sure MySQL is up and running, and that the database
settings in your settings file are correct - I've seen this error when
I've simply forgotten to start MySQL.
On Mar 5, 1:25 pm, "Nicola Greco di Notsecurity.com"
<[EMAIL PROTECTED]> wrote:
> I'm using debian, with apache (not ap
More than one match for one {% url view args %} doesn't sound right,
you can name your patterns to clear up any ambiguity -
http://www.djangoproject.com/documentation/url_dispatch/#naming-url-patterns
On Mar 5, 2:30 am, msoulier <[EMAIL PROTECTED]> wrote:
> So, my urlconf is
>
> urlpatterns = pat
Have a look at the links below, I think you're over-estimating what
MEDIA_URL does for you -
http://www.djangoproject.com/documentation/static_files/
http://www.djangoproject.com/documentation/settings/#media-url
On Feb 22, 7:54 pm, troeten <[EMAIL PROTECTED]> wrote:
> Hi,
> i have a problem with
Read the message a little closer, it tells you what to do.. each
ForeignKey field needs a related_name to distinguish it from the
other.
On Feb 13, 10:33 am, "Sairam Krishnamurthy" <[EMAIL PROTECTED]>
wrote:
> Hi,
>
> I have a table structure like this.
>
> class Componentdependencies(models.Mode
A model can only use one field as its primary key and
Distributequeue.objects.get() should only return one object.
http://www.djangoproject.com/documentation/model-api/#primary-key
http://www.djangoproject.com/documentation/db-api/#get-kwargs
Cheers, Pete.
On Feb 6, 12:11 pm, Nader <[EMAIL PROT
I'd have a read of
http://www.djangoproject.com/documentation/middleware/#django-middleware-common-commonmiddleware
and http://code.djangoproject.com/changeset/6852/ - looks like it
could be a change of behaviour.
On Dec 14, 3:21 pm, "Matt Davies" <[EMAIL PROTECTED]> wrote:
> Hello everyone
>
>
12 matches
Mail list logo