Hi,
we are in admin generator in filters in field. What is the most clearest way to translate is empty label under form fields?
I've solve it by own setWidgets and setWidgets in BaseFormFilterDoctrine witch extend the parent methods by translating that is empty( empty_label ).
setWidgets - translate all *empty_label*s in form filter(...
Hi -
I'm building a site for a client that needs to support image uploads (an artist) through the admin interface. Since most of the images are pretty high-res, I wanted to create thumb copies of the image to display on the gallery page after the upload. The upload works great with the forms.ImageFile element, but I was looking for som...
I want to have the user/author email available in the "edit posts" panel. Currrently the "edit posts" panel has the author name but no email and the "user" panel has author and email but doesn't have the brief post description.
Any ideas?
...
I'd like to build a custom admin action into a model defined by Django. Let's say I wanted to add the action "Activate selected User(s)" on django.contrib.auth.models.User in the Django admin interface. What would be the clean and proper way to accomplish this?
I had a look at the documentation but it's just about implementing admin act...
Edited :-) Hopefully a bit clearer now.
The logic is of the model is:
A Building has many Rooms
A Room may be inside another Room (a closet, for instance--ForeignKey on 'self')
A Room can only in inside of another Room in the same building (this is the tricky part)
Here's the code I have:
#spaces/models.py
from django.db i...
Hi, we just inherited the development of a web application that uses GlassFish. The setup instructions we got have all these manual steps to setup connection pool, JDBC resource and JMS. I'm wondering if there is an API that could allow us to do all this work automatically (e.g. with a script)?
Thanks!
...
I have an app hosted by google app engine, and I am having trouble with authentication.
When I login using my admin account and try to access the admin page or members pages, I just get a blank screen. I can login, and the members only menu shows when I login, but I just can't see any data from the members pages.
I'm not really sure ...
Hi.
I'm having some trouble with my C# app that uses win32_networkingadapterconfig. The problem is that I can't use the altering functions in win32_networkingadapterconfig when I use the app on a user that dont have admin rights. I have tried to "run as administrator", but no luck. And I have tried to make a manifestfile with this conte...
Hey guys, how do i add one more option to product image list? like Exclude & Remove checkboxes
...
So I have installed the new Messages Framework. The documentation mentions using a css class called "messages" in the template. But I can't seem to find any such css class in any of the files in the trunk.
What I want to do is, in the Django Admin, have a red cross, instead of a green v, when displaying an error.
http://docs.djangoproj...
Admin actions can act on the selected objects in the list page.
Is it possible to act on all the filtered objects?
For example if the admin search for Product names that start with "T-shirt" which results with 400 products and want to increase the price of all of them by 10%.
If the admin can only modify a single page of result at a tim...
I have a model with field defined as
p = models.DecimalField(max_digits=12, decimal_places=6)
But the decimal_places=6 is only for internal accuracy. I only want 2 decimal_places to show up in the admin fields. So I thought perhaps I could do something with properties. But properties don't show up as fields in the Admin interface. E.g...
So I have some experience with Microsoft Access, building database apps for people, vba, etc for different folks at work....different divisions. And I have actually learned a lot in that realm...however,
now the need for SQL Server has arrived, and I have never really ventured into that realm...so let the questions begin:
how vastly di...
Hello!
I am implementing an application with django, which has a model with a FileField:
class Slideshow(models.Model):
name = models.CharField(max_length=30,unique=True)
thumbnail = models.FileField(max_length=1000,upload_to="images/app/slideshows/thumbnails")
and I have an admin backend where django manages the models. I jus...
I have an issue where, when I log in to the Django admin site, I get a template syntax error in /Library/Python/2.6/site-packages/django/template/debug.py in render_node, line 81.
I can't find out how to solve this as it is part of Django, I didn't write the code and I have no idea how it works.
This did work fine up until a few days a...
My application consists of a server a and client interface. I want the client to be able to request the server to write a registry key. Now i did my research on libraries for java that do that and i found a few. The problem lies with admin rights. When i run a simple java program to read from the registry i get an error that informs me t...
Is there a way to add a not null type column to a Postgresql table without doubling its size on disk? If for instance I have a table with some columns defined, and I want to add a column I'd do the following:
alter table my_table add new_column int
update table my_table set new_column = 0
alter table my_table alter column new_colum...
what is the most secure way to password protect admin files/folders?
im on apache/php
...
I have a django admin interface and in the model listing I want a custom column that will be a hyperlink using one of the fields values. Basically one of the models' fields is a url and i'd like the column to have that URL in a clickable hyperlink. This link will need to have additional URL prepended to it as its a relative path in the...
I'm using a third-party app (Satchmo) and I want to change a text field to a dropdown with some preset options plus a text field where the user can fill in their own value.
I know how to mess with the admin model to change the field to use a dropdown of presets, but not how to preserve the users ability to specify the value themselves.
...