Jockeying the Pony Tareque Hossain
<ul><li>You find the single file settings management to be too restrictive </li></ul><ul><li>You have different developmen...
 
 
 
<ul><li>Maintain a global settings file which everyone shares </li></ul><ul><li>Maintain individual settings: </li></ul><u...
<ul><li>Define defaults in a base settings file </li></ul><ul><li>Override base settings in individual settings profile to...
 
<ul><li>Maintain and work on your own database </li></ul><ul><li>Work with multiple databases </li></ul><ul><li>Switch bet...
 
<ul><li>Tareque Hossain, PBS TeacherLine </li></ul><ul><li>Email:  [email_address] </li></ul><ul><li>Twitter: @tarequeh </...
Upcoming SlideShare
Loading in...5
×

Introduction to django-config

2,706

Published on

DjangoCon 2009: Lightning Talk presentation on django-config, a simple architecture to incorporate multiple configurations in django.

Check out the project from github: http://bit.ly/django-config

Published in: Technology, Education
3 Comments
6 Likes
Statistics
Notes
No Downloads
Views
Total Views
2,706
On Slideshare
0
From Embeds
0
Number of Embeds
1
Actions
Shares
0
Downloads
81
Comments
3
Likes
6
Embeds 0
No embeds

No notes for slide
  • You don’t want to be sad like this puppy who doesn’t have a saddle
  • You don’t want to be pushed around while riding your pony
  • That’s right. You need your own saddle.
  • At PBS we have been successfully using multiple settings files to distribute and customize our diverse configuration needs.
  • Enable password when you don’t want people to accidentally edit your settings (e.g. production settings) You can do this by putting your password’s md5 has in the settings file.
  • Introduction to django-config

    1. 1. Jockeying the Pony Tareque Hossain
    2. 2. <ul><li>You find the single file settings management to be too restrictive </li></ul><ul><li>You have different development, staging and production servers and edit your settings often </li></ul><ul><li>You have a large team of developers who use different settings </li></ul><ul><li>You have an exclusive settings for testing environment </li></ul><ul><li>You are a pony jockey & you want your own saddle </li></ul>
    3. 6. <ul><li>Maintain a global settings file which everyone shares </li></ul><ul><li>Maintain individual settings: </li></ul><ul><ul><li>Different developer settings (e.g. dev1, dev2) </li></ul></ul><ul><ul><li>Different server settings (e.g. local, staging, production) </li></ul></ul>
    4. 7. <ul><li>Define defaults in a base settings file </li></ul><ul><li>Override base settings in individual settings profile to suit developer/ server need </li></ul><ul><li>Define new settings without affecting others </li></ul><ul><li>Protect your settings using a password (e.g. production settings) </li></ul><ul><li>Share your settings or keep it private </li></ul>
    5. 9. <ul><li>Maintain and work on your own database </li></ul><ul><li>Work with multiple databases </li></ul><ul><li>Switch between databases on the fly. Experiment with your models without messing up the db </li></ul><ul><li>Work with different application sets </li></ul><ul><li>Create & test all deployment circumstances </li></ul>
    6. 11. <ul><li>Tareque Hossain, PBS TeacherLine </li></ul><ul><li>Email: [email_address] </li></ul><ul><li>Twitter: @tarequeh </li></ul><ul><li>Details: http://bit.ly/django-config </li></ul>
    1. A particular slide catching your eye?

      Clipping is a handy way to collect important slides you want to go back to later.

    ×