This seems very promising to me. Although I personally would be more
comfortable with sql being the root of datastructures, this would be
against django's philosophy.
I'm looking forward to the implementation!
--~--~-~--~~~---~--~~
You received this message becau
On 8/20/06, SmileyChris <[EMAIL PROTECTED]> wrote:
>
> >From documentation:
>
> If the string given is a method of the model, Django will HTML-escape
> the output by default. If you'd rather not escape the output of the
> method, give the method an allow_tags attribute whose value is True.
Sweet!
>From documentation:
If the string given is a method of the model, Django will HTML-escape
the output by default. If you'd rather not escape the output of the
method, give the method an allow_tags attribute whose value is True.
--~--~-~--~~~---~--~~
You received
On 8/20/06, Adrian Holovaty <[EMAIL PROTECTED]> wrote:
>
> On 8/20/06, Bryan Murdock <[EMAIL PROTECTED]> wrote:
> > I'd like the admin display of Committees to display the committee
> > members. I tried adding 'members.all()' to the Admin list_display,
> > but that didn't work. I can sort of do
On 20-Aug-06, at 1:22 PM, [EMAIL PROTECTED] wrote:
> I tried this, but neither
> {% include {% trans "welcome.html" %} %}
> nor
> {% include "{% blocktrans %}welcome.html{% endblocktrans %}" %}
> appear to work (make-messages doesn't even seem to find these
> translation strings).
>
> What would
Does anyone have any example apps where they have customized the admin
interface? Here's what I'm trying to do.
Right now my admin index page has a bunch of models on it. I would like
to break the page into 3 or 4 pages with a subset of models on each one
(plus additional information).
I k
Some configuration variables (like USE_I18N) must be defined. Defaults
are set in django.conf.global_settings, which is the default first
argument to settings.configure().
Following **keyword arguments are added to the resulting settings
object.
> settings.configure(mysettings)
Could instead be
On 8/20/06, Todd O'Bryan <[EMAIL PROTECTED]> wrote:
> There's a Google Summer of Code project going on at the moment to
> support model evolution throughout a project's development. I haven't
> played with it, but I've heard it's coming along.
Actually, we've got a new tune: there's a *finished*
On 8/21/06, James Punteney <[EMAIL PROTECTED]> wrote:
class Animal(models.Model): name = models.CharField(maxlength=200) prey = models.ManyToManyField("self", related_name="predator",symmetrical=False, filter_interface=models.HORIZONTAL)
And it works as expected except I can only edit the "prey"
Hello Django users,
I'm a newby in using django and running in to some trouble.
I created a django app with multiple models. What i want to do is to
make an application outside the created django app that can also use
the models.
so actually what i want to do is just import the model.py into a
a
In a (somewhat) related vein: is there anyway to make ForeignKey
objects links to their objects when they are one of the list_display
columns for the related object?
I don't think I said that real well, so here's an example of what I'm
after.
IOW, given:
class Poll(models.Model):
question =
I have an animal class that with a predator and prey relationship to
itself. Each animal can have many other animals that are their
predator and many other animals that are their prey. The appropriate
part of the model is below.
class Animal(models.Model):
name = models.CharField(maxlength=200)
Adrian Holovaty wrote:
> On 8/20/06, Bryan Murdock <[EMAIL PROTECTED]> wrote:
>> I'd like the admin display of Committees to display the committee
>> members. I tried adding 'members.all()' to the Admin list_display,
>> but that didn't work. I can sort of do it if I add this function to
>> the C
Hi folks,
For fun and as a way to test out and learn the idiosyncracies of the
various web frameworks out there in python land I've been writing a dvd
/ dvd player rental web application.
Now, I started it in Turbogears and used SQLObject to build the initial
(incomplete) model. I then decided t
I think Wordpress would be a decent model to look at. Askimet is
great, trackback/pingback support is nice, but while WP is fairly easy
to install it is starting to get bloated. The Ajaxy admin area is ok
but make sure ajax is being used to improve the UI not "make it look
cool".
Less is more, m
On 8/20/06, Bryan Murdock <[EMAIL PROTECTED]> wrote:
> I'd like the admin display of Committees to display the committee
> members. I tried adding 'members.all()' to the Admin list_display,
> but that didn't work. I can sort of do it if I add this function to
> the Committee class:
>
> def a
> That brings to mind the need for a Django-forge-like place where apps
> could get uploaded, categorized, and rated; Plone and Joomla have this,
> for instance. But that's another thread...
>
One worth starting, IMHO :-)
--Jon
--~--~-~--~~~---~--~~
You received
On Sun, 2006-08-20 at 09:43 -0700, bayerj wrote:
> As soon as I change my database schema, I have several possibilites to
> get my app up again:
> (a) Change the model. Then drop the current db schema, fire up the new
> one. Drawback: I lose my data.
> (b) Change the model and change the schema ma
Matthias Urlichs wrote:
> I mean, yeah, a quick and dirty blog is child's play with Django, *but*
> then you want a sensible CSS structure for it, and a cached RSS feed,
> and trackback (both directions please) and pingback (ditto) and
> "old-style" comments, and you got to spam-protect these som
Has anyone used jQuery?
http://jquery.com/
Looks very promising. It doesn't have lots of advanced widgets but
seems easy to use and very powerful. Supports xpath and css 3
selectors.
I'm planning to start using it myself.
Regards.
Enrico
--~--~-~--~~~---~--~~
Y
On Sun, 2006-08-20 at 09:43 -0700, bayerj wrote:
> (b) Change the model and change the schema manually. Drawback: I am
> repeating myself.
Personally, I prefer this method. Yes, I am repeating myself, but I'm
still saving time by not re-importing or re-entering the data. At first
I didn't like it
I have some simple models:
class Committee( models.Model ):
name = models.CharField( maxlength=200 )
leader = models.ForeignKey( "Person", null=True,
related_name="leader_of", blank=True)
notes = models.TextField( blank=True )
def __str__( self ):
Hi Justin,
On 20 Aug 2006, at 18:43, bayerj wrote:
> As soon as I change my database schema, I have several possibilites
> to get my app up again:
> (a) Change the model. Then drop the current db schema, fire up the
> new one. Drawback: I lose my data.
> (b) Change the model and change the sc
Hello django users,
A few weeks ago I started developing an eLearning-application and chose
Django as a framework. There are several reasons that made me use
django, although I checked out Turbogears, Cherrypy and webpy. (By the
way: What made me use django was the admin interface)
Important: Dj
greetings,
a month ago i visited django site and i was amazed - great framework,
just what i was looking for - and the best thing is, it runs on python
;)
ok, to my question: i purchased a shared hosting on godaddy and i would
like to install django. they do not offer ssh access so my question i
Another question regarding internationalization: How can I
internationalize the default model SQL files?
I have a model "Forum" and an SQL file with defaults, forum.sql, which
initializes a number of forums. I would like to initialize these with
English strings in an English installation (LANGUAG
how to upload a picture ,then add the url link of the picture to the
page's textarea content. Some bbs can do this . But how can I do like
this in django, any advice would be appreciated
--~--~-~--~~~---~--~~
You received this message because you are subscribed to
Nathan R. Yergler wrote:
> I was working on this yesterday and have a working Django application
> that supports most of the API. I'll be working on finishing it up
> today, and will release it tomorrow or Tuesday, depending on when I get
> things cleaned up. Anyway, that may make FCKeditor a g
On Sun, Aug 20, 2006 at 12:04:48AM +0200, Baurzhan Ismagulov wrote:
> I would be very grateful if anyone could point me to some published
> sources, or share the sources with me.
Wow, so many open-source web sites. Thanks much!
With kind regards,
Baurzhan.
--~--~-~--~~~-
>
> I'm personally also a java programmer :) and I like such prefixes :), but I
> had truely the problem on installation all off those libs (I do it on linux
> with rpm-packages) that in the libs-folder an empty __init__.py clashs with
> the __init__.py from the other packages. So I will rem
On 8/20/06, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote:
>
> I've resigned from the two column diff as wikis have rather plain text
> with long lines, and the column model wasn't to clear in those cases.
> Trac wiki uses the same approach and it look very nice - you don't need
> to see all diferen
I've resigned from the two column diff as wikis have rather plain text
with long lines, and the column model wasn't to clear in those cases.
Trac wiki uses the same approach and it look very nice - you don't need
to see all diferences, you want to see what have changed to the current
entry since l
FCKeditor has an XML API that can be implemented on the server side to
support the upload/browse functionality for images, etc. (see
http://fckeditor.wikiwikiweb.de/Developer's_Guide/Participating/Server_Side_Integration#Browser).
I was working on this yesterday and have a working Django applicat
On 8/17/06, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote:
>
> diffs now look like this:
> http://www.fotosik.pl/showFullSize.php?id=81d75597dcb3acd1
>
Look good. But have you seen the moinmoin wiki system? The diff shows
two columns. Maybe it's more intuitionistic.
--
I like python!
My Blog: http
Thank you both. I had it working (though it was far from elegant), so
that other thread will be very helpful.
--Jon
On 19/08/06, Bryan Chow <[EMAIL PROTECTED]> wrote:
>
> See:
> http://groups.google.com/group/django-users/browse_thread/thread/51827a2a40e5262e
>
> Bryan :)
>
>
>
> On 8/19/06, Jon
Our company lies in China,and want to proxy product (eg. compture
software). If you have any software or controls, please give a website
of your company. http://www.sharesharp.com/ thanks advance!
--~--~-~--~~~---~--~~
You received this message because you are su
On Sun, 2006-08-20 at 10:02 +0200, [EMAIL PROTECTED] wrote:
> Hi Malcolm,
>
[...]
> The name of the package should be self speaking for me, e.g. the rpm-package
> name must nearly unique to other rpms, the package name in python code should
> not prefixed with 'django' and the name relation bet
Hi Malcolm,
Malcolm Tredinnick schrieb:
> Hi Dirk,
>
>
>
> A couple of thoughts from just reading over your description: if it's
> possible to package these without the libs/ prefix, that would provide
> the person using them with more flexibility over where these things get
> installed. It seem
Hi.
I'm just in the process of translating my project and have hit a
stumbling block.
I use several includes for longer text which I don't want to have
cluttering up my template.
Can I translate the parameter to an {% include %} template tag?
I have a file welcome.html, which includes a lot of
39 matches
Mail list logo