Dear List,
I'm a bit stuck on a problem. I googled a lot, but didn't find an answer.
I have a "Loan" model and a "Payment" model. In the admin, I display the
payments for each loan in inlines. I want payements that are more than 3
days old to be displayed as readonly, as they are considered to be
Thanks for the reply, Karen.
Yeah, I posted this before seeing that the feature list for 1.1
included read-only fields. It was my mistake to only search through
the newsgroup and neglect searching the wiki before posting this (you
can never be too thorough, I guess). It's just that so much of w
On Sun, Mar 22, 2009 at 3:16 AM, legutierr wrote:
> [snip long list of why read only fields in the admin could be useful]
I ask that other Django users or potential users that have good
> reasons for needing a read-only option in the admin post their reasons
> here, so that at least it becomes
thout violating the
philosophy against read-only in admin. The most important philosophy
that Django has, however is not "no read-only in admin", but DO NOT
REPEAT YOURSELF, and that seems to be violated here.
- I know I can customize admin myself. But do I really want to make
chang
On Jan 16, 3:49 am, Serxio <[EMAIL PROTECTED]> wrote:
> Overriding the admin/change_form.html template, and wiping out the
> line {% submit_row %} may do the trick.
If that only hides the HTML, it won't be safe at all.
--~--~-~--~~~---~--~~
You received this messag
Hi!
Overriding the admin/change_form.html template, and wiping out the
line {% submit_row %} may do the trick.
Of course, it's not perfect, but can help.
Regards,
Serxio.
On 8 ene, 17:17, Nader <[EMAIL PROTECTED]> wrote:
> Hello,
>
> I have looked while for a answer to my problem but unfortun
Hello,
This past summer I did exactly this using newforms-admin. I can't
remember off the top of my head how I did it, and I don't have access
to my code, but I'd suggest looking there first. I remember that it
wasn't too difficult, actually. Hope that helps!
Thanks,
Eric Florenzano
On Jan 8
On 09-Jan-08, at 12:14 AM, James Bennett wrote:
>> Another dirty solution would be to simply create a user account, and
>> give it permissions to only view things. I haven't played with
>> permissions at all, but I imagine it would be possible.
>> The correct way is still to write your own code
On Jan 8, 2008 12:14 PM, Jeff Anderson <[EMAIL PROTECTED]> wrote:
> Another dirty solution would be to simply create a user account, and
> give it permissions to only view things. I haven't played with
> permissions at all, but I imagine it would be possible.
> The correct way is still to write yo
James Bennett wrote:
On Jan 8, 2008 10:17 AM, Nader <[EMAIL PROTECTED]> wrote:
I have looked while for a answer to my problem but unfortunately I
haven't found a one, maybe I had to spend more time. However I have a
project with some applications. By using of Admin we can Create, Read,
Updat
>> one application I would like only to read the model and could not
>> use Create, Update and Delete capabilities. Would somebody tell me
>> how I can solve this problem by using of Admin interface?
>
> As you'll find by searching the archives of this list, this is not
> something the Django a
Look at the databrowse application
http://www.djangoproject.com/documentation/databrowse/
On 8 янв, 19:17, Nader <[EMAIL PROTECTED]> wrote:
> Hello,
>
> I have looked while for a answer to my problem but unfortunately I
> haven't found a one, maybe I had to spend more time. However I have a
> pr
On Jan 8, 2008 10:17 AM, Nader <[EMAIL PROTECTED]> wrote:
> I have looked while for a answer to my problem but unfortunately I
> haven't found a one, maybe I had to spend more time. However I have a
> project with some applications. By using of Admin we can Create, Read,
> Update and Delete (CRUD
Hello,
I have looked while for a answer to my problem but unfortunately I
haven't found a one, maybe I had to spend more time. However I have a
project with some applications. By using of Admin we can Create, Read,
Update and Delete (CRUD) models information in the project. But in
one applicati
14 matches
Mail list logo