Arena  1.0
A content management system
 All Classes Files Functions Variables Pages
Local.Configuration.Site.Data Class Reference

Static Public Attributes

string provider = "DataSource.MySQL.Databases"
 The main data source provider. More...
 
dictionary parameters
 Parameters to pass to the data source provider. More...
 
string password = "password!"
 The password to use when connecting to the data source provider. More...
 

Member Data Documentation

dictionary Local.Configuration.Site.Data.parameters
static
Initial value:
1 = {
2  # The host name or address where the data source is located.
3  "host": "localhost",
4  # The port to use when connecting to the data source
5  "port": 3306,
6  # The user name to use when connecting to the data source.
7  "user": "_web",
8  # The database to use after connecting to the data source.
9  "database": "_arena"
10  }

Parameters to pass to the data source provider.

These parameters will vary, depending upon the data source provider used above. They are passed to the provider when an instance of the class is constructed.

string Local.Configuration.Site.Data.password = "password!"
static

The password to use when connecting to the data source provider.

You should change this, since anyone who views the source for arena will know that the value below is the default password value. For the love of all that is holy, do NOT set up your database such that this password is the one used!

string Local.Configuration.Site.Data.provider = "DataSource.MySQL.Databases"
static

The main data source provider.

This should be either the name of a class which is derived from ADataSource, or a tuple of strings where the first specifies the name of the Python module in which the data source class may be found and the second specifes the name of the class.

This data source is used to determine the content providers to use for each "channel" requested by the client. Content providers may also make use of this data source, or they may use another.


The documentation for this class was generated from the following file: