Dojo is designed to be flexible, but can be too heavyweight for small
tasks. Mochikit is designed to be super-lightweight but has a much
more limited scope as far as what it's capable of.
On 10/17/06, iain duncan <[EMAIL PROTECTED]> wrote:
>
> I have not dug into either Dojo or Mochikit yet and a
Sounds like they're leaning toward adding a Django option in the
future, but I think we can help speed them along by letting them know
there's plenty of demand out there.
They suggest contacting their sales staff to let them know if you'd be
interested in a Django grid server:
http://www.mediatem
That was actually a conscious decision to keep from needing support
images for the debug pages. I wanted them to be completely
self-contained, which is why we used the unicode glyph for the
disclosure triangle (a pretty universal UI indicator) to indicate that
those sections could be expanded.
On
Try putting this in your main base_site.html template:
{{ app.name|default:"Django" }} Administration
I'm not sure if the app info is available in the changelist/change
form contexts, but it's worth a shot.
On 8/1/06, Tamara D. Snyder <[EMAIL PROTECTED]> wrote:
>
> I'm sorry to keep bothering t
> The World Online admin
> interface (where Django was born) has a number of content types with
> tens of thousands -- if not hundreds of thousands -- of records.
393,181 stories and counting...
On 6/21/06, Adrian Holovaty <[EMAIL PROTECTED]> wrote:
>
> On 6/21/06, Patrick Anderson <[EMAIL PROTE
Hi Patrick,
You might find some helpful responses in this thread:
http://groups.google.com/group/django-users/browse_frm/thread/50ee1c147854769/a79890af3059229d?q=menu&rnum=3#a79890af3059229d
On 6/20/06, Patrick <[EMAIL PROTECTED]> wrote:
>
> Hi i'm newbie and i want to publish my Django websit
I don't know of a way to do this by a calculated fraction of the total
items in the list, but you can use the slice filter to break it up
into groups of a set number:
{% for object in object_list|slice:":5" %}
{% for object in object_list|slice:"5:10" %}
etc.
There's also a handy trick if you
Ha - that's great!
On 6/6/06, Ian Maurer <[EMAIL PROTECTED]> wrote:
Thanks guys for the feedback. Hopefully the changes will getincorporated tomorrow.Also, I like the art IBM put together for the front page of the linux section...
http://www-128.ibm.com/developerworks/linux/I hope it meets with the
Or specify the dimensions in ems if you want a closer equivalent to
rows and columns.
On 6/6/06, Adrian Holovaty <[EMAIL PROTECTED]> wrote:
>
> On 6/6/06, tomass <[EMAIL PROTECTED]> wrote:
> > Wondering if there's a way to specify how many rows and columns the
> > generic update page uses for a t
You're looking for the "filter_interface" option for the
ManyToManyField. You can find out more here:
http://www.djangoproject.com/documentation/model_api/#many-to-many-relationships
Also, if you specify an ordering meta option on your model, your
ManyToManyField will be sorted by the field you s
Another option is to create it as a flat page with the url "/" and
pull in all your content using template tags.
On 6/6/06, James Bennett <[EMAIL PROTECTED]> wrote:
>
> On 6/6/06, Douglas Campos <[EMAIL PROTECTED]> wrote:
> > 1) create a homepage app to aggregate it all (don't be worried, it can
Seems like you would get better results from your time by writing a
script to replace relative paths with absolute urls.
On 5/24/06, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote:
>
> Ok.
>
> Like I say, I understand the reason in separate the dynamic from the
> static, despite the fact this is the
Is there a particular reason you can't just use the full media url in
your templates? ie. "http://media.coolsite.com/files/css/shadow.css";
instead of "../css/shadow.css"?
On 5/23/06, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote:
>
> I'm building a CMS for my internal use... I own a web developmen
Sean,
You're looking for the filter_interface argument for the ManyToManyField:
http://www.djangoproject.com/documentation/model_api/#many-to-many-relationships
On 5/17/06, Sean <[EMAIL PROTECTED]> wrote:
>
> Hi,
> I was wondering if the searchable select box as used in the add user
> interface
It's generally used as a ManyToMany in other apps to assign objects
(blog posts, stories, e.g.) to be published to one or more sites at a
time.
On 5/10/06, Zeuxis <[EMAIL PROTECTED]> wrote:
>
> Hi,
>
> I wonder what it the purpose of the sites app in django.contrib ? It
> does not
> seem
With comments installed you can use the comments template tags to
attach a comment thread to any object in the template.
For example, for a hypothetical blog post, the template code to get
the list of free comments for the object might look like this:
{% load comments %}
{% get_free_comment_list
Cool! Very interesting to see a totally different kind of Django app.
I'll have to try it out.
On 5/8/06, ZebZiggle <[EMAIL PROTECTED]> wrote:
>
> Hey everyone!
>
> As you may or may not know (or are sick of hearing about) ... I've
> been dabbling on a web-game for a while now. It's called "My Da
I still haven't been able to confirm this particular display problem,
but adding the padding rule to #container doesn't break anything, so I
went ahead and commited that change.
On 4/29/06, parsch <[EMAIL PROTECTED]> wrote:
>
>
> Matthew Flanagan schrieb:
>
> > I can confirm that i'm seeing this
This is actually along the lines of some of the big-picture admin
changes I've been thinking about. Another side effect is that if each
app has it's own dashboard/changelist/filters, it also opens up the
actual index page for some additional functionality.
On 5/8/06, Rudolph <[EMAIL PROTECTED]> w
To use the tutorial app as an example, if you have a number of choices
for each poll, you may want to make the choices orderable by an
arbitrary index within the poll, rather than sorting them
alphabetically. In that case you could set order_with_respect_to =
'poll_id' in your choices model.
On 4
On 4/14/06, Clint Ecker <[EMAIL PROTECTED]> wrote:
> Here's basically what I have... the thing with t-shirts is that you can have
> a base product, the design... and it's got several subproducts Medium Black
> shirts, Large black shirts, Meidum blue. And they've all got different
> prices attrib
Depends on who you talk to. We use it all over the place. I'm not sure
what the status is with magic-removal. It interacts with edit_inline,
which AFAIK doesn't have a finished interface in m-r yet.
On 4/2/06, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote:
>
> The order_with_respect_to field seems
Have you looked at the "order_with_respect_to" meta option in your model?
On 3/30/06, patrickk <[EMAIL PROTECTED]> wrote:
>
> i´m just trying to implement buttons for moving up/down elements in
> the admin-interface (which should be replaced with ajax-drag later on).
> therefore, my model has a f
AFAIK, it's not really in the scope of the admin to display
information that can't be edited. Anything along those lines is
probably a candidate for customization.
On 3/28/06, pbx <[EMAIL PROTECTED]> wrote:
>
> When viewing one object in the admin (say, a Landlord) I'd like to be
> able to displa
If you only give the user permission to change your object, they will
not see an add button when they log in.
On 3/28/06, Rune Strand <[EMAIL PROTECTED]> wrote:
>
> Just to learn Django, I'm 'porting' a small CMS I wrote in PHP for a
> customer. While the standard admin buttons "Save an add anoth
I've had similar problems with using an image field as the core field
in an edit_inline relationship. When an object with an edit_inline
relationship is saved, the admin checks if the core fields on any of
th erelated objects are blank, and if so, it deletes that related
object. aWhat happens when
I meant to say "that's just for development, NOT production".
On 3/4/06, Wilson Miner <[EMAIL PROTECTED]> wrote:
> Django doesn't serve media (images, css, etc.). The development server
> handles the media necessary for the admin interface, but that's just
&g
Django doesn't serve media (images, css, etc.). The development server
handles the media necessary for the admin interface, but that's just
for production. You'll need a regular web server (Apache, lighttpd,
etc.) to serve your media. Once you've got that going, you'll need to
update the MEDIA_ROO
> I also created a super user via the admin GUI and this is not working
> -- the super user cannot log in!!!
Make sure the user is set to "staff" as well. The "staff" setting
allows the user to log in, the "superuser" setting gives them access
to all objects in the system.
--~--~-~--~---
You can also do this with CSS and not change your navigation HTML at
all. Just give each of your navigation items an id (#nav-about,
#nav-contact, etc.) and in each section of the site, assign a class to
the body tag based on the section you're in.
Then you can create CSS rules for the "current"
I haven't got around to posting those with guidelines, but I've attached a version you migth be able to use.Cheers,WilsonOn 12/3/05, Maniac
<[EMAIL PROTECTED]> wrote:
I'm writing a blog post about Django and want to use a logo as adecoration. There are number of nice badges onhttp://www.djangoproj
That's just a template block which you can fill in with your own contents (or rename or remove altogether if you choose). Django doesn't do any magic management of public site navigation (unless you use it to build an app that does).
See this section of the template documentation for an overview o
I've got it on my list to prep some logos for distribution and
external use, as well writing a simple logo usage policy. In the
meantime, using the logo to reference or link to the Django site is
well within fair use.
In the meantime, I went ahead and uploaded the logo to Wikipedia with
a fair us
33 matches
Mail list logo