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
Creting custom "panels" in the settings
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
  4 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
 
Eduardo Rivas  
View profile  
 More options Sep 15 2012, 8:31 pm
From: Eduardo Rivas <jerivasmel...@gmail.com>
Date: Sat, 15 Sep 2012 17:31:34 -0700 (PDT)
Local: Sat, Sep 15 2012 8:31 pm
Subject: Creting custom "panels" in the settings

When I register settings in my custom applicattion (in defaults.py), they
get aggregated to the "Miscelaneous" panel in the Settings page. Is there a
way to create a custom panel, for example, titled "My App" for the settings
page?


 
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.
Stephen McDonald  
View profile  
 More options Sep 15 2012, 9:06 pm
From: Stephen McDonald <st...@jupo.org>
Date: Sun, 16 Sep 2012 11:06:02 +1000
Local: Sat, Sep 15 2012 9:06 pm
Subject: Re: [mezzanine-users] Creting custom "panels" in the settings

The groupings are defined by the names of the settings, so if you name your
settings MYAPP_FOO and MYAPP_BAR, and there is more than one setting with
that prefix, it will be grouped the way you want.

On Sun, Sep 16, 2012 at 10:31 AM, Eduardo Rivas <jerivasmel...@gmail.com>wrote:

> When I register settings in my custom applicattion (in defaults.py), they
> get aggregated to the "Miscelaneous" panel in the Settings page. Is there a
> way to create a custom panel, for example, titled "My App" for the settings
> page?

--
Stephen McDonald
http://jupo.org

 
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.
Eduardo Rivas  
View profile  
 More options Sep 15 2012, 9:27 pm
From: Eduardo Rivas <jerivasmel...@gmail.com>
Date: Sat, 15 Sep 2012 18:27:37 -0700 (PDT)
Local: Sat, Sep 15 2012 9:27 pm
Subject: Re: Creting custom "panels" in the settings

Excellent, thank you. You should add this piece of info to the docs, along
with the usage of the "label" parameter. Another question, is it possible
to have a defaults.py for a project, independant of any application? Right
now, only those that reside in an installed app folder get picked up.

El sábado, 15 de septiembre de 2012 18:31:34 UTC-6, Eduardo Rivas escribió:


 
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.
Stephen McDonald  
View profile  
 More options Sep 15 2012, 9:49 pm
From: Stephen McDonald <st...@jupo.org>
Date: Sun, 16 Sep 2012 11:48:56 +1000
Local: Sat, Sep 15 2012 9:48 pm
Subject: Re: [mezzanine-users] Re: Creting custom "panels" in the settings

On Sun, Sep 16, 2012 at 11:27 AM, Eduardo Rivas <jerivasmel...@gmail.com>wrote:

> Excellent, thank you. You should add this piece of info to the docs, along
> with the usage of the "label" parameter.

That's a great idea. Would you consider doing it and sending a pull request?

> Another question, is it possible to have a defaults.py for a project,
> independant of any application? Right now, only those that reside in an
> installed app folder get picked up.

No that's not possible - it follows the same discovery pattern as
models.py, admin.py, etc - INSTALLED_APPS is iterated through and they're
loaded from there. We could certainly extend it to pick up from the project
as well, but I think the consistency here with existing patterns is a good
thing.

> El sábado, 15 de septiembre de 2012 18:31:34 UTC-6, Eduardo Rivas escribió:

>> When I register settings in my custom applicattion (in defaults.py), they
>> get aggregated to the "Miscelaneous" panel in the Settings page. Is there a
>> way to create a custom panel, for example, titled "My App" for the settings
>> page?

--
Stephen McDonald
http://jupo.org

 
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 »