Hello fellow djangonauts,
I'd like to implement an admin page (field, widget, template...
whatever) to edit xml-formatted contents of TextFields. Every child
node of the xml data has to be editable in a *separate* TextField.
Simple example:
I want to store some information about books, but for e
Hi Fredrik,
you could define a customized subclass of Site:
--
from django.contrib.sites.models import Site
class Company(models.Model):
name = models.CharField(max_length = 30)
url = models.CharField(max_length = 100)
class CompanySite(S
Hello alain31,
On 12 Aug., 21:41, alain31 wrote:
> [...]
> How can I use a custom QuerySet for the choices of field1 ?
I think it should work like this:
myform = MyForm(..)
myqueryset = myform.base_fields['field1'].queryset
myqueryset = myqueryset.filter_by(somefield='somevalue')
myform.b
On 13 Aug., 11:53, spacetaxi wrote:
> I'd like to implement an admin page (field, widget, template...
> whatever) to edit xml-formatted contents of TextFields. Every child
> node of the xml data has to be editable in a *separate* TextField.
Ok guys, just in case anybody is int
Hi list,
my django is completely utf8-configured. I'm using I18N and my msg-ids
(po-files) are utf8-encoded, too.
But now I've run into a strange problem: Translation of strings
containing non-ascii characters is working great in templates, but it
fails if I try to translate non-ascii strings in
On 5 Jul., 17:39, "Emanuele Pucciarelli <[EMAIL PROTECTED]>"
<[EMAIL PROTECTED]> wrote:
> My guess is that if you import ugettext, then you should supply a
> Unicode string as an argument:
>
> def index(request):
> teststring = _(u"Lösung")
> [...]
>
> (notice the 'u' before the string).
>
Hello djangonauts,
maybe someone of you has a good solution for the following scenario:
We have several rather complex web applications (partly php-based,
partly zope2-based) and I'd like to integrate them into one django-
based front-end. New apps will be implemented with django, but we
definit
On 29 Jun., 18:41, "Ariel Mauricio Nunez Gomez"
<[EMAIL PROTECTED]> wrote:
> I have 'integrated' django and moodle in the past. For authentication I
> would suggest using a single source (In my case is imap auth using google
> apps for your domain) and both moodle and django validate credentials
>
On 29 Jun., 18:44, "Alex Ezell" <[EMAIL PROTECTED]> wrote:
> It's pretty simple to get Django and PHP to share the same
> session information once a user has been logged in on the
> PHP side.
I'd like to do it the other way around: Login with django and share
the authentication with PHP and Zope2
Hello, currently I'm a little bit lost on this one... Maybe some kind
soul can give me a hint?
Look at this excerpt of a model class:
-
from django.db import models
from django.contrib.auth.models import User
class Article(models.Model):
# (...snip...)
editors = models.ManyToManyFiel
?
Kind regards
-Stephan
On 3 Jul., 13:56, spacetaxi <[EMAIL PROTECTED]> wrote:
> Hello, currently I'm a little bit lost on this one... Maybe some kind
> soul can give me a hint?
>
> Look at this excerpt of a model class:
>
> -
> from django.db import models
&
On 4 Jul., 15:52, "Karen Tracey" <[EMAIL PROTECTED]> wrote:
> You've waited one day right at the beginning of a big holiday weekend in the
> US; [...]
Ooops, sorry. I didn't think about this. Thanks for your feedback!
-Stephan
--~--~-~--~~~---~--~~
You received
Hello all,
maybe there are some newforms-admin experts out there:
What's the right way to change the ordering of ManyToMany-fields
(displayed as select widgets) in newforms-admin? I need to change the
ordering *without* changing the respective model class.
Background: The default ordering of th
Filipe Correia wrote:
Just for the record, I would also be very interested in this!
Yes, it would be *really* great to have this software available! :-)
Regards
-Stephan
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google
14 matches
Mail list logo