Introduction to django-config
Upcoming SlideShare
Loading in...5
×
 

Introduction to django-config

on

  • 3,997 views

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

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

Statistics

Views

Total Views
3,997
Views on SlideShare
3,862
Embed Views
135

Actions

Likes
6
Downloads
80
Comments
3

7 Embeds 135

http://www.codexn.com 98
http://codexn.com 19
http://www.slideshare.net 13
http://lifeaftercoding.com 2
http://www.lifeaftercoding.com 1
http://tarequeh.com 1
http://www.linkedin.com 1
More...

Accessibility

Categories

Upload Details

Uploaded via as Microsoft PowerPoint

Usage Rights

CC Attribution-NonCommercial LicenseCC Attribution-NonCommercial License

Report content

Flagged as inappropriate Flag as inappropriate
Flag as inappropriate

Select your reason for flagging this presentation as inappropriate.

Cancel
  • Full Name Full Name Comment goes here.
    Are you sure you want to
    Your message goes here
    Processing…
Post Comment
Edit your comment
  • 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 Introduction to django-config Presentation Transcript

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