Background Image
Table of Contents Table of Contents
Previous Page  472 / 478 Next Page
Information
Show Menu
Previous Page 472 / 478 Next Page
Page Background

code smell,

59 , 65

,

193

,

301

collectstatic,

127 129

comments,

15

,

86

commits,

18

,

24

,

30 , 110

configuration management tools,

167

(see also Fabric)

context managers,

177

continuous integration (CI),

365 385

,

cdvii

adding required plugins,

368

best practices,

385

configuring Jenkins,

367

debugging with screenshots,

374 378

installing Jenkins,

365

JavaScript tests,

381 384

project setup,

369

Selenium race conditions,

378 381

for staging server test automation,

384

virtual display setup,

372 374

contracts, implicit,

356

cookies,

282

,

304

Cross-Site Request Forgery (CSRF) error,

53

CSS (Cascading Style Sheets) framework,

116 , 118

(see also Bootstrap)

where Bootstrap won’t work,

126

cutting corners,

cdvii

D

data migrations,

428 431

database deployment issues,

132

database location,

141

De-spiking,

251

,

285 293

debugging,

21

,

52

,

249

Ajax,

249

Django debug screen,

146

improving error messages,

57

in continuous integration,

374 378

in JavaScript,

261

staging for,

306 310

switching DEBUG to false,

151

screenshots, for debugging,

374 378

dependencies

and deployment,

132

mocking out,

278

virtualenv,

142

deployment,

411

adjusting database location,

141

automating,

152 155

,

157 166

danger areas,

132

dependencies and,

132

deploying to live,

163

further reading,

166

key points,

155

to live,

237

migrate,

147

Nginx,

144 146

overview,

152

production-ready,

148 152

vs. provisioning,

140

sample script,

158 161

saving progress,

156

staging,

237

,

427

virtualenvs,

142 144

deployment testing,

131 156

domain name for,

135

manual provisioning for hosting,

136 140

overview,

133

design (see layout and style)

Django,

4

admin site,

434

apps,

22

authentication in,

245 248

,

282

class-based views,

413 421

(see also class-based views)

collectstatic,

127 129

custom user model,

293 297

debugging screen,

146

,

151

field types,

64

foreign key relationship,

99

forms in (see forms)

FormView,

414

functional tests (FT) in (see functional tests/

testing (FT))

and Gunicorn,

148

LiveServerTestCase,

77

management commands,

311 314

,

320

migrations,

62 64

,

71 74

,

237

model adjustment in,

97

model-layer validation,

175 187

Model-View-Controller (MVC),

24

notifications,

433

Object-Relational Mapper (ORM),

60 64

POST requests (see POST requests)

as PythonAnywhere app,

410

startproject,

6

static files in,

122

static live server case,

124

template inheritance,

120 121

444

|

Index