Account Options

  1. Sign in
The old Google Groups will be going away soon, but your browser is incompatible with the new version.
Google Groups Home
« Groups Home
Interaz de admin de DBs
There are currently too many topics in this group that display first. To make this topic appear first, remove this option from another topic.
There was an error processing your request. Please try again.
flag
  3 messages - Collapse all  -  Translate all to Translated (View all originals)
The group you are posting to is a Usenet group. Messages posted to this group will make your email address visible to anyone on the Internet.
Your reply message has not been sent.
Your post was successful
 
From:
To:
Cc:
Followup To:
Add Cc | Add Followup-to | Edit Subject
Subject:
Validation:
For verification purposes please type the characters you see in the picture below or the numbers you hear by clicking the accessibility icon. Listen and type the numbers you hear
 
Sebastian Bassi  
View profile   Translate to Translated (View Original)
 More options Jul 26 2012, 4:06 pm
From: Sebastian Bassi <sba...@gmail.com>
Date: Thu, 26 Jul 2012 17:06:42 -0300
Local: Thurs, Jul 26 2012 4:06 pm
Subject: Interaz de admin de DBs

Hola,

Queria saber si hay alguna manera que la interfaz de admin de las DB no me
muestre los campos db.auth_*
Se me ocurre una idea modificando la vista views/appadmin.html pero por ahi
hay alguna manera mas fácil que meterme ahi.
Lo que hice y funciona es:

{{if not table.startswith('auth_'):}}
      <h3>
    {{=A("%s.%s" %
(db,table),_href=URL('select',args=[db],vars=dict(query=qry)))}}
      </h3>
      [ {{=A(str(T('insert new'))+'
'+table,_href=URL('insert',args=[db,table]))}} ]
    <br /><br />
    {{pass}}

Pero quizas sea una chanchada evitable.


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Alan Etkin  
View profile   Translate to Translated (View Original)
 More options Jul 29 2012, 2:54 pm
From: Alan Etkin <spame...@gmail.com>
Date: Sun, 29 Jul 2012 11:54:05 -0700 (PDT)
Local: Sun, Jul 29 2012 2:54 pm
Subject: Re: Interaz de admin de DBs
Creo que no hay una forma mejor. Lo que se podría hacer como mejora de
appadmin es definir en db.py un set con tablas a ocultar y que no las
muestre en la vista si están listadas.

On Jul 26, 5:06 pm, Sebastian Bassi <sba...@gmail.com> wrote:


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Sebastian Bassi  
View profile   Translate to Translated (View Original)
 More options Jul 29 2012, 4:35 pm
From: Sebastian Bassi <sba...@gmail.com>
Date: Sun, 29 Jul 2012 17:35:42 -0300
Local: Sun, Jul 29 2012 4:35 pm
Subject: Re: Interaz de admin de DBs

2012/7/29 Alan Etkin <spame...@gmail.com>

> Creo que no hay una forma mejor. Lo que se podría hacer como mejora de
> appadmin es definir en db.py un set con tablas a ocultar y que no las
> muestre en la vista si están listadas.

Ok, muchas gracias.

 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
End of messages
« Back to Discussions « Newer topic     Older topic »