Comments (4)
Hi John,
We need form element to show up on the new_topic page, but that doesn't require a change to that page's template. The necessary change is here. When Django builds the form based on the Topic
model, it should include an element for the public
field.
If you're not seeing a checkbox for making the topic public after making that change, please let me know.
from pcc_3e.
Hi Eric,
Thank you so much, it works out perfectly.
Additionally, I would like to make a small suggestion: when using Platform.sh on a Windows system, the instructions in the book (as shown in the first image) can be a bit confusing. The inclusion of "(ll_env)" might make it seem like the command should be run in the virtual environment within the CMD, but when running Platform.sh on Windows under WSL, it looks more like the second image. This caused me some confusion and took a bit of time to figure out.
Thanks again for your help. I finally finished reading the book and completed all the code.
from pcc_3e.
I'm glad to hear you made it all the way through, it's a lot of material to cover. :)
Is that a Windows/WSL thing, or is that related to PyCharm? Did you make the virtual environment, or did PyCharm make one for you?
from pcc_3e.
Thank you for writing such a helpful book for Python beginners.
This is not related to PyCharm. I created and activated the virtual environment in CMD using the following commands:
python -m venv ll_env
ll_env\Scripts\activate
What I meant was that all the command lines before using Platform.sh were executed in CMD. After activating the virtual environment, CMD looked like what is shown in the picture, with "(ll_env)" at the beginning. However, when running Platform.sh on Windows, the command line needs to be executed in the WSL Ubuntu environment, where it does not display "(ll_env)".
from pcc_3e.
Related Issues (9)
- Python crash course
- pathlib.Path read_text() HOT 1
- alien_invasion: Pressing Q to Quit HOT 7
- UnboundLocalError: local variable 'range' referenced before assignment HOT 3
- Matplotlib installation through pip HOT 2
- pcc_3e/chapter_11 /test_name_function.py differs from text printed in book HOT 3
- Hello world! from Command Prompt Error HOT 9
- chapter_13/ending_the_game : Ship Limit Discrepancy in Alien Invasion Game
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from pcc_3e.