Django applications in Fedora

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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)

Thoughts?
Dave

[1]
http://docs.djangoproject.com/en/dev/topics/settings/#on-the-server-mod-python


-- 
fedora-devel-list mailing list
fedora-devel-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/fedora-devel-list

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Fedora Announce]     [Fedora Kernel]     [Fedora Testing]     [Fedora Formulas]     [Fedora PHP Devel]     [Kernel Development]     [Fedora Legacy]     [Fedora Maintainers]     [Fedora Desktop]     [PAM]     [Red Hat Development]     [Gimp]     [Yosemite News]
  Powered by Linux