A story that I did not know how to load a mixin when making a front with the django app [Beginners learn python with a reference book in one hand]

Introduction

Using Takashi Otaka, "Learning by Moving! Introduction to Python Django Development" I'm a beginner who started learning python and Django.

I've been studying programming for about 4 months using ruby / rails, When I changed jobs as an engineer, I decided to use python, so I started studying with this book in my hand.

Since I am a de-class amateur, I would be very grateful if you could comment on supplements and suggestions.

Overview

Once the back end has settled down, I tried the front end work. By the way, if it's'rails', write it in'application.scss' It reads all mixins and so on, but what should django do? ??

result

I want to use a mixin at the beginning of the .SCSS file

@import "mixin.scss";

I should have written it. That's right.

References

Takashi Otaka, "Learn by Moving! Introduction to Python Django Development"

Recommended Posts

A story that I did not know how to load a mixin when making a front with the django app [Beginners learn python with a reference book in one hand]
A story that I wanted to display the division result (%) on HTML with an application using django [Beginner learns python with a reference book in one hand]
A story that I wanted to do a function like before_action used in rails with django [Beginner learns python with a reference book]
A story that I was addicted to when I made SFTP communication with python
A story about converting HTML to PDF with WeasyPrint + matplotlib and embedding graphs [Beginners learn python with a reference book]
Introducing the book "Creating a profitable AI with Python" that allows you to learn machine learning in the shortest course
A story that went missing when I specified a path starting with a tilde (~) in python open
The story that `while queue` did not work in python
How to not escape Japanese when dealing with json in python
The story that 2D list replacement did not work in python
The story of making a module that skips mail with python
The story of making a tool to load an image with Python ⇒ save it as another name
The story that had nothing to do with partitions when I did disk backup with dd for the first time
Try to find the probability that it is a multiple of 3 and not a multiple of 5 when one is removed from a card with natural numbers 1 to 100 using Ruby and Python.
python I don't know how to get the printer name that I usually use.
[Python] I want to know the variables in the function when an error occurs!
A story that did not end with exit when turning while with pipe input
How to drop Google Docs in one folder in a .txt file with python
What I did when I got stuck in the time limit with lambda python
The story of making a web application that records extensive reading with Django
How to get a list of files in the same directory with python
Explaining how to make LINE BOT in the world's easiest way (2) [Preparing a bot application in a local environment with Django in Python]
How to develop a cart app with Django
A story that required preparation when trying to do a Django tutorial with plain centos7
A story that failed when trying to remove the suffix from the string with rstrip
A story that got stuck when trying to upgrade the Python version on GCE
A template that I often use when making Discord BOT in Python (memorial note)
How to use a library that is not originally included in Google App Engine
How to identify the element with the smallest number of characters in a Python list?
I got stuck when trying to specify a relative path with relative_to () in python
When I deployed the Django app to Heroku, I got Module Not Found: <project-name> .wsgi.
How to check in Python if one of the elements of a list is in another list
There is a pattern that the program did not stop when using Python threading
A memo of misunderstanding when trying to load the entire self-made module with Python3
The story that sendmail that can be executed in the terminal did not work with cron
How to find the first element that matches your criteria in a Python list
How to convert / restore a string with [] in python
How to know the current directory in Python in Blender
I want to work with a robot in python.
A memo that I touched the Datastore with python
How to reference static files in a Django project
The story that yapf did not work in vscode
A super introduction to Django by Python beginners! Part 6 I tried to implement the login function
I made a class to get the analysis result by MeCab in ndarray with python
A program that automatically resizes the iOS app icon to the required image size in Python
I made a program to collect images in tweets that I liked on twitter with Python
A story that makes it easier to see Model debugging in the Django + SQLAlchemy environment
A program that failed when trying to create a linebot with reference to "Dialogue system made with python"
I also tried to imitate the function monad and State monad with a generator in Python
I wrote a doctest in "I tried to simulate the probability of a bingo game with Python"
The story I was addicted to when I specified nil as a function argument in Go
[VLC] How to deal with the problem that it is not in the foreground during playback
How to write when you want to put a number after the group number to be replaced with a regular expression in re.sub of Python
A story that I had a hard time trying to create an "app that converts images like paintings" with the first web application
Workaround for the problem that sys.argv is not passed when executing a Python script with only the file name in Python2.7 on Windows
I want to output while converting the value of the type (e.g. datetime) that is not supported when outputting json with python