Ivan,Thank you for your reply.
Best regards,
L.
--~--~-~--~~~---~--~~
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
Is it possible to use non English characters in URL?To explain,
in my urls.py I use
(r'^shop/(?P.*?)/(?P.*?)/','shopproject.apps.shop.views.shop.IndexByCategory'),
where
category_name
can consist non English characters.In my view i use
def IndexByCategory(request,shop_name,category_name):
...
On the models of tutorial 1, I want to get a list of Poll, order by
how many choices it has.
class Poll(models.Model):
question = models.CharField(maxlength=200)
pub_date = models.DateTimeField('date published')
class Choice(models.Model):
poll = models.ForeignKey(Poll)
cho
Thanks Max & James,
that did it.
I was terrified and I couldnt do any work yesterday, I should have come
back here soon after.
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
"Django users" group.
To post to this
Hi Olive,
I couldnt do that, anywhere I can find more help about that?
the notes seem to be too difficult for me, I would need more help on
those, coz I have two types of staff who do differnet things.
thanks
--~--~-~--~~~---~--~~
You received this message becau
PythonistL wrote:
> Is it possible to use non English characters in URL?To explain,
>
> in my urls.py I use
>
> (r'^shop/(?P.*?)/(?P.*?)/','shopproject.apps.shop.views.shop.IndexByCategory'),
>
> where
> category_name
> can consist non English characters.In my view i use
>
> def IndexByCategor
On 5/1/06, gabor <[EMAIL PROTECTED]> wrote:
> but then it also depends on the browser, for example firefox
> (intentionally) does not display them correctly...
Actually, in this case there are multiple "correct" ways to display
the characters; one is to render the Unicode glyphs, which is what
Sa
Hi, I have a ManyToManyField called "authorised" (which is supposed to
be a list of users) and a BooleanField called "is_private" which should
be set to false if there are no users in "authorised" so I did this:
def save(self):
if self.authorised.count() == 0:
self.is_priv
James Bennett wrote:
> On 5/1/06, gabor <[EMAIL PROTECTED]> wrote:
>> but then it also depends on the browser, for example firefox
>> (intentionally) does not display them correctly...
>
> Actually, in this case there are multiple "correct" ways to display
> the characters; one is to render the U
Hi Daniel,
Thank you for the hint. Your wiki app is nicely designed!
Meanwhile, I launched a project, - empty, right now, - to make a
plugable wiki engine:
http://www.self-propelled-python.com/trac/knossos/
Everybody willing to participate is welcome.
greetings,
Giorgi
--~--~-~--~---
Daniel Poelzleithner ÐÉÛÅÔ:
>It's part of a django suite for public mash networks:
>http://ff-firmware.quamquam.org/trac/browser/ffsomething/trunk
>
>
>
what would be the proper command line to checkout the svn code?
WBR,
dimas
--~--~-~--~~~---~--~~
You receive
How often do you use svn to ensure that you're at the latest version?
--~--~-~--~~~---~--~~
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 unsub
On Monday 01 May 2006 12:08, Dagur wrote:
> On further inspection I found out
> that the "authorised" field is set to all users before saving but is
> empty after saving.
>
> >>> t = Topic()
> >>> t.authorised.count()
>
> 2773L
>
> >>> t.save()
> >>> t.authorised.count()
>
> 0L
>
> Is this the de
Hi winston,
I a couple of weeks ago I was thinking about using this method to solve
one of the pb I was facing. I don't see anything there that should not
work, also I have never done such thing.
Could you please let us know what is exactly your problem? If there is
one, :-), could you also post
I took a copy of the MR branch yesterday and worked through the rather
good tutorial this morning (at least to the end of #3 - I began to lose
my way in #4 in my first pass through).
I found that the recommended __str__ method in tutorial #1 did not
produce the human-readable output (still giving
Luke Plant wrote:
>It would be possible to get Django to throw an exception in this case.
>What do people think about that?
>
>
I think it makes sense. As well as documenting that though dependent
objects (both M2M and 12M) look like they are belong to the parent they
really can't be proces
This may be a dumb question but I've been banging my head against it
for a while. Two questions, actually.
(I'm using the M-R branch.)
1) How can I use a field in a related model in a Meta.ordering clause?
E.g. I want my Articles sorted by Reporter.lastname
2) How can I use a computed value in
> plugging the FK field into the ordering clause produces an
> OpertationalError, "Unknown table
> 'RELATED_TABLE_THAT_MOST_CERTAINLY_IS_KNOWN' in order clause."
Sorry, I meant to say specifically that this happens when I search in
the admin.
pb
--~--~-~--~~~---~--~
Hi All,
I am having the problem described in ticket 1045:
http://code.djangoproject.com/ticket/1045
Was this problem fixed in Django 0.91?
Thanks in advance.
Regards,
Sam
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google G
On Monday 01 May 2006 20:03, Sam Tran wrote:
> I am having the problem described in ticket 1045:
> http://code.djangoproject.com/ticket/1045
>
> Was this problem fixed in Django 0.91?
It was closed as a WONTFIX, so I doubt it (the patch certainly has not
been applied). The problem you are havi
Hello,
I followed the tutorial on how to serve static files with
Apache+mod_python but I'm still having problems. I get a 404 when I try
to access an image at http://localhost/project/media/test.png. I know
for sure that mod_python is disabled for the /media/ dir, but I can't
get the images to di
On 05/01/06 22:36, tgone wrote:
> Hello,
>
> I followed the tutorial on how to serve static files with
> Apache+mod_python but I'm still having problems. I get a 404 when I try
> to access an image at http://localhost/project/media/test.png. I know
> for sure that mod_python is disabled for the /
On 5/1/06, Luke Plant <[EMAIL PROTECTED]> wrote:
>
> On Monday 01 May 2006 20:03, Sam Tran wrote:
>
> > I am having the problem described in ticket 1045:
> > http://code.djangoproject.com/ticket/1045
> >
> > Was this problem fixed in Django 0.91?
>
> It was closed as a WONTFIX, so I doubt it (the
Steven Armstrong wrote:
> On 05/01/06 22:36, tgone wrote:
> > Hello,
> >
> > I followed the tutorial on how to serve static files with
> > Apache+mod_python but I'm still having problems. I get a 404 when I try
> > to access an image at http://localhost/project/media/test.png. I know
> > for sure
Hi,
I have read this thread:
http://groups.google.com/group/django-users/browse_frm/thread/399360004a8d0716/d6d355feecef7f7a?q=filefield+error&rnum=6#d6d355feecef7f7a
please help me to use those two {{form.field}}{{form.field_file}} when
I do my template!
do I creat two differnet lables? do I
On 05/01/06 22:51, tgone wrote:
>
> Steven Armstrong wrote:
>> On 05/01/06 22:36, tgone wrote:
>> > Hello,
>> >
>> > I followed the tutorial on how to serve static files with
>> > Apache+mod_python but I'm still having problems. I get a 404 when I try
>> > to access an image at http://localhost/p
On Monday 01 May 2006 21:47, Sam Tran wrote:
> On 5/1/06, Luke Plant <[EMAIL PROTECTED]> wrote:
> > On Monday 01 May 2006 20:03, Sam Tran wrote:
> > > I am having the problem described in ticket 1045:
> > > http://code.djangoproject.com/ticket/1045
> > >
> > > Was this problem fixed in Django 0.9
Hello all, Digital Variant, an Interactive Services shop is looking for
an experienced Django Architect/Developer to help guide our app
architecture and potentially work as a freelance developer on a number
of current/future projects. We are using Django as the framework to
develop next generation
(in M-R) I have a model with this field:
image = models.FilePathField(path='/my/path', blank=True, null=True)
In the admin interface, the image field shows up dimmed like the rest
of the optional fields. However the select list lists all the files in
/my/path, without any blank option. So you ar
No error message, but I don't know how to populate the
_inline_collections property in FormWrapper. FormWrapper has a
fill_inline_collections method:
def fill_inline_collections(self):
if not self._inline_collections:
ic = []
related_objects = self.manipulator.get_related_obje
Attention all users of the Django development version (a.k.a. trunk)!
We are merging the magic-removal branch to trunk this evening, Monday, May 1.
Do not "svn update" your Django code unless you're ready to convert
your code to magic-removal syntax.
If you "svn update" by mistake and aren't ye
layik wrote:
> Hi,
>
> I have read this thread:
> http://groups.google.com/group/django-users/browse_frm/thread/399360004a8d0716/d6d355feecef7f7a?q=filefield+error&rnum=6#d6d355feecef7f7a
>
>
> please help me to use those two {{form.field}}{{form.field_file}} when
> I do my template!
>
> do I cre
Hi Geoff,
On Mon, 2006-05-01 at 07:46 -0700, gegard wrote:
> I took a copy of the MR branch yesterday and worked through the rather
> good tutorial this morning (at least to the end of #3 - I began to lose
> my way in #4 in my first pass through).
Three out of four isn't bad on the first path. T
layik wrote:
> Hi,
>
> I have read this thread:
> http://groups.google.com/group/django-users/browse_frm/thread/399360004a8d0716/d6d355feecef7f7a?q=filefield+error&rnum=6#d6d355feecef7f7a
>
>
> please help me to use those two {{form.field}}{{form.field_file}} when
> I do my template!
>
> do I cre
On Tue, 2006-05-02 at 00:46 +, layik wrote:
>
> layik wrote:
> > Hi,
> >
> > I have read this thread:
> > http://groups.google.com/group/django-users/browse_frm/thread/399360004a8d0716/d6d355feecef7f7a?q=filefield+error&rnum=6#d6d355feecef7f7a
> >
> >
> > please help me to use those two {{for
I really appreciate all that you say! I am sorry just realised I
typed in capital letters.
I really tried more than 10 combinations, searched for all possible
keywords here, tried all the documentations, compared my produced HTML
with some from the admin one I have and this is what I get for HTML
All,
We've merged the magic-removal branch to trunk. All Django development
will focus primarily on the branch formerly known as magic-removal,
and all documentation on djangoproject.com will focus on the
development version.
Previous versions of the documentation are here:
http://www.djang
Adrian Holovaty wrote:
> Attention all users of the Django development version (a.k.a. trunk)!
>
> We are merging the magic-removal branch to trunk this evening, Monday, May 1.
>
> Do not "svn update" your Django code unless you're ready to convert
> your code to magic-removal syntax.
>
> If yo
Fantastic! Django rocks the world.
Thanks for the hard work of Django team and all participant all over
the world.
On May 2, 2006, at 9:50 AM, Adrian Holovaty wrote:
> We'd like to thank ALL the dozens of people, all over the world, who
> have submitted code, documentation, bug reports and oth
Howdy folks --
Google's opened up the Summer of Code student application process, so
if you (a) are a student (at any level) and (b) want to make $4500
this summer hacking on Django, go apply!
All the Django-specific info is over at http://code.djangoproject.com/
wiki/SummerOfCode2006 and t
40 matches
Mail list logo