tag: markdown

  • How to create a fullstack application using Django and Python Part 27

    How to create a fullstack application using Django and Python Part 27

    Maria D. Campbell

    In this section, I make some adjustments to existing functionalities, sanitize our Markdown, add code formatting and highlighting to our Markdown, create tests for the ProfileListView, protected function based profile view, and profile_detail view, update accounts/tests/test_form_signup_test.py, fix the topic posts avatar issue, and explain the extended profile functionality.

    #fullstack development, #macOS, #django, #python3, #code refactoring, #markdown, #nh3, #sanitization, #fenced code, #code highlighting, #pygments, #series, #tests, #unittest

  • How to create a fullstack application using Django and Python Part 24

    How to create a fullstack application using Django and Python Part 24

    Maria D. Campbell

    In this section, I add markdown functionality to the Post model, the reply_topic.html and topic_posts.html templates, and I implement ES6 modules to our JavaScript code. This means refactoring the copy (link) button and associated html markup and CSS. I refactor and modularize the scroll top and bottom button JavaScript code and associated CSS, modularize the pagination behavior JavaScript code, import the ES6 modules into a new file called app.js, and add the type="module" attribute to the app.js script tag in templates/base.html.

    #fullstack development, #macOS, #django, #code refactoring, #es6 modules, #javascript, #markdown, #series