Django 1.0 Template Development. A practical guide to Django template development with custom tags, filters, multiple templates, caching, and more
- Autorzy:
- Scott Newman, Jacob Kaplan-Moss
- Ocena:
- Bądź pierwszym, który oceni tę książkę
- Stron:
- 272
- Dostępne formaty:
-
PDFePubMobi
Opis ebooka: Django 1.0 Template Development. A practical guide to Django template development with custom tags, filters, multiple templates, caching, and more
Wybrane bestsellery
-
-
Bugs are a time consuming burden during software development. Django's built-in test framework and debugging support help lessen this burden. This book will teach you quick and efficient techniques for using Django and Python tools to eradicate bugs and ensure your Django application works correc...
Django 1.1 Testing and Debugging. Building rigorously tested and bug-free Django applications Django 1.1 Testing and Debugging. Building rigorously tested and bug-free Django applications
-
Django is a high-level Python web framework that was developed by a fast-moving online-news operation to meet the stringent twin challenges of newsroom deadlines and the needs of web developers. It is designed to promote rapid development and clean, pragmatic design and lets you build high-perfor...
Django 1.0 Website Development. Build powerful web applications, quickly and cleanly, with the Django application framework Django 1.0 Website Development. Build powerful web applications, quickly and cleanly, with the Django application framework
-
Oto zaktualizowane wydanie popularnego przewodnika, dzięki któremu skorzystasz z ponad dwustu sprawdzonych receptur bazujących na najnowszych wydaniach bibliotek Pythona. Wystarczy, że skopiujesz i dostosujesz kod do swoich potrzeb. Możesz też go uruchamiać i testować za pomocą przykładowego zbio...
Uczenie maszynowe w Pythonie. Receptury. Od przygotowania danych do deep learningu. Wydanie II Uczenie maszynowe w Pythonie. Receptury. Od przygotowania danych do deep learningu. Wydanie II
(53.40 zł najniższa cena z 30 dni)62.30 zł
89.00 zł(-30%) -
Sposobów na naukę Pythona jest sporo i powstało na ten temat mnóstwo publikacji. Jeżeli ten wybór jest właśnie przed Tobą, rozważ naukę Pythona poprzez tworzenie prostych gier. Ich programowanie to nie tylko świetna zabawa, ale też doskonała metoda rozwijania umiejętności algorytmicznych, kreatyw...
Python od podstaw. Kurs video. Tworzenie pierwszych gier w PyCharm Python od podstaw. Kurs video. Tworzenie pierwszych gier w PyCharm
(39.90 zł najniższa cena z 30 dni)64.50 zł
129.00 zł(-50%) -
To książka przeznaczona dla osób, które pracują ze zbiorami danych. Jest praktycznym przewodnikiem po koncepcjach algebry liniowej, pomyślanym tak, by ułatwić ich zrozumienie i zastosowanie w użytecznych obliczeniach. Poszczególne zagadnienia przedstawiono za pomocą kodu Pythona, wraz z przykłada...
Praktyczna algebra liniowa dla analityków danych. Od podstawowych koncepcji do użytecznych aplikacji w Pythonie Praktyczna algebra liniowa dla analityków danych. Od podstawowych koncepcji do użytecznych aplikacji w Pythonie
(46.20 zł najniższa cena z 30 dni)53.90 zł
77.00 zł(-30%) -
To trzecie, zaktualizowane i uzupełnione wydanie bestsellerowego podręcznika programowania w Pythonie. Naukę rozpoczniesz od podstawowych koncepcji programowania. Poznasz takie pojęcia jak zmienne, listy, klasy i pętle, a następnie utrwalisz je dzięki praktycznym ćwiczeniom. Dowiesz się, jak zape...(71.40 zł najniższa cena z 30 dni)
83.30 zł
119.00 zł(-30%) -
Głębokie sieci neuronowe mają niesamowity potencjał. Osiągnięcia ostatnich lat nadały procesom uczenia głębokiego zupełnie nową jakość. Obecnie nawet programiści niezaznajomieni z tą technologią mogą korzystać z prostych i niezwykle skutecznych narzędzi, pozwalających na sprawne implementowanie p...
Uczenie maszynowe z użyciem Scikit-Learn, Keras i TensorFlow. Wydanie III Uczenie maszynowe z użyciem Scikit-Learn, Keras i TensorFlow. Wydanie III
(107.40 zł najniższa cena z 30 dni)125.30 zł
179.00 zł(-30%) -
Zawód programisty jest coraz popularniejszym życiowym wyborem - wciąż bowiem rośnie zapotrzebowanie na pracowników IT, a branża oferuje absolwentom informatyki satysfakcjonujące pensje, atrakcyjne warunki pracy, często też możliwość działania zdalnego. Jeśli myślisz o obraniu tej właśnie ścieżki ...
Selenium. Kurs video. Twój pierwszy automatyczny test w Python Selenium. Kurs video. Twój pierwszy automatyczny test w Python
(41.70 zł najniższa cena z 30 dni)55.60 zł
139.00 zł(-60%) -
Ta książka stanowi przystępne wprowadzenie do świata projektantów i budowniczych robotów. Dzięki niej dowiesz się, jak wybrać potrzebne podzespoły, jak je ze sobą połączyć i jak wykorzystywać poszczególne urządzenia wejścia i wyjścia. Posłużysz się w tym celu płytką Raspberry Pi i kompatybilnymi ...
Jak zaprogramować robota. Zastosowanie Raspberry Pi i Pythona w tworzeniu autonomicznych robotów. Wydanie II Jak zaprogramować robota. Zastosowanie Raspberry Pi i Pythona w tworzeniu autonomicznych robotów. Wydanie II
(59.40 zł najniższa cena z 30 dni)69.30 zł
99.00 zł(-30%)
O autorze ebooka
Ebooka "Django 1.0 Template Development. A practical guide to Django template development with custom tags, filters, multiple templates, caching, and more" przeczytasz na:
-
czytnikach Inkbook, Kindle, Pocketbook, Onyx Boox i innych
-
systemach Windows, MacOS i innych
-
systemach Windows, Android, iOS, HarmonyOS
-
na dowolnych urządzeniach i aplikacjach obsługujących formaty: PDF, EPub, Mobi
Masz pytania? Zajrzyj do zakładki Pomoc »
Audiobooka "Django 1.0 Template Development. A practical guide to Django template development with custom tags, filters, multiple templates, caching, and more" posłuchasz:
-
w aplikacji Ebookpoint na Android, iOS, HarmonyOs
-
na systemach Windows, MacOS i innych
-
na dowolnych urządzeniach i aplikacjach obsługujących format MP3 (pliki spakowane w ZIP)
Masz pytania? Zajrzyj do zakładki Pomoc »
Kurs Video "Django 1.0 Template Development. A practical guide to Django template development with custom tags, filters, multiple templates, caching, and more" zobaczysz:
-
w aplikacjach Ebookpoint i Videopoint na Android, iOS, HarmonyOs
-
na systemach Windows, MacOS i innych z dostępem do najnowszej wersji Twojej przeglądarki internetowej
Szczegóły ebooka
- Tytuł oryginału:
- Django 1.0 Template Development. A practical guide to Django template development with custom tags, filters, multiple templates, caching, and more
- ISBN Ebooka:
- 978-18-471-9571-5, 9781847195715
- Data wydania ebooka:
- 2008-12-11 Data wydania ebooka często jest dniem wprowadzenia tytułu do sprzedaży i może nie być równoznaczna z datą wydania książki papierowej. Dodatkowe informacje możesz znaleźć w darmowym fragmencie. Jeśli masz wątpliwości skontaktuj się z nami sklep@ebookpoint.pl.
- Język publikacji:
- angielski
- Rozmiar pliku Pdf:
- 5.0MB
- Rozmiar pliku ePub:
- 966.7kB
- Rozmiar pliku Mobi:
- 2.5MB
Spis treści ebooka
- Django 1.0 Template Development
- Table of Contents
- Django 1.0 Template Development
- Credits
- About the Author
- About the Reviewers
- Preface
- What this book covers
- What you need for this book
- Who this book is for
- Conventions
- Reader feedback
- Customer support
- Downloading the example code for the book
- Errata
- Piracy
- Questions
- 1. An Introduction to the Django Template System
- What are templates?
- Understanding the need for templates
- What are templates?
- Overview of the Django template system
- Separating code from presentation
- Helping designers and developers collaborate
- Increasing maintainability
- Template syntax
- Modularity and reusability
- Flexibility
- Limitations
- Critics of the system
- Exploring how Django handles requests
- Understanding the template system syntax
- Context variable
- Variables
- Filters
- Tags
- Comments
- Code note: Python dictionaries
- How invalid variables are handled
- Creating our demo application
- Starting our application
- Adding templates to our application
- Adding variables to the view
- Moving the logic into a separate template file
- Using template filters
- Using template tags to perform logical tests
- Adding comments
- Summary
- 2. Views, URLs, and Generic Views
- An overview
- Creating the application
- Create the data model
- Create the admin file
- Configure the URLs
- Add data in the admin application
- Mapping URLs to views
- Handling unmatched URL patterns
- Splitting up the URL configurations
- Creating views
- Accepting the request object
- Responding with an HTTP response
- Responding with an exception
- Putting the views together
- Building the basic view
- Cleaning up the error handling
- Adding the template files
- Adding the template to the view
- Creating the list view and template
- Using generic views to shorten development time
- Simple generic views
- Loading a template directly
- Redirecting URLs
- List/detail generic views
- Replacing the list view
- Replacing the detail view
- Using the other generic views
- Comparing views and generic views
- Summary
- 3. Template Context
- The context explained
- Practicing working with the context
- Using locals for prototyping
- Adding, changing, and removing items in the context
- The context explained
- Using the context values in your templates
- Preventing method execution from templates
- Handling invalid context variables
- Cleaning up the view
- Context rendering shortcuts
- Using render_to_response()
- Using render_to_string()
- Context processors
- Exploring the default context processors
- Auth
- Debug
- Media
- Exploring the default context processors
- il8n
- Configuring your project to use context processors
- Configuring your views to use context processors
- Using render_to_response with RequestContext
- Using the context processors in our project
- Writing your own context processor
- Summary
- 4. Using the Built-In Tags and Filters
- Built-in filter reference
- add
- addslashes
- capfirst
- center
- cut
- date
- default
- default_if_none
- dictsort
- dictsortreversed
- divisibleby
- escape
- escapejs
- filesizeformat
- first
- fix_ampersands
- floatformat
- force_escape
- get_digit
- iriencode
- join
- last
- length
- length_is
- linebreaks
- linebreaksbr
- linenumbers
- ljust
- lower
- make_list
- phone2numeric
- pluralize
- pprint
- random
- removetags
- rjust
- safe
- slice
- slugify
- stringformat
- striptags
- time
- timesince
- timeuntil
- title
- truncatewords
- truncatewords_html
- unordered_list
- upper
- urlencode
- urlize
- urlizetrunc
- wordcount
- wordwrap
- yesno
- Built-in filter reference
- Built-in tag reference
- autoescape
- block
- comment
- cycle
- debug
- extends
- filter
- firstof
- for
- forloop
- if
- ifchanged
- ifequal
- ifnotequal
- include
- load
- now
- regroup
- spaceless
- ssi
- templatetag
- url
- widthratio
- with
- Summary
- 5. Loading and Inheriting Templates
- Configuring the template system
- Finding a home for the template files
- Working with the template loaders
- Loading templates manually
- Choosing a template loader
- Using the filesystem loader
- Using the application directories loader
- About the eggs template loader
- Using the loaders together
- Loading your template files
- Setting up the error handling templates
- Creating the error templates
- Testing the error templates
- Breaking templates into reusable pieces
- Extending templates with inheritance
- Using the block tag
- Extending templates
- Adding inheritance to the press application
- Using multiple block tags
- Adding template inheritance to our press release list
- Inheriting from multiple child templates
- Appending to blocks
- Template strategy
- Creating content placeholders
- Extra JS
- Extra style
- Extra head content
- Extra body tag attributes
- Creating content placeholders
- Using include files
- Using include
- Using SSI
- Using include
- Summary
- 6. Serving Multiple Templates
- Considering the different approaches
- Serving mobile devices
- Adapting content
- Considering the different approaches
- Setting up our example
- Serving printable pages
- Creating site themes
- Testing the template overrides
- Serving different templates by domain name
- Serving different sites with the development web server
- Redirecting users to the mobile site (optional)
- Detecting mobile devices
- Writing the middleware
- Checking only once
- Installing the middleware
- Summary
- 7. Custom Tags and Filters
- Examining the built-in tags and filters
- Template filters
- Template tags
- Examining the built-in tags and filters
- Writing your own template filters
- Setting up a test application
- Creating a home for our filter library
- Template filter syntax
- Loading template libraries
- U.S. currency filter
- Replace profanities filter
- Filters that expect strings
- In-list filter
- Writing your own template tags
- Creating another sample application
- Adding the template library
- Template tag syntax
- A simple tag example
- The compilation function
- The template node subclass
- Registering our custom tag
- All work and no play tag
- Passing a template variable to a tag
- Modifying the context through a tag
- Summary
- 8. Pagination
- An Overview
- Verifying our application setup
- Verifying the application
- Verifying the configuration
- Verifying the URL configuration
- Verifying the model
- Verifying the view
- Adding test records
- Exploring pagination using the Django shell
- Examining database performance
- Allowing for empty result sets
- Preventing orphaned records
- Using pagination in your views
- Creating the view
- Retrieving the current position from the URL
- Putting navigation into the templates
- Pagination with generic views
- Setting up our generic list view
- Generically calling the last page
- Summary
- 9. Customizing the Admin Look and Feel
- Overriding the admin templates
- Leveraging the template loader
- Locating the admin template files
- Exploring the admin template files
- Inspecting the base.html template
- Inspecting the base_site.html template
- Inspecting the index.html template
- Inspecting the change_list.html template
- Inspecting the change_form.html template
- Overriding the admin templates
- Customizing the admin header
- Replacing the page title
- Changing the header text
- Adding a new link box to the admin
- Overriding the admin index file
- Creating the include file
- Customizing the admin color scheme
- Identifying styles to change
- Using the extrastyle block
- Summary
- 10. Caching Your Pages
- An overview
- Do you need caching?
- How caching works
- An overview
- Exploring the available cache systems
- Filesystem caching
- Database caching
- Memcached
- Local memory caching
- Dummy caching
- Setting up your cache system
- Configuring the cache backend
- Database caching
- Filesystem caching
- Local memory caching
- Dummy caching
- Memcached
- Configuring the cache backend
- Adding additional backend arguments
- Setting up for the examples
- Caching individual views
- Adding caching
- Caching pieces of templates
- Low-level caching
- Caching your whole site
- Preventing data from being cached
- General caching strategies
- Working with outside caches
- Summary
- 11. Internationalization
- Exploring i18n
- Creating an example application
- Configuring your project for i18n
- Installing libraries for i18n translation
- Marking strings as translatable
- Creating message files
- Enabling automatic language preference
- How Django determines language preference
- Summary
- Index
Packt Publishing - inne książki
-
This book will guide you through the fundamental and advanced features of the Snowpark framework in Python. You’ll learn how to use Snowpark for implementing workloads in the fields of data engineering, data science, and data applications.
The Ultimate Guide to Snowpark. Design and deploy Snowpark with Python for efficient data workloads The Ultimate Guide to Snowpark. Design and deploy Snowpark with Python for efficient data workloads
-
API Security for White Hat Hackers is a comprehensive guide that simplifies API security by showing you how to identify and fix vulnerabilities. From emerging threats to best practices, this book helps you defend and safeguard your APIs.
API Security for White Hat Hackers. Uncover offensive defense strategies and get up to speed with secure API implementation API Security for White Hat Hackers. Uncover offensive defense strategies and get up to speed with secure API implementation
(92.88 zł najniższa cena z 30 dni)
Dzieki opcji "Druk na żądanie" do sprzedaży wracają tytuły Grupy Helion, które cieszyły sie dużym zainteresowaniem, a których nakład został wyprzedany.
Dla naszych Czytelników wydrukowaliśmy dodatkową pulę egzemplarzy w technice druku cyfrowego.
Co powinieneś wiedzieć o usłudze "Druk na żądanie":
- usługa obejmuje tylko widoczną poniżej listę tytułów, którą na bieżąco aktualizujemy;
- cena książki może być wyższa od początkowej ceny detalicznej, co jest spowodowane kosztami druku cyfrowego (wyższymi niż koszty tradycyjnego druku offsetowego). Obowiązująca cena jest zawsze podawana na stronie WWW książki;
- zawartość książki wraz z dodatkami (płyta CD, DVD) odpowiada jej pierwotnemu wydaniu i jest w pełni komplementarna;
- usługa nie obejmuje książek w kolorze.
Masz pytanie o konkretny tytuł? Napisz do nas: sklep[at]helion.pl.
Książka, którą chcesz zamówić pochodzi z końcówki nakładu. Oznacza to, że mogą się pojawić drobne defekty (otarcia, rysy, zagięcia).
Co powinieneś wiedzieć o usłudze "Końcówka nakładu":
- usługa obejmuje tylko książki oznaczone tagiem "Końcówka nakładu";
- wady o których mowa powyżej nie podlegają reklamacji;
Masz pytanie o konkretny tytuł? Napisz do nas: sklep[at]helion.pl.
Książka drukowana
Oceny i opinie klientów: Django 1.0 Template Development. A practical guide to Django template development with custom tags, filters, multiple templates, caching, and more Scott Newman, Jacob Kaplan-Moss (0) Weryfikacja opinii następuję na podstawie historii zamówień na koncie Użytkownika umieszczającego opinię. Użytkownik mógł otrzymać punkty za opublikowanie opinii uprawniające do uzyskania rabatu w ramach Programu Punktowego.