Warning:
Can't synchronize with repository "(default)" (Unsupported version control system "svn": No module named svn). Look in the Trac log for more information.
| File win.diff,
950 bytes
(added by fredlin, 6 years ago) |
|
|
-
|
|
|
|
| 150 | 150 | |
| 151 | 151 | def config_defaults(): |
| 152 | 152 | current_dir_uri = os.path.abspath(os.getcwd()) |
| 153 | | if not current_dir_uri.startswith("/"): |
| 154 | | current_dir_uri = "/" + current_dir_uri |
| 155 | 153 | defaults = {'current_dir_uri' : current_dir_uri} |
| 156 | 154 | return defaults |
| 157 | 155 | |
-
|
|
|
|
| 28 | 28 | |
| 29 | 29 | # If you have sqlite, here's a simple default to get you started |
| 30 | 30 | # in development |
| 31 | | sqlobject.dburi="sqlite://%(current_dir_uri)s/devdata.sqlite" |
| | 31 | sqlobject.dburi="sqlite:///%(current_dir_uri)s/devdata.sqlite" |
| 32 | 32 | |
| 33 | 33 | |
| 34 | 34 | # if you are using a database or table type without transactions |
Download in other formats: