The definitive guide to Django: Web development done right ; [Django is a framework that saves you time and makes Web development a joy]
Provides information on using the Python-based framework to create Web sites
Gespeichert in:
Hauptverfasser: | , |
---|---|
Format: | Buch |
Sprache: | English |
Veröffentlicht: |
Berkeley, Calif.
Apress [u.a.]
2008
|
Schriftenreihe: | The expert's voice in Web development
|
Schlagworte: | |
Online-Zugang: | Inhaltsverzeichnis Inhaltsverzeichnis |
Zusammenfassung: | Provides information on using the Python-based framework to create Web sites |
Beschreibung: | XXXII, 447 S. Ill., graph. Darst. |
ISBN: | 1590597257 9781590597255 |
Internformat
MARC
LEADER | 00000nam a2200000 c 4500 | ||
---|---|---|---|
001 | BV035323674 | ||
003 | DE-604 | ||
005 | 00000000000000.0 | ||
007 | t | ||
008 | 090219s2008 ad|| |||| 00||| eng d | ||
010 | |a 2008297303 | ||
020 | |a 1590597257 |c (pbk.) : 44,99 |9 1-590-59725-7 | ||
020 | |a 9781590597255 |c (pbk.) : 44,99 |9 978-1-590-59725-5 | ||
035 | |a (OCoLC)255444586 | ||
035 | |a (DE-599)GBV516012363 | ||
040 | |a DE-604 |b ger | ||
041 | 0 | |a eng | |
049 | |a DE-29T |a DE-11 | ||
050 | 0 | |a TK5105.888 | |
082 | 0 | |a 006.78 | |
082 | 0 | |a 006.76 | |
084 | |a ST 253 |0 (DE-625)143628: |2 rvk | ||
100 | 1 | |a Holovaty, Adrian |e Verfasser |4 aut | |
245 | 1 | 0 | |a The definitive guide to Django |b Web development done right ; [Django is a framework that saves you time and makes Web development a joy] |c Adrian Holovaty and Jacob Kaplan-Moss |
264 | 1 | |a Berkeley, Calif. |b Apress [u.a.] |c 2008 | |
300 | |a XXXII, 447 S. |b Ill., graph. Darst. | ||
336 | |b txt |2 rdacontent | ||
337 | |b n |2 rdamedia | ||
338 | |b nc |2 rdacarrier | ||
490 | 0 | |a The expert's voice in Web development | |
520 | 8 | |a Provides information on using the Python-based framework to create Web sites | |
650 | 0 | |a Web sites / Authoring programs | |
650 | 0 | |a Python (Computer program language) | |
650 | 0 | |a Web sites / Design / sears | |
650 | 0 | |a Python (Computer language) / sears | |
650 | 7 | |a Python (Computer language) |2 sears | |
650 | 4 | |a Python (Computer program language) | |
650 | 4 | |a Web sites |x Authoring programs | |
650 | 7 | |a Web sites |x Design. |2 sears | |
650 | 0 | 7 | |a Softwareproduktionsumgebung |0 (DE-588)4138444-1 |2 gnd |9 rswk-swf |
650 | 0 | 7 | |a Dynamische Web-Seite |0 (DE-588)4481830-0 |2 gnd |9 rswk-swf |
650 | 0 | 7 | |a Django |g Informatik |0 (DE-588)7858725-6 |2 gnd |9 rswk-swf |
650 | 0 | 7 | |a Gestaltung |0 (DE-588)4157139-3 |2 gnd |9 rswk-swf |
689 | 0 | 0 | |a Dynamische Web-Seite |0 (DE-588)4481830-0 |D s |
689 | 0 | 1 | |a Gestaltung |0 (DE-588)4157139-3 |D s |
689 | 0 | 2 | |a Softwareproduktionsumgebung |0 (DE-588)4138444-1 |D s |
689 | 0 | |5 DE-604 | |
689 | 1 | 0 | |a Django |g Informatik |0 (DE-588)7858725-6 |D s |
689 | 1 | |8 1\p |5 DE-604 | |
700 | 1 | |a Kaplan-Moss, Jacob |e Verfasser |4 aut | |
856 | 4 | |m DE-601 |q pdf/application |u http://www.gbv.de/dms/bowker/toc/9781590597255.pdf |3 Inhaltsverzeichnis | |
856 | 4 | 2 | |m HBZ Datenaustausch |q application/pdf |u http://bvbr.bib-bvb.de:8991/F?func=service&doc_library=BVB01&local_base=BVB01&doc_number=017128204&sequence=000002&line_number=0001&func_code=DB_RECORDS&service_type=MEDIA |3 Inhaltsverzeichnis |
999 | |a oai:aleph.bib-bvb.de:BVB01-017128204 | ||
883 | 1 | |8 1\p |a cgwrk |d 20201028 |q DE-101 |u https://d-nb.info/provenance/plan#cgwrk |
Datensatz im Suchindex
_version_ | 1804138633269084160 |
---|---|
adam_text | Contents
About the Authors...............................................................xxvü
About the Technical Reviewer....................................................xxvüi
Acknowledgments...............................................................xxix
Introduction.....................................................................xxxi
PART1 Getting Started
ECHAPTER1 Introduction to Django.......................................3
What Is a Web Framework?........................................3
The MVC Design Pattern..........................................5
Django s History..................................................6
How to Read This Book............................................7
Required Programming Knowledge............................8
Required Python Knowledge..................................8
New Django Features........................................8
Getting Help................................................9
What s Next?....................................................9
BCHAPTER 2 Getting Started..............................................11
Installing Python................................................11
Installing Django................................................11
Installing an Official Release.................................11
Installing Django from Subversion............................12
Setting Up a Database...........................................13
Using Django with PostgreSQL...............................13
Using Django with SQLite 3..................................14
Using Django with MySQL...................................14
Using Django Without a Database.............................14
Starting a Project................................................14
The Development Server....................................15
What s Next?...................................................16
vii
viii
¦CONTENTS
KHAPTER 3 The Basics of Dynamic Web Pages........................17
Your First View: Dynamic Content..................................17
Mapping URLs to Views..........................................18
How Django Processes a Request.................................21
How Django Processes a Request: Complete Details............22
URLconfs and Loose Coupling.....................................23
404 Errors......................................................23
Your Second View: Dynamic URLs.................................24
A Word About Pretty URLs...................................25
Wildcard URLpatterns.......................................25
Django s Pretty Error Pages.......................................28
What s Next?...................................................30
KHAPTER 4 The Django Template System..............................31
Template System Basics.........................................31
Using the Template System.......................................33
Creating Template Objects...................................33
Rendering a Template.......................................34
Multiple Contexts, Same Template............................36
Context Variable Lookup.....................................37
Playing with Context Objects.................................40
Basic Template Tags and Filters...................................40
Tags......................................................40
Filters.....................................................46
Philosophies and Limitations......................................47
Using Templates in Views.........................................48
Template Loading...............................................49
render_to_responseO.......................................52
The localsO Trick...........................................53
Subdirectories in getJemplateO..............................53
The include Template Tag....................................54
Template Inheritance............................................54
What s Next?...................................................58
iCHAPTER 5 Interacting with a Database: Models......................59
The Dumb Way to Do Database Queries in Views..................59
The MTV Development Pattern....................................60
Configuring the Database.........................................62
Your First App...................................................64
^CONTENTS
[CHAPTER 6
ICHAPTER 7
Defining Models in Python........................................65
Your First Model.................................................66
Installing the Model..............................................68
Basic Data Access...............................................71
Adding Model String Representations..............................72
Inserting and Updating Data......................................73
Selecting Objects................................................74
Filtering Data..............................................75
Retrieving Single Objects....................................76
Ordering Data..............................................76
Chaining Lookups..........................................77
Slicing Data................................................78
Deleting Objects.................................................78
Making Changes to a Database Schema............................79
Adding Fields..............................................79
Removing Fields............................................81
Removing Many-to-Many Fields..............................82
Removing Models..........................................82
What s Next?...................................................82
The Django Administration Site............................83
Activating the Admin Interface....................................83
Using the Admin Interface........................................85
Users, Groups, and Permissions..............................90
Customizing the Admin Interface..................................91
Customizing the Admin Interface s Look and Feel....................93
Customizing the Admin Index Page................................93
When and Why to Use the Admin Interface..........................94
What s Next?...................................................94
Form Processing............................................95
Search.........................................................95
The Perfect Form ..............................................98
Creating a Feedback Form........................................98
Processing the Submission......................................101
Custom Validation Rules.........................................103
A Custom Look and Feel.........................................103
Creating Forms from Models.....................................105
What s Next?..................................................106
CONTENTS
iCHAPTER 8 Advanced Views and URLconfs...........................107
URLconf Tricks.................................................107
Streamlining Function Imports..............................107
Using Multiple View Prefixes................................109
Special-Casing URLs in Debug Mode.........................109
Using Named Groups......................................no
Understanding the Matching/Grouping Algorithm..............112
Passing Extra Options to View Functions......................112
Using Default View Arguments..............................117
Special-Casing Views......................................H8
Capturing Text in URLs.....................................119
Determining What the URLconf Searches Against..............119
Including Other URLconfs........................................120
How Captured Parameters Work with includeO................121
How Extra URLconf Options Work with includeO...............121
What s Next?..................................................122
PART 2 Django s Subframeworks
tCHAPTER 9 Generic Views..............................................125
Using Generic Views............................................125
Generic Views of Objects........................................127
Extending Generic Views........................................128
Making Friendly Template Contexts........................128
Adding Extra Context.......................................129
Viewing Subsets of Objects.................................130
Complex Filtering with Wrapper Functions....................131
Performing Extra Work.................. .......131
What s Next?..................................................133
ICHAPTER 10 Extending the Template Engine...........................135
Template Language Review......................................135
RequestContext and Context Processors...........................136
django.core.contexLprocessors.auth........................140
django.core.contexLprocessors.debug.......................140
django.core.contexLprocessors.iiSn........................140
django.core.contexLprocessors.request......................141
Guidelines for Writing Your Own Context Processors............141
KONTENTS
Inside Template Loading.........................................141
Extending the Template System..................................142
Creating a Template Library.................................142
Writing Custom Template Filters.............................144
Writing Custom Template Tags..............................145
Shortcut for Simple Tags...................................150
Inclusion Tags.............................................151
Writing Custom Template Loaders................................152
Using the Built-in Template Reference............................154
Configuring the Template System in Standalone Mode..............154
What s Next?..................................................155
IKHAPTER 11 Generating Non-HTML Content............................157
The Basics: Views and MIMETypes...............................157
Producing CSV.................................................158
Generating PDFs...............................................159
Installing ReportLab........................................I60
Writing Your View..........................................160
Complex PDFs............................................161
Other Possibilities..............................................162
The Syndication Feed Framework................................162
Initialization...............................................163
A Simple Feed............................................164
A More Complex Feed......................................165
Specifying the Type of Feed.................................167
Enclosures................................................167
Language................................................168
URLs.....................................................168
Publishing Atom and RSS Feeds in Tandem...................168
The Sitemap Framework........................................169
Installation................................................169
Initialization...............................................170
Sitemap Classes..........................................170
Shortcuts.................................................171
Creating a Sitemap Index...................................172
Pinging Google............................................173
What s Next?..................................................174
Xii ECONTENTS
BHAPTER12 Sessions, Users, and Registration........................175
Cookies.......................................................175
Getting and Setting Cookies.................................176
The Mixed Blessing of Cookies..............................177
Django s Session Framework....................................178
Enabling Sessions.........................................178
Using Sessions in Views....................................179
Setting Test Cookies.......................................I80
Using Sessions Outside of Views.............................I8I
When Sessions Are Saved..................................I8I
Browser-Length Sessions vs. Persistent Sessions..............182
Other Session Settings.....................................182
Users and Authentication........................................183
Enabling Authentication Support.............................184
Using Users...............................................184
Logging In and Out........................................186
Limiting Access to Logged-in Users..........................I88
Limiting Access to Users Who Pass a Test.....................189
Managing Users, Permissions, and Groups....................190
Using Authentication Data in Templates......................193
The Other Bits: Permissions, Groups, Messages, and Profiles.........193
Permissions..............................................193
Groups...................................................194
Messages................................................195
Profiles...................................................196
What s Next?..................................................196
[CHAPTER 13 Caching.
.197
Setting Up the Cache...........................................198
Memcached..............................................198
Database Caching.........................................199
Filesystem Caching........................................199
Local-Memory Caching.....................................200
Simple Caching (for Development)...........................200
Dummy Caching (for Development)..........................200
CACHE_BACKEND Arguments...............................200
The Per-Site Cache.............................................201
The Per-View Cache............................................202
Specifying Per-View Cache in the URLconf....................203
ÎCONTENTS xiii
The Low-Level Cache API.......................................203
Upstream Caches..............................................204
Using Vary Headers........................................205
Other Cache Headers......................................207
Other Optimizations.............................................208
Order of MIDDLEWARE_CLASSES................................208
What s Next?..................................................208
CHAPTER 14 Other Contributed Subframeworks.......................20g
The Django Standard Library.....................................209
Sites..........................................................210
Scenario 1 : Reusing Data on Multiple Sites...................210
Scenario 2: Storing Your Site Name/Domain in One Place.......211
How to Use the Sites Framework............................211
The Sites Framework s Capabilities..........................212
CurrentSiteManager.......................................215
How Django Uses the Sites Framework.......................216
Flatpages.....................................................216
Using Flatpages...........................................217
Adding, Changing, and Deleting Flatpages....................218
Using Flatpage Templates..................................219
Redirects......................................................219
Using the Redirects Framework.............................220
Adding, Changing, and Deleting Redirects....................220
CSRF Protection................................................221
A Simple CSRF Example....................................221
A More Complex CSRF Example.............................221
Preventing CSRF..........................................222
Form Tools....................................................223
django.contrib.formtools.preview............................223
Using FormPreview........................................224
Humanizing Data...............................................225
apnumber................................................225
intcomma................................................225
intword...................................................225
ordinal...................................................226
Markup Filters.................................................226
What s Next?..................................................226
xiv BCONTENTS
¦CHAPTER 15 Middleware.................................................227
What s Middleware?............................................227
Middleware Installation.........................................228
Middleware Methods...........................................229
Initializer:__init__(self)....................................229
Request Preprocessor: process_request(self, request)..........229
View Preprocessor:
process_view(self, request, view, args, kwargs).............229
Response Postprocessor:
process_response(self, request, response).................230
Exception Postprocessor:
process_exception(self, request, exception)................230
Built-in Middleware.............................................230
Authentication Support Middleware..........................231
Common Middleware....................................231
Compression Middleware...................................232
Conditional GET Middleware................................232
Reverse Proxy Support (X-Forwarded-For Middleware).........232
Session Support Middleware................................232
Sitewide Cache Middleware.................................233
Transaction Middleware....................................233
X-View Middleware......................................233
What s Next?..................................................233
[CHAPTER 16 Integrating with Legacy Databases
and Applications...........................................235
Integrating with a Legacy Database...............................235
Using inspectdb...........................................235
Cleaning Up Generated Models..............................236
Integrating with an Authentication System.........................237
Specifying Authentication Back-Ends.........................237
Writing an Authentication Back-End..........................237
Integrating with Legacy Web Applications..........................239
What s Next?..................................................240
ECONTENTS
xv
[ CHAPTER 17 Extending Django s Admin Interface.....................241
The Zen of Admin..............................................242
Trusted users... ........................................242
... editing... ...........................................242
... structured content ....................................243
Full Stop.................................................243
Customizing Admin Templates...................................243
Custom Model Templates...................................244
Custom JavaScript.........................................245
Creating Custom Admin Views...................................246
Overriding Built-in Views........................................249
What s Next?..................................................249
KHAPTER18 Internationalization........................................251
Specifying Translation Strings in Python Code......................252
Standard Translation Functions..............................252
Marking Strings As No-op..................................253
Lazy Translation...........................................253
Pluralizaron..............................................254
Specifying Translation Strings in Template Code....................254
Creating Language Files.........................................256
Creating Message Files.....................................256
Compiling Message Files...................................258
How Django Discovers Language Preference.......................258
The setjanguage Redirect View.................................260
Using Translations in Your Own Projects...........................261
Translations and JavaScript......................................262
The javascripLcatalog View................................262
Using the JavaScript Translation Catalog.....................263
Creating JavaScript Translation Catalogs.....................263
Notes for Users Familiar with gettext..............................264
What s Next?..................................................264
ICHAPTER19 Security.....................................................265
The Theme of Web Security......................................265
SQL Injection..................................................266
The Solution..............................................266
xvi rCONTENTS
Cross-Site Scripting............................................267
The Solution..............................................268
Cross-Site Request Forgery......................................269
Session Forging/Hijacking.......................................269
The Solution..............................................270
Email Header Injection..........................................271
The Solution..............................................271
Directory Traversal.............................................271
The Solution..............................................272
Exposed Error Messages........................................273
The Solution..............................................273
A Final Word on Security........................................273
What s Next?..................................................273
ECHAPTER 20 Deploying Django..........................................275
Shared Nothing................................................276
A Note on Personal Preferences..................................278
Using Django with Apache and mod_python.......................278
Basic Configuration........................................279
Running Multiple Django Installations on the Same
Apache Instance........................................280
Running a Development Server with mod_python..............280
Serving Django and Media Files from the Same
Apache Instance........................................28I
Error Handling.............................................281
Handling a Segmentation Fault..............................282
Using Django with FastCGI.......................................282
FastCGI Overview..........................................282
Running Your FastCGI Server................................283
Using Django with Apache and FastCGI.......................284
FastCGI and lighttpd.......................................285
Running Django on a Shared-Hosting Provider with Apache.....287
Scaling........................................................288
Running on a Single Server.................................288
Separating Out the Database Server.........................289
Running a Separate Media Server...........................289
Implementing Load Balancing and Redundancy...............290
Going Big.................................................292
KONTENTS
Performance Tuning............................................293
There s No Such Thing As Too Much RAM.....................293
Turn Off Keep-Alive........................................293
Use Memcached..........................................294
Use Memcached Often.....................................294
Join the Conversation......................................294
What s Next?..................................................294
PART 3 c H e Appendixes
APPENDIX A Case Studies...............................................297
Cast of Characters..............................................297
Why Django?..................................................299
Getting Started.................................................299
Porting Existing Code...........................................300
How Did It Go?.................................................300
Team Structure................................................302
Deployment...................................................303
APPENDIX B Model Definition Reference...............................305
Fields.........................................................305
Field Name Restrictions....................................305
AutoField.................................................306
BooleanField..............................................306
CharField.................................................306
CommaSeparatedlntegerField...............................306
DateField.................................................306
DateTimeField.............................................307
EmailField................................................307
FileField..................................................307
FilePathField..............................................308
FloatField.................................................308
ImageField................................................309
IntegerField...............................................309
IPAddressField............................................309
NullBooleanReld..........................................309
PhoneNumberField........................................309
PositivelntegerField........................................309
xviii SONTENTS
PositiveSmalllntegerField...................................309
SlugField.................................................309
SmalllntegerField..........................................31O
TextField.................................................310
TimeField.................................................310
URLField.................................................310
USStateField..............................................310
XMLField.................................................310
Universal Field Options..........................................310
null......................................................310
blank....................................................311
choices..................................................311
db_column...............................................312
dbjndex.................................................312
default...................................................312
editable..................................................312
helpjext.................................................312
primary_key..............................................312
radio_admin..............................................312
unique...................................................313
unique_for_date..........................................313
unique_for_month.........................................313
unique_for_year...........................................313
verbose_name............................................313
Relationships..................................................314
Many-to-One Relationships.................................314
Many-to-Many Relationships................................316
Model Metadata Options........................................317
dbjable.................................................317
dbjablespace............................................318
getJatesLby.............................................318
order_with_respect_to.....................................318
ordering..................................................318
permissions..............................................319
uniquejogether...........................................319
verbose_name............................................320
verbose_name_plural......................................320
Managers.....................................................320
Manager Names...........................................320
Custom Managers.........................................321
CONTENTS
Model Methods................................................323
__str__..................................................324
get_absolute_url..........................................324
Executing Custom SQL.....................................325
Overriding Default Model Methods...........................326
Admin Options.................................................326
datejiierarchy............................................326
fields....................................................327
js........................................................328
list_display...............................................328
list_display_links..........................................330
listjilter.................................................330
list_per_page.............................................331
list_select_related.........................................331
ordering..................................................331
save_as..................................................331
save_on_top..............................................331
searchjields.............................................332
EAPPENDix C Database API Reference...................................333
Creating Objects...............................................334
What Happens When You Save?.............................334
Autoincrementing Primary Keys.............................334
Saving Changes to Objects......................................335
Retrieving Objects..............................................336
Caching and QuerySets.........................................337
Filtering Objects................................................337
Chaining filters...........................................338
Limiting QuerySets........................................339
Query Methods That Return New QuerySets...................339
QuerySet Methods That Do Not Return QuerySets..............343
Field Lookups..................................................346
exact....................................................346
¡exact....................................................347
contains..................................................347
¡contains.................................................347
gt, gte, It, and Ite..........................................348
in........................................................348
startswith................................................348
xx ^CONTENTS
¡startswith................................................348
endswith and ¡endswith....................................348
range....................................................348
year, month, and day.......................................349
isnull.....................................................349
search...................................................349
The pk Lookup Shortcut....................................349
Complex Lookups with Û Objects.................................350
Related Objects................................................351
Lookups That Span Relationships............................351
Foreign Key Relationships..................................352
Reverse Foreign Key Relationships.........................352
Many-to-Many Relationships................................354
Queries over Related Objects................................355
Deleting Objects................................................355
Extra Instance Methods.........................................356
get_FOO_displayO.........................................356
get_next_by_FOO(**kwargs) and
get_previous_by_FOO(**kwargs).........................356
get_FOO_filenameO.......................................357
get_FOO_urlO.............................................357
get_FOO_sizeO............................................357
save_FOO_file(filename, raw_contents)......................357
get_FOO_heightO and get_FOO_widthO......................357
Shortcuts......................................................357
get_object_or_4040.......................................357
get_list_or_4040..........................................358
Falling Backte Raw SQL........................................358
ö PPENDix D Generic View Reference...................................359
Common Arguments to Generic Views.............................359
Simple Generic Views.........................................360
Rendering a Template......................................360
Redirecting to Another URL.................................360
List/Detail Generic Views........................................361
Lists of Objects............................................361
Detail Views..............................................363
Date-Based Generic Views.......................................365
Archive Index.............................................365
Year Archives...........................................367
ECONTENTS xxi
Month Archives............................................368
WeekArchives............................................370
Day Archives..............................................371
Archive for Today..........................................372
Date-Based Detail Pages...................................373
Create/Update/Delete Generic Views..............................375
Create Object View........................................375
Update Object View........................................377
Delete Object View.........................................378
appendix E Settings.....................................................379
What s a Settings File?..........................................379
Default Settings...........................................380
Seeing Which Settings You ve Changed.......................380
Using Settings in Python Code...............................380
Altering Settings at Runtime................................380
Security..................................................381
Creating Your Own Settings.................................381
Designating the Settings: DJANGO_SETTINGS_MODULE.............381
The django-admin.py Utility.................................381
On the Server (mod_python)................................382
Using Settings Without Setting DJANGO_SETTINGS_MODULE........382
Custom Default Settings....................................383
Either configureO or DJANGO_SETTINGS_MODULE Is Required.... 383
Available Settings..............................................383
ABSOLUTE_URL_OVERRIDES...............................383
ADMIN_F0R..............................................384
ADMIN_MEDIA_PREFIX.....................................384
ADMINS..................................................384
ALLOWED_INCLUDE_ROOTS................................384
APPEND_SLASH...........................................384
CACHE_BACKEND.........................................385
CACHE_MIDDLEWARE_KEY_PREFIX.........................385
DATABASE_ENGINE........................................385
DATABASE_HOST..........................................385
DATABASE_NAME.........................................385
DATABASE_OPTIONS.......................................385
DATABASE_PASSWORD....................................385
DATABASE PORT..........................................386
xxii ECONTENTS
DATABASEJJSER..........................................386
DATE_FORMAT............................................386
DATETIME_FORMAT.......................................386
DEBUG...................................................386
DEFAULT_CHARSET.........................................386
DEFAULT_CONTENT_TYPE..................................387
DEFAULT_FROM_EMAIL....................................387
DISALLOWED_USER_AGENTS...............................387
EMAIL_HOST.............................................387
EMAIL_HOST_PASSWORD..................................387
EMAIL_HOST_USER.......................................387
EMAIL_PORT..............................................387
EMAIL_SUBJECT_PREFIX...................................388
FIXTURE_D!RS............................................388
IGN0RABLE_404_ENDS....................................388
IGN0RABLE_404_STARTS..................................388
INSTALLED_APPS.........................................388
INTERNALJPS............................................388
JING_PATH...............................................388
LANGUAGE_CODE.........................................389
LANGUAGES..............................................389
MANAGERS...............................................389
MEDIA_ROOT.............................................389
MEDIAJJRL...............................................390
MIDDLEWARE_CLASSES...................................390
MONTH_DAY_FORMAT.....................................390
PREPEND_WWW..........................................390
PROFANITIES_LIST........................................390
ROOTJJRLCONF..........................................390
SECRET_KEY..............................................391
SEND_BROKEN_UNK_EMAILS..............................391
SERIALIZATION_MODULES..................................391
SERVER_EMAIL...........................................391
SESSION_COOKIE_AGE.....................................391
SESSION_COOKIE_DOMAIN.................................391
SESSION_COOKIE_NAME...................................391
SESSION_COOKIE_SECURE.................................392
SESSION_EXPIRE_AT_BROWSER_CLOSE.....................392
SESSION_SAVE_EVERY_REQUEST...........................392
SITE_ID..................................................392
TEMPLATE CONTEXT PROCESSORS.........................392
^.CONTENTS xxiii
TEMPLATE_DEBUG........................................392
TEMPU TE_DIRS..........................................393
TEMPLATE_LOADERS......................................393
TEMPLATE_STRING_IF_INVAUD.............................393
TEST_RUNNER............................................393
TEST_DATABASE_NAME....................................393
TIME_FORMAT............................................393
TIME_ZONE...............................................393
URL_VALIDATOR_USER_AGENT.............................394
USE_ETAGS...............................................394
USEJ18N................................................394
YEAR_MONTH_FORMAT....................................394
APPENDIX F Built-in Template Tags and Filters........................395
Built-in Tag Reference..........................................395
block....................................................395
comment.................................................395
cycle.....................................................395
debug....................................................396
extends..................................................396
filter.....................................................396
firstof....................................................396
for.......................................................397
if........................................................397
ifchanged................................................399
ifequal...................................................399
¡fnotequal................................................399
include...................................................400
load.....................................................400
now.....................................................400
regroup..................................................402
spaceless................................................403
ssi.......................................................403
templatetag...............................................403
url.......................................................404
widthratio................................................404
Built-in Filter Reference.........................................405
add......................................................405
addslashes...............................................405
capfirst...................................................405
xxvi ICONTENTS
--noinput.................................................422
--noreload................................................422
--version.................................................423
--verbosity................................................423
-adminmedia.............................................423
1ÄPPENDIX H Request and Response Objects...........................425
HttpRequest...................................................425
QueryDict Objects.........................................427
A Complete Example.......................................428
HttpResponse..................................................429
Construction HttpResponses................................429
Setting Headers...........................................429
HttpResponse Subclasses..................................430
Returning Errors...........................................430
Customizing the 404 (Page Not Found) View..................431
Customizing the 500 (Server Error) View......................432
HNDEX.......................................................................433
|
any_adam_object | 1 |
author | Holovaty, Adrian Kaplan-Moss, Jacob |
author_facet | Holovaty, Adrian Kaplan-Moss, Jacob |
author_role | aut aut |
author_sort | Holovaty, Adrian |
author_variant | a h ah j k m jkm |
building | Verbundindex |
bvnumber | BV035323674 |
callnumber-first | T - Technology |
callnumber-label | TK5105 |
callnumber-raw | TK5105.888 |
callnumber-search | TK5105.888 |
callnumber-sort | TK 45105.888 |
callnumber-subject | TK - Electrical and Nuclear Engineering |
classification_rvk | ST 253 |
ctrlnum | (OCoLC)255444586 (DE-599)GBV516012363 |
dewey-full | 006.78 006.76 |
dewey-hundreds | 000 - Computer science, information, general works |
dewey-ones | 006 - Special computer methods |
dewey-raw | 006.78 006.76 |
dewey-search | 006.78 006.76 |
dewey-sort | 16.78 |
dewey-tens | 000 - Computer science, information, general works |
discipline | Informatik |
format | Book |
fullrecord | <?xml version="1.0" encoding="UTF-8"?><collection xmlns="http://www.loc.gov/MARC21/slim"><record><leader>02662nam a2200613 c 4500</leader><controlfield tag="001">BV035323674</controlfield><controlfield tag="003">DE-604</controlfield><controlfield tag="005">00000000000000.0</controlfield><controlfield tag="007">t</controlfield><controlfield tag="008">090219s2008 ad|| |||| 00||| eng d</controlfield><datafield tag="010" ind1=" " ind2=" "><subfield code="a">2008297303</subfield></datafield><datafield tag="020" ind1=" " ind2=" "><subfield code="a">1590597257</subfield><subfield code="c">(pbk.) : 44,99</subfield><subfield code="9">1-590-59725-7</subfield></datafield><datafield tag="020" ind1=" " ind2=" "><subfield code="a">9781590597255</subfield><subfield code="c">(pbk.) : 44,99</subfield><subfield code="9">978-1-590-59725-5</subfield></datafield><datafield tag="035" ind1=" " ind2=" "><subfield code="a">(OCoLC)255444586</subfield></datafield><datafield tag="035" ind1=" " ind2=" "><subfield code="a">(DE-599)GBV516012363</subfield></datafield><datafield tag="040" ind1=" " ind2=" "><subfield code="a">DE-604</subfield><subfield code="b">ger</subfield></datafield><datafield tag="041" ind1="0" ind2=" "><subfield code="a">eng</subfield></datafield><datafield tag="049" ind1=" " ind2=" "><subfield code="a">DE-29T</subfield><subfield code="a">DE-11</subfield></datafield><datafield tag="050" ind1=" " ind2="0"><subfield code="a">TK5105.888</subfield></datafield><datafield tag="082" ind1="0" ind2=" "><subfield code="a">006.78</subfield></datafield><datafield tag="082" ind1="0" ind2=" "><subfield code="a">006.76</subfield></datafield><datafield tag="084" ind1=" " ind2=" "><subfield code="a">ST 253</subfield><subfield code="0">(DE-625)143628:</subfield><subfield code="2">rvk</subfield></datafield><datafield tag="100" ind1="1" ind2=" "><subfield code="a">Holovaty, Adrian</subfield><subfield code="e">Verfasser</subfield><subfield code="4">aut</subfield></datafield><datafield tag="245" ind1="1" ind2="0"><subfield code="a">The definitive guide to Django</subfield><subfield code="b">Web development done right ; [Django is a framework that saves you time and makes Web development a joy]</subfield><subfield code="c">Adrian Holovaty and Jacob Kaplan-Moss</subfield></datafield><datafield tag="264" ind1=" " ind2="1"><subfield code="a">Berkeley, Calif.</subfield><subfield code="b">Apress [u.a.]</subfield><subfield code="c">2008</subfield></datafield><datafield tag="300" ind1=" " ind2=" "><subfield code="a">XXXII, 447 S.</subfield><subfield code="b">Ill., graph. Darst.</subfield></datafield><datafield tag="336" ind1=" " ind2=" "><subfield code="b">txt</subfield><subfield code="2">rdacontent</subfield></datafield><datafield tag="337" ind1=" " ind2=" "><subfield code="b">n</subfield><subfield code="2">rdamedia</subfield></datafield><datafield tag="338" ind1=" " ind2=" "><subfield code="b">nc</subfield><subfield code="2">rdacarrier</subfield></datafield><datafield tag="490" ind1="0" ind2=" "><subfield code="a">The expert's voice in Web development</subfield></datafield><datafield tag="520" ind1="8" ind2=" "><subfield code="a">Provides information on using the Python-based framework to create Web sites</subfield></datafield><datafield tag="650" ind1=" " ind2="0"><subfield code="a">Web sites / Authoring programs</subfield></datafield><datafield tag="650" ind1=" " ind2="0"><subfield code="a">Python (Computer program language)</subfield></datafield><datafield tag="650" ind1=" " ind2="0"><subfield code="a">Web sites / Design / sears</subfield></datafield><datafield tag="650" ind1=" " ind2="0"><subfield code="a">Python (Computer language) / sears</subfield></datafield><datafield tag="650" ind1=" " ind2="7"><subfield code="a">Python (Computer language)</subfield><subfield code="2">sears</subfield></datafield><datafield tag="650" ind1=" " ind2="4"><subfield code="a">Python (Computer program language)</subfield></datafield><datafield tag="650" ind1=" " ind2="4"><subfield code="a">Web sites</subfield><subfield code="x">Authoring programs</subfield></datafield><datafield tag="650" ind1=" " ind2="7"><subfield code="a">Web sites</subfield><subfield code="x">Design.</subfield><subfield code="2">sears</subfield></datafield><datafield tag="650" ind1="0" ind2="7"><subfield code="a">Softwareproduktionsumgebung</subfield><subfield code="0">(DE-588)4138444-1</subfield><subfield code="2">gnd</subfield><subfield code="9">rswk-swf</subfield></datafield><datafield tag="650" ind1="0" ind2="7"><subfield code="a">Dynamische Web-Seite</subfield><subfield code="0">(DE-588)4481830-0</subfield><subfield code="2">gnd</subfield><subfield code="9">rswk-swf</subfield></datafield><datafield tag="650" ind1="0" ind2="7"><subfield code="a">Django</subfield><subfield code="g">Informatik</subfield><subfield code="0">(DE-588)7858725-6</subfield><subfield code="2">gnd</subfield><subfield code="9">rswk-swf</subfield></datafield><datafield tag="650" ind1="0" ind2="7"><subfield code="a">Gestaltung</subfield><subfield code="0">(DE-588)4157139-3</subfield><subfield code="2">gnd</subfield><subfield code="9">rswk-swf</subfield></datafield><datafield tag="689" ind1="0" ind2="0"><subfield code="a">Dynamische Web-Seite</subfield><subfield code="0">(DE-588)4481830-0</subfield><subfield code="D">s</subfield></datafield><datafield tag="689" ind1="0" ind2="1"><subfield code="a">Gestaltung</subfield><subfield code="0">(DE-588)4157139-3</subfield><subfield code="D">s</subfield></datafield><datafield tag="689" ind1="0" ind2="2"><subfield code="a">Softwareproduktionsumgebung</subfield><subfield code="0">(DE-588)4138444-1</subfield><subfield code="D">s</subfield></datafield><datafield tag="689" ind1="0" ind2=" "><subfield code="5">DE-604</subfield></datafield><datafield tag="689" ind1="1" ind2="0"><subfield code="a">Django</subfield><subfield code="g">Informatik</subfield><subfield code="0">(DE-588)7858725-6</subfield><subfield code="D">s</subfield></datafield><datafield tag="689" ind1="1" ind2=" "><subfield code="8">1\p</subfield><subfield code="5">DE-604</subfield></datafield><datafield tag="700" ind1="1" ind2=" "><subfield code="a">Kaplan-Moss, Jacob</subfield><subfield code="e">Verfasser</subfield><subfield code="4">aut</subfield></datafield><datafield tag="856" ind1="4" ind2=" "><subfield code="m">DE-601</subfield><subfield code="q">pdf/application</subfield><subfield code="u">http://www.gbv.de/dms/bowker/toc/9781590597255.pdf</subfield><subfield code="3">Inhaltsverzeichnis</subfield></datafield><datafield tag="856" ind1="4" ind2="2"><subfield code="m">HBZ Datenaustausch</subfield><subfield code="q">application/pdf</subfield><subfield code="u">http://bvbr.bib-bvb.de:8991/F?func=service&doc_library=BVB01&local_base=BVB01&doc_number=017128204&sequence=000002&line_number=0001&func_code=DB_RECORDS&service_type=MEDIA</subfield><subfield code="3">Inhaltsverzeichnis</subfield></datafield><datafield tag="999" ind1=" " ind2=" "><subfield code="a">oai:aleph.bib-bvb.de:BVB01-017128204</subfield></datafield><datafield tag="883" ind1="1" ind2=" "><subfield code="8">1\p</subfield><subfield code="a">cgwrk</subfield><subfield code="d">20201028</subfield><subfield code="q">DE-101</subfield><subfield code="u">https://d-nb.info/provenance/plan#cgwrk</subfield></datafield></record></collection> |
id | DE-604.BV035323674 |
illustrated | Illustrated |
indexdate | 2024-07-09T21:31:17Z |
institution | BVB |
isbn | 1590597257 9781590597255 |
language | English |
lccn | 2008297303 |
oai_aleph_id | oai:aleph.bib-bvb.de:BVB01-017128204 |
oclc_num | 255444586 |
open_access_boolean | |
owner | DE-29T DE-11 |
owner_facet | DE-29T DE-11 |
physical | XXXII, 447 S. Ill., graph. Darst. |
publishDate | 2008 |
publishDateSearch | 2008 |
publishDateSort | 2008 |
publisher | Apress [u.a.] |
record_format | marc |
series2 | The expert's voice in Web development |
spelling | Holovaty, Adrian Verfasser aut The definitive guide to Django Web development done right ; [Django is a framework that saves you time and makes Web development a joy] Adrian Holovaty and Jacob Kaplan-Moss Berkeley, Calif. Apress [u.a.] 2008 XXXII, 447 S. Ill., graph. Darst. txt rdacontent n rdamedia nc rdacarrier The expert's voice in Web development Provides information on using the Python-based framework to create Web sites Web sites / Authoring programs Python (Computer program language) Web sites / Design / sears Python (Computer language) / sears Python (Computer language) sears Web sites Authoring programs Web sites Design. sears Softwareproduktionsumgebung (DE-588)4138444-1 gnd rswk-swf Dynamische Web-Seite (DE-588)4481830-0 gnd rswk-swf Django Informatik (DE-588)7858725-6 gnd rswk-swf Gestaltung (DE-588)4157139-3 gnd rswk-swf Dynamische Web-Seite (DE-588)4481830-0 s Gestaltung (DE-588)4157139-3 s Softwareproduktionsumgebung (DE-588)4138444-1 s DE-604 Django Informatik (DE-588)7858725-6 s 1\p DE-604 Kaplan-Moss, Jacob Verfasser aut DE-601 pdf/application http://www.gbv.de/dms/bowker/toc/9781590597255.pdf Inhaltsverzeichnis HBZ Datenaustausch application/pdf http://bvbr.bib-bvb.de:8991/F?func=service&doc_library=BVB01&local_base=BVB01&doc_number=017128204&sequence=000002&line_number=0001&func_code=DB_RECORDS&service_type=MEDIA Inhaltsverzeichnis 1\p cgwrk 20201028 DE-101 https://d-nb.info/provenance/plan#cgwrk |
spellingShingle | Holovaty, Adrian Kaplan-Moss, Jacob The definitive guide to Django Web development done right ; [Django is a framework that saves you time and makes Web development a joy] Web sites / Authoring programs Python (Computer program language) Web sites / Design / sears Python (Computer language) / sears Python (Computer language) sears Web sites Authoring programs Web sites Design. sears Softwareproduktionsumgebung (DE-588)4138444-1 gnd Dynamische Web-Seite (DE-588)4481830-0 gnd Django Informatik (DE-588)7858725-6 gnd Gestaltung (DE-588)4157139-3 gnd |
subject_GND | (DE-588)4138444-1 (DE-588)4481830-0 (DE-588)7858725-6 (DE-588)4157139-3 |
title | The definitive guide to Django Web development done right ; [Django is a framework that saves you time and makes Web development a joy] |
title_auth | The definitive guide to Django Web development done right ; [Django is a framework that saves you time and makes Web development a joy] |
title_exact_search | The definitive guide to Django Web development done right ; [Django is a framework that saves you time and makes Web development a joy] |
title_full | The definitive guide to Django Web development done right ; [Django is a framework that saves you time and makes Web development a joy] Adrian Holovaty and Jacob Kaplan-Moss |
title_fullStr | The definitive guide to Django Web development done right ; [Django is a framework that saves you time and makes Web development a joy] Adrian Holovaty and Jacob Kaplan-Moss |
title_full_unstemmed | The definitive guide to Django Web development done right ; [Django is a framework that saves you time and makes Web development a joy] Adrian Holovaty and Jacob Kaplan-Moss |
title_short | The definitive guide to Django |
title_sort | the definitive guide to django web development done right django is a framework that saves you time and makes web development a joy |
title_sub | Web development done right ; [Django is a framework that saves you time and makes Web development a joy] |
topic | Web sites / Authoring programs Python (Computer program language) Web sites / Design / sears Python (Computer language) / sears Python (Computer language) sears Web sites Authoring programs Web sites Design. sears Softwareproduktionsumgebung (DE-588)4138444-1 gnd Dynamische Web-Seite (DE-588)4481830-0 gnd Django Informatik (DE-588)7858725-6 gnd Gestaltung (DE-588)4157139-3 gnd |
topic_facet | Web sites / Authoring programs Python (Computer program language) Web sites / Design / sears Python (Computer language) / sears Python (Computer language) Web sites Authoring programs Web sites Design. Softwareproduktionsumgebung Dynamische Web-Seite Django Informatik Gestaltung |
url | http://www.gbv.de/dms/bowker/toc/9781590597255.pdf http://bvbr.bib-bvb.de:8991/F?func=service&doc_library=BVB01&local_base=BVB01&doc_number=017128204&sequence=000002&line_number=0001&func_code=DB_RECORDS&service_type=MEDIA |
work_keys_str_mv | AT holovatyadrian thedefinitiveguidetodjangowebdevelopmentdonerightdjangoisaframeworkthatsavesyoutimeandmakeswebdevelopmentajoy AT kaplanmossjacob thedefinitiveguidetodjangowebdevelopmentdonerightdjangoisaframeworkthatsavesyoutimeandmakeswebdevelopmentajoy |
Es ist kein Print-Exemplar vorhanden.
Inhaltsverzeichnis