Search icon CANCEL
Arrow left icon
Explore Products
Best Sellers
New Releases
Books
Videos
Audiobooks
Learning Hub
Conferences
Free Learning
Arrow right icon
Arrow up icon
GO TO TOP
Hands-On Application Development with PyCharm

You're reading from   Hands-On Application Development with PyCharm Accelerate your Python applications using practical coding techniques in PyCharm

Arrow left icon
Product type Paperback
Published in Sep 2019
Publisher Packt
ISBN-13 9781789348262
Length 494 pages
Edition 1st Edition
Languages
Tools
Arrow right icon
Author (1):
Arrow left icon
Quan Nguyen Quan Nguyen
Author Profile Icon Quan Nguyen
Quan Nguyen
Arrow right icon
View More author details
Toc

Table of Contents (23) Chapters Close

Preface 1. Section 1: The Basics of PyCharm
2. Introduction to PyCharm - the Most Popular IDE for Python FREE CHAPTER 3. Installing and Configuring PyCharm 4. Section 2: Improving Your Productivity
5. Customizing Interpreters and Virtual Environments 6. Editing and Formatting with Ease in PyCharm 7. Version Control with Git in PyCharm 8. Seamless Testing, Debugging, and Profiling 9. Section 3: Web Development in PyCharm
10. Web Development with JavaScript, HTML, and CSS 11. Integrating Django in PyCharm 12. Understanding Database Management with PyCharm 13. Building a Web Application in PyCharm 14. Section 4: Data Science with PyCharm
15. Turning on Scientific Mode 16. Dynamic Data Viewing with SciView and Jupyter 17. Building a Data Pipeline in PyCharm 18. Section 5: Plugins and Conclusion
19. More Possibilities with PyCharm Plugins 20. Future Developments 21. Assessments 22. Other Books You May Enjoy

Chapter 10

  1. Database objects in a Django project can also be accessed and modified in a Python script using various Django APIs. For example, the Table.objects.get() method (with Table being the name of a database table) will return all the saved database records in a given table, while the Table.objects.create() method, along with the appropriate arguments, can be used to create a new record in a database table.
  2. Double underscores (__) are used to look up the specific fields of an attribute of a database record. In our example, we use __year, __month, and __day with the publish_date attribute to look up the year, month, and day of that attribute, respectively.
  3. The {% csrf_token %} tag is a way to generate a token that counters cross-site request forgery (CSRF) attacks. This tag is required in a Django application in any given form element.
  4. To set up an SMTP email server, you...
lock icon The rest of the chapter is locked
Register for a free Packt account to unlock a world of extra content!
A free Packt account unlocks extra newsletters, articles, discounted offers, and much more. Start advancing your knowledge today.
Unlock this book and the full library FREE for 7 days
Get unlimited access to 7000+ expert-authored eBooks and videos courses covering every tech area you can think of
Renews at €18.99/month. Cancel anytime