Wiki
Version 11 (Etienne Pallier, 03/18/2016 10:15 am)
1 | 1 | Etienne Pallier | h1. Technical Documentation for the PYROS project (FGFT-CC) |
---|---|---|---|
2 | 1 | Etienne Pallier | |
3 | 1 | Etienne Pallier | |
4 | 1 | Etienne Pallier | HOWTO Format Redmine Wiki : http://www.redmine.org/projects/redmine/wiki/FrRedmineWikiFormatting |
5 | 1 | Etienne Pallier | |
6 | 1 | Etienne Pallier | {{>toc}} |
7 | 1 | Etienne Pallier | |
8 | 1 | Etienne Pallier | |
9 | 1 | Etienne Pallier | |
10 | 3 | Etienne Pallier | --- |
11 | 1 | Etienne Pallier | |
12 | 3 | Etienne Pallier | h2. %{margin-left:0px; font-weight:bold; font-size:25px; display:block; color:red;}INSTALLATION% |
13 | 2 | Etienne Pallier | |
14 | 2 | Etienne Pallier | |
15 | 1 | Etienne Pallier | |
16 | 6 | Etienne Pallier | h3. Create database |
17 | 1 | Etienne Pallier | |
18 | 3 | Etienne Pallier | One liner: |
19 | 3 | Etienne Pallier | $ mysql -u root < pyros.sql |
20 | 1 | Etienne Pallier | |
21 | 3 | Etienne Pallier | Or : |
22 | 3 | Etienne Pallier | $ mysql -u root |
23 | 3 | Etienne Pallier | mysql> create database pyros; |
24 | 3 | Etienne Pallier | mysql> use pyros; |
25 | 3 | Etienne Pallier | mysql> source pyros.sql; |
26 | 1 | Etienne Pallier | |
27 | 3 | Etienne Pallier | ( |
28 | 3 | Etienne Pallier | TODO: |
29 | 3 | Etienne Pallier | mysql> grant all on pyros.* to pyros@localhost identified by ‘pyros’;) |
30 | 3 | Etienne Pallier | mysql> flush privileges; |
31 | 3 | Etienne Pallier | ) |
32 | 1 | Etienne Pallier | |
33 | 1 | Etienne Pallier | |
34 | 1 | Etienne Pallier | |
35 | 4 | Etienne Pallier | --- |
36 | 5 | Etienne Pallier | |
37 | 6 | Etienne Pallier | h3. Install python3.5 |
38 | 1 | Etienne Pallier | |
39 | 11 | Etienne Pallier | |
40 | 11 | Etienne Pallier | * Mac OS X : |
41 | 11 | Etienne Pallier | |
42 | 3 | Etienne Pallier | $ sudo port install python35 |
43 | 1 | Etienne Pallier | |
44 | 11 | Etienne Pallier | * Linux (Ubuntu) : |
45 | 1 | Etienne Pallier | |
46 | 11 | Etienne Pallier | $ sudo apt-get ... |
47 | 1 | Etienne Pallier | |
48 | 4 | Etienne Pallier | --- |
49 | 5 | Etienne Pallier | |
50 | 8 | Etienne Pallier | h3. Create project dir |
51 | 3 | Etienne Pallier | |
52 | 3 | Etienne Pallier | $ mkdir pyros |
53 | 3 | Etienne Pallier | |
54 | 3 | Etienne Pallier | |
55 | 1 | Etienne Pallier | |
56 | 3 | Etienne Pallier | Exemple de bonne organisation : |
57 | 1 | Etienne Pallier | |
58 | 3 | Etienne Pallier | 1 projet = N applis |
59 | 3 | Etienne Pallier | (mais 1 appli peut faire partie de plusieurs projets) |
60 | 1 | Etienne Pallier | |
61 | 3 | Etienne Pallier | MONPROJET/ |
62 | 3 | Etienne Pallier | src/ |
63 | 3 | Etienne Pallier | monprojet/ |
64 | 3 | Etienne Pallier | appli1 |
65 | 3 | Etienne Pallier | appli2 |
66 | 3 | Etienne Pallier | … |
67 | 3 | Etienne Pallier | appliN |
68 | 3 | Etienne Pallier | public/ |
69 | 3 | Etienne Pallier | private/ |
70 | 3 | Etienne Pallier | requirements.txt |
71 | 1 | Etienne Pallier | |
72 | 1 | Etienne Pallier | |
73 | 1 | Etienne Pallier | |
74 | 4 | Etienne Pallier | --- |
75 | 5 | Etienne Pallier | |
76 | 7 | Etienne Pallier | h3. Set needed folders (inside pyros/) |
77 | 1 | Etienne Pallier | |
78 | 3 | Etienne Pallier | $ mkdir private public |
79 | 3 | Etienne Pallier | $ mkdir public/static |
80 | 1 | Etienne Pallier | |
81 | 1 | Etienne Pallier | |
82 | 1 | Etienne Pallier | |
83 | 4 | Etienne Pallier | --- |
84 | 5 | Etienne Pallier | |
85 | 9 | Etienne Pallier | h3. Create virtualenv with python3.4 dedicated to pyros project |
86 | 3 | Etienne Pallier | |
87 | 3 | Etienne Pallier | $ cd pyros/ |
88 | 3 | Etienne Pallier | |
89 | 3 | Etienne Pallier | $ which python3.5 |
90 | 3 | Etienne Pallier | /opt/local/bin/python3.5 |
91 | 3 | Etienne Pallier | |
92 | 3 | Etienne Pallier | $ virtualenv-3.4 venv_py35_pyros -p /opt/local/bin/python3.5 |
93 | 3 | Etienne Pallier | => creates a venv_py35_pyros/ folder inside pyros/ |
94 | 3 | Etienne Pallier | |
95 | 1 | Etienne Pallier | |
96 | 1 | Etienne Pallier | |
97 | 7 | Etienne Pallier | --- |
98 | 3 | Etienne Pallier | |
99 | 7 | Etienne Pallier | h3. Activate venv and install needed python packages |
100 | 7 | Etienne Pallier | |
101 | 3 | Etienne Pallier | $ source venv_py35_pyros/bin/activate |
102 | 3 | Etienne Pallier | |
103 | 3 | Etienne Pallier | $ python -V |
104 | 3 | Etienne Pallier | Python 3.5.1 |
105 | 3 | Etienne Pallier | |
106 | 3 | Etienne Pallier | $ which pip |
107 | 3 | Etienne Pallier | …/pyros/venv_py35_pyros/bin/pip |
108 | 3 | Etienne Pallier | |
109 | 3 | Etienne Pallier | $ pip install --upgrade pip |
110 | 3 | Etienne Pallier | Collecting pip |
111 | 3 | Etienne Pallier | Downloading pip-8.1.1-py2.py3-none-any.whl (1.2MB) |
112 | 3 | Etienne Pallier | Installing collected packages: pip |
113 | 3 | Etienne Pallier | Found existing installation: pip 7.1.2 |
114 | 3 | Etienne Pallier | Uninstalling pip-7.1.2: |
115 | 3 | Etienne Pallier | Successfully uninstalled pip-7.1.2 |
116 | 3 | Etienne Pallier | Successfully installed pip-8.1.1 |
117 | 3 | Etienne Pallier | |
118 | 3 | Etienne Pallier | $ pip install django |
119 | 3 | Etienne Pallier | Collecting django |
120 | 3 | Etienne Pallier | Downloading Django-1.9.4-py2.py3-none-any.whl (6.6MB) |
121 | 3 | Etienne Pallier | Installing collected packages: django |
122 | 3 | Etienne Pallier | Successfully installed django-1.9.4 |
123 | 3 | Etienne Pallier | |
124 | 3 | Etienne Pallier | $ pip install --upgrade django |
125 | 3 | Etienne Pallier | Requirement already up-to-date: django in ./venv_py35_pyros/lib/python3.5/site-packages |
126 | 3 | Etienne Pallier | |
127 | 3 | Etienne Pallier | $ pip install django-admin-tools |
128 | 3 | Etienne Pallier | Collecting django-admin-tools |
129 | 3 | Etienne Pallier | Downloading django_admin_tools-0.7.2-py2.py3-none-any.whl (289kB) |
130 | 3 | Etienne Pallier | Installing collected packages: django-admin-tools |
131 | 3 | Etienne Pallier | Successfully installed django-admin-tools-0.7.2 |
132 | 3 | Etienne Pallier | |
133 | 3 | Etienne Pallier | $ pip install gunicorn |
134 | 3 | Etienne Pallier | Collecting gunicorn |
135 | 3 | Etienne Pallier | Downloading gunicorn-19.4.5-py2.py3-none-any.whl (112kB) |
136 | 3 | Etienne Pallier | Installing collected packages: gunicorn |
137 | 3 | Etienne Pallier | Successfully installed gunicorn-19.4.5 |
138 | 3 | Etienne Pallier | |
139 | 3 | Etienne Pallier | $ pip install mysqlclient |
140 | 3 | Etienne Pallier | Collecting mysqlclient |
141 | 3 | Etienne Pallier | Downloading mysqlclient-1.3.7.tar.gz (79kB) |
142 | 3 | Etienne Pallier | Building wheels for collected packages: mysqlclient |
143 | 3 | Etienne Pallier | Running setup.py bdist_wheel for mysqlclient ... error |
144 | 3 | Etienne Pallier | … |
145 | 3 | Etienne Pallier | ---------------------------------------- |
146 | 3 | Etienne Pallier | Failed building wheel for mysqlclient |
147 | 3 | Etienne Pallier | Running setup.py clean for mysqlclient |
148 | 3 | Etienne Pallier | Failed to build mysqlclient |
149 | 3 | Etienne Pallier | Installing collected packages: mysqlclient |
150 | 3 | Etienne Pallier | Running setup.py install for mysqlclient ... done |
151 | 3 | Etienne Pallier | Successfully installed mysqlclient-1.3.7 |
152 | 3 | Etienne Pallier | |
153 | 3 | Etienne Pallier | BOUH !!! |
154 | 3 | Etienne Pallier | |
155 | 3 | Etienne Pallier | $ pip install --upgrade wheel |
156 | 3 | Etienne Pallier | Collecting wheel |
157 | 3 | Etienne Pallier | Downloading wheel-0.29.0-py2.py3-none-any.whl (66kB) |
158 | 3 | Etienne Pallier | Installing collected packages: wheel |
159 | 3 | Etienne Pallier | Found existing installation: wheel 0.24.0 |
160 | 3 | Etienne Pallier | Uninstalling wheel-0.24.0: |
161 | 3 | Etienne Pallier | Successfully uninstalled wheel-0.24.0 |
162 | 3 | Etienne Pallier | Successfully installed wheel-0.29.0 |
163 | 3 | Etienne Pallier | |
164 | 3 | Etienne Pallier | $ pip uninstall mysqlclient |
165 | 3 | Etienne Pallier | |
166 | 3 | Etienne Pallier | $ pip install mysqlclient |
167 | 3 | Etienne Pallier | Collecting mysqlclient |
168 | 3 | Etienne Pallier | Using cached mysqlclient-1.3.7.tar.gz |
169 | 3 | Etienne Pallier | Building wheels for collected packages: mysqlclient |
170 | 3 | Etienne Pallier | Running setup.py bdist_wheel for mysqlclient ... done |
171 | 3 | Etienne Pallier | Stored in directory: /Users/epallier/Library/Caches/pip/wheels/9b/06/50/d11418c26cf8f2156b13d4363b5afde8e7e75ebb8540d0228d |
172 | 3 | Etienne Pallier | Successfully built mysqlclient |
173 | 3 | Etienne Pallier | Installing collected packages: mysqlclient |
174 | 3 | Etienne Pallier | Successfully installed mysqlclient-1.3.7 |
175 | 3 | Etienne Pallier | |
176 | 3 | Etienne Pallier | YES !!! |
177 | 3 | Etienne Pallier | |
178 | 3 | Etienne Pallier | |
179 | 3 | Etienne Pallier | |
180 | 3 | Etienne Pallier | $ pip install django-debug-toolbar |
181 | 3 | Etienne Pallier | Collecting django-debug-toolbar |
182 | 3 | Etienne Pallier | Downloading django_debug_toolbar-1.4-py2.py3-none-any.whl (212kB) |
183 | 3 | Etienne Pallier | Requirement already satisfied (use --upgrade to upgrade): Django>=1.7 in ./venv_py35_pyros/lib/python3.5/site-packages (from django-debug-toolbar) |
184 | 3 | Etienne Pallier | Collecting sqlparse (from django-debug-toolbar) |
185 | 3 | Etienne Pallier | Downloading sqlparse-0.1.19.tar.gz (58kB) |
186 | 3 | Etienne Pallier | Building wheels for collected packages: sqlparse |
187 | 3 | Etienne Pallier | Running setup.py bdist_wheel for sqlparse ... done |
188 | 3 | Etienne Pallier | Stored in directory: /Users/epallier/Library/Caches/pip/wheels/7b/d4/72/6011bb100dd5fc213164e4bbee13d4e03261dd54ce6a5de6b8 |
189 | 3 | Etienne Pallier | Successfully built sqlparse |
190 | 3 | Etienne Pallier | Installing collected packages: sqlparse, django-debug-toolbar |
191 | 3 | Etienne Pallier | Successfully installed django-debug-toolbar-1.4 sqlparse-0.1.19 |
192 | 3 | Etienne Pallier | |
193 | 3 | Etienne Pallier | $ pip install django-extensions |
194 | 3 | Etienne Pallier | Collecting django-extensions |
195 | 3 | Etienne Pallier | Downloading django_extensions-1.6.1-py2.py3-none-any.whl (202kB) |
196 | 3 | Etienne Pallier | Collecting six>=1.2 (from django-extensions) |
197 | 3 | Etienne Pallier | Downloading six-1.10.0-py2.py3-none-any.whl |
198 | 3 | Etienne Pallier | Installing collected packages: six, django-extensions |
199 | 3 | Etienne Pallier | Successfully installed django-extensions-1.6.1 six-1.10.0 |
200 | 3 | Etienne Pallier | |
201 | 3 | Etienne Pallier | $ pip install django-suit |
202 | 3 | Etienne Pallier | Collecting django-suit |
203 | 3 | Etienne Pallier | Downloading django-suit-0.2.18.tar.gz (587kB) |
204 | 3 | Etienne Pallier | Building wheels for collected packages: django-suit |
205 | 3 | Etienne Pallier | Running setup.py bdist_wheel for django-suit ... done |
206 | 3 | Etienne Pallier | Stored in directory: /Users/epallier/Library/Caches/pip/wheels/12/8b/9a/e02ab0ad9229881638aa040d47d77c8f562999533811927d41 |
207 | 3 | Etienne Pallier | Successfully built django-suit |
208 | 1 | Etienne Pallier | Installing collected packages: django-suit |
209 | 3 | Etienne Pallier | Successfully installed django-suit-0.2.18 |
210 | 1 | Etienne Pallier | |
211 | 1 | Etienne Pallier | |
212 | 3 | Etienne Pallier | |
213 | 7 | Etienne Pallier | --- |
214 | 3 | Etienne Pallier | |
215 | 7 | Etienne Pallier | h3. Create django project pyros |
216 | 7 | Etienne Pallier | |
217 | 3 | Etienne Pallier | $ django-admin startproject pyros |
218 | 3 | Etienne Pallier | |
219 | 3 | Etienne Pallier | $ tree pyros/ |
220 | 3 | Etienne Pallier | pyros/ |
221 | 3 | Etienne Pallier | ├── manage.py |
222 | 3 | Etienne Pallier | └── pyros |
223 | 3 | Etienne Pallier | ├── __init__.py |
224 | 3 | Etienne Pallier | ├── settings.py |
225 | 3 | Etienne Pallier | ├── urls.py |
226 | 3 | Etienne Pallier | └── wsgi.py |
227 | 3 | Etienne Pallier | |
228 | 3 | Etienne Pallier | |
229 | 3 | Etienne Pallier | $ mv pyros src |
230 | 3 | Etienne Pallier | |
231 | 3 | Etienne Pallier | $ cd src/ |
232 | 3 | Etienne Pallier | |
233 | 1 | Etienne Pallier | $ ./manage.py runserver |
234 | 3 | Etienne Pallier | (ou gunicorn pyros.wsgi) |
235 | 1 | Etienne Pallier | ==> http://localhost:8000 |
236 | 1 | Etienne Pallier | |
237 | 3 | Etienne Pallier | |
238 | 3 | Etienne Pallier | |
239 | 7 | Etienne Pallier | --- |
240 | 3 | Etienne Pallier | |
241 | 7 | Etienne Pallier | h3. Set Database mysql |
242 | 7 | Etienne Pallier | |
243 | 3 | Etienne Pallier | Edit src/pyros/settings.py |
244 | 3 | Etienne Pallier | |
245 | 3 | Etienne Pallier | DATABASES = { |
246 | 3 | Etienne Pallier | 'default': { |
247 | 3 | Etienne Pallier | 'ENGINE': 'django.db.backends.mysql', |
248 | 1 | Etienne Pallier | 'NAME': 'pyros', |
249 | 3 | Etienne Pallier | 'USER': 'root', |
250 | 1 | Etienne Pallier | 'PASSWORD': '' |
251 | 1 | Etienne Pallier | } |
252 | 3 | Etienne Pallier | } |
253 | 3 | Etienne Pallier | |
254 | 3 | Etienne Pallier | |
255 | 7 | Etienne Pallier | --- |
256 | 3 | Etienne Pallier | |
257 | 7 | Etienne Pallier | h3. Import database into django |
258 | 7 | Etienne Pallier | |
259 | 3 | Etienne Pallier | cd src/ |
260 | 3 | Etienne Pallier | |
261 | 3 | Etienne Pallier | $ ./manage.py inspectdb > models.py |
262 | 3 | Etienne Pallier | |
263 | 3 | Etienne Pallier | Traceback (most recent call last): |
264 | 3 | Etienne Pallier | File "/Users/epallier/Documents/_W_more/PROJECTS/GFT/SOFT/PYROS/pyros/venv_py35_pyros/lib/python3.5/site-packages/django/db/backends/mysql/base.py", line 25, in <module> |
265 | 3 | Etienne Pallier | import MySQLdb as Database |
266 | 3 | Etienne Pallier | File "/Users/epallier/Documents/_W_more/PROJECTS/GFT/SOFT/PYROS/pyros/venv_py35_pyros/lib/python3.5/site-packages/MySQLdb/__init__.py", line 19, in <module> |
267 | 3 | Etienne Pallier | import _mysql |
268 | 3 | Etienne Pallier | ImportError: dlopen(/Users/epallier/Documents/_W_more/PROJECTS/GFT/SOFT/PYROS/pyros/venv_py35_pyros/lib/python3.5/site-packages/_mysql.cpython-35m-darwin.so, 2): Library not loaded: libmysqlclient.18.dylib |
269 | 3 | Etienne Pallier | Referenced from: /Users/epallier/Documents/_W_more/PROJECTS/GFT/SOFT/PYROS/pyros/venv_py35_pyros/lib/python3.5/site-packages/_mysql.cpython-35m-darwin.so |
270 | 3 | Etienne Pallier | Reason: image not found |
271 | 3 | Etienne Pallier | |
272 | 3 | Etienne Pallier | => BOUH !!! |
273 | 3 | Etienne Pallier | |
274 | 3 | Etienne Pallier | LA SOLUTION EST ICI : http://stackoverflow.com/questions/6383310/python-mysqldb-library-not-loaded-libmysqlclient-18-dylib |
275 | 3 | Etienne Pallier | |
276 | 3 | Etienne Pallier | ( |
277 | 3 | Etienne Pallier | Apparemment, ceci aurait dû suffire: |
278 | 3 | Etienne Pallier | mkdir -p /usr/local/lib |
279 | 3 | Etienne Pallier | ln -s /usr/local/mysql/lib/libmysql* /usr/local/lib |
280 | 3 | Etienne Pallier | ) |
281 | 3 | Etienne Pallier | |
282 | 3 | Etienne Pallier | |
283 | 3 | Etienne Pallier | Mais j’ai fait ceci: |
284 | 3 | Etienne Pallier | |
285 | 3 | Etienne Pallier | $ otool -L /Users/epallier/Documents/_W_more/PROJECTS/GFT/SOFT/PYROS/pyros/venv_py35_pyros/lib/python3.5/site-packages/_mysql.cpython-35m-darwin.so |
286 | 3 | Etienne Pallier | /Users/epallier/Documents/_W_more/PROJECTS/GFT/SOFT/PYROS/pyros/venv_py35_pyros/lib/python3.5/site-packages/_mysql.cpython-35m-darwin.so: |
287 | 1 | Etienne Pallier | libmysqlclient.18.dylib (compatibility version 18.0.0, current version 18.0.0) |
288 | 10 | Etienne Pallier | ... |
289 | 3 | Etienne Pallier | |
290 | 3 | Etienne Pallier | $ locate libmysqlclient.18.dylib |
291 | 3 | Etienne Pallier | /Applications/XAMPP/xamppfiles/lib/libmysqlclient.18.dylib |
292 | 1 | Etienne Pallier | /Library/SystemMigration/History/Migration-68137DFB-CB6A-4FBB-81E2-11BDB5D01E48/QuarantineRoot/usr/lib/libmysqlclient.18.dylib |
293 | 1 | Etienne Pallier | |
294 | 1 | Etienne Pallier | $ sudo install_name_tool -change libmysqlclient.18.dylib /Applications/XAMPP/xamppfiles/lib/libmysqlclient.18.dylib /Users/epallier/Documents/_W_more/PROJECTS/GFT/SOFT/PYROS/pyros/venv_py35_pyros/lib/python3.5/site-packages/_mysql.cpython-35m-darwin.so |
295 | 1 | Etienne Pallier | |
296 | 10 | Etienne Pallier | $ otool -L /Users/epallier/Documents/_W_more/PROJECTS/GFT/SOFT/PYROS/pyros/venv_py35_pyros/lib/python3.5/site-packages/_mysql.cpython-35m-darwin.so |
297 | 10 | Etienne Pallier | /Users/epallier/Documents/_W_more/PROJECTS/GFT/SOFT/PYROS/pyros/venv_py35_pyros/lib/python3.5/site-packages/_mysql.cpython-35m-darwin.so: |
298 | 10 | Etienne Pallier | /Applications/XAMPP/xamppfiles/lib/libmysqlclient.18.dylib (compatibility version 18.0.0, current version 18.0.0) |
299 | 10 | Etienne Pallier | ... |
300 | 3 | Etienne Pallier | |
301 | 1 | Etienne Pallier | $ ./manage.py inspectdb > models.py |
302 | 1 | Etienne Pallier | |
303 | 3 | Etienne Pallier | => YES !!! |
304 | 3 | Etienne Pallier | |
305 | 3 | Etienne Pallier | |
306 | 3 | Etienne Pallier | |
307 | 7 | Etienne Pallier | --- |
308 | 3 | Etienne Pallier | |
309 | 7 | Etienne Pallier | h3. Create a django application pyrosapp |
310 | 7 | Etienne Pallier | |
311 | 3 | Etienne Pallier | $ ./manage.py startapp pyrosapp |
312 | 3 | Etienne Pallier | |
313 | 3 | Etienne Pallier | $ tree src |
314 | 3 | Etienne Pallier | src |
315 | 3 | Etienne Pallier | ├── db.sqlite3 |
316 | 3 | Etienne Pallier | ├── manage.py |
317 | 3 | Etienne Pallier | ├── pyros |
318 | 3 | Etienne Pallier | │ ├── __init__.py |
319 | 3 | Etienne Pallier | │ ├── __pycache__ |
320 | 3 | Etienne Pallier | │ │ ├── __init__.cpython-35.pyc |
321 | 3 | Etienne Pallier | │ │ ├── settings.cpython-35.pyc |
322 | 3 | Etienne Pallier | │ │ ├── urls.cpython-35.pyc |
323 | 3 | Etienne Pallier | │ │ └── wsgi.cpython-35.pyc |
324 | 3 | Etienne Pallier | │ ├── settings.py |
325 | 3 | Etienne Pallier | │ ├── urls.py |
326 | 3 | Etienne Pallier | │ └── wsgi.py |
327 | 3 | Etienne Pallier | └── pyrosapp |
328 | 3 | Etienne Pallier | ├── __init__.py |
329 | 1 | Etienne Pallier | ├── admin.py |
330 | 3 | Etienne Pallier | ├── apps.py |
331 | 1 | Etienne Pallier | ├── migrations |
332 | 1 | Etienne Pallier | │ └── __init__.py |
333 | 3 | Etienne Pallier | ├── models.py |
334 | 3 | Etienne Pallier | ├── tests.py |
335 | 3 | Etienne Pallier | └── views.py |
336 | 1 | Etienne Pallier | |
337 | 1 | Etienne Pallier | |
338 | 7 | Etienne Pallier | --- |
339 | 1 | Etienne Pallier | |
340 | 7 | Etienne Pallier | h3. Replace the default pyrosapp models.py with the inspectdb generated one |
341 | 7 | Etienne Pallier | |
342 | 3 | Etienne Pallier | $ mv models.py pyrosapp/ |
343 | 3 | Etienne Pallier | |
344 | 3 | Etienne Pallier | |
345 | 3 | Etienne Pallier | |
346 | 3 | Etienne Pallier | |
347 | 7 | Etienne Pallier | |
348 | 1 | Etienne Pallier | --- |
349 | 9 | Etienne Pallier | |
350 | 7 | Etienne Pallier | *TODO* |
351 | 7 | Etienne Pallier | |
352 | 7 | Etienne Pallier | h3. Fix and improve the inspectdb generated file models.py |
353 | 3 | Etienne Pallier | |
354 | 3 | Etienne Pallier | $ cd pyrosapp/ |
355 | 3 | Etienne Pallier | |
356 | 8 | Etienne Pallier | $ vi models.py |