Django applications in Fedora
Dimitris Glezos
dimitris at glezos.com
Mon Mar 2 22:09:28 UTC 2009
On Thu, Feb 26, 2009 at 2:13 AM, David Malcolm <dmalcolm at redhat.com> wrote:
> Has anyone packaged any Django-based web applications as RPMs for
> Fedora?
>
> I noticed that ReviewBoard was being looked at:
> https://fedorahosted.org/fedora-infrastructure/ticket/1196
>
> Are any others in Fedora yet?
>
>
> I'm wondering what the best way of handling configuration (settings.py)
> is.
>
> Normally you would set apache config for say "mysite" [1] to:
>
> SetEnv DJANGO_SETTINGS_MODULE mysite.settings
>
> to get settings from, say, mysite.settings which would
> be /usr/lib/python2.5/site-packages/mysite/settings.py
>
> But since this is a config file, should it be below /etc/ ?
>
> Perhaps mysite.settings in an RPM should be a simple python module that
> looks in /etc/mysite.conf and gets values from there, and that file
> should be %config(noreplace)
Did you happen to have any progress with this?
We're working in packaging Transifex in time for Fedora 11's string
freeze and any input/feedback/reviews would be much appreciated.
https://bugzilla.redhat.com/show_bug.cgi?id=488151
-d
--
Dimitris Glezos
Jabber ID: glezos at jabber.org, GPG: 0xA5A04C3B
http://dimitris.glezos.com/
"He who gives up functionality for ease of use
loses both and deserves neither." (Anonymous)
--
More information about the fedora-devel-list
mailing list