Django for Designers/Starting our project: Difference between revisions

imported>Aldeka
No edit summary
imported>Aldeka
 
(3 intermediate revisions by the same user not shown)
Line 27:
We've created some branches for you to base your work on. You will use snapshots these as starting points throughout the tutorial. At the end of a section, you'll have your own completed work for that section available, but you'll start fresh from a pristine snapshot of what it would have looked like if you did it our way.</div>
 
To make sure you have the latest collection of thosebranches, run this command:
 
<source lang="bash">
Line 42:
</source>
 
Congratulations! You're now in a branch named my-branch-1!<div class="instructor"> (which is based off of our pre-made branch pre-part-1)</div>! Notice that branches on your own computer have no prefix; branches that belong to others have ''origin/'' before their names.
 
You can see what branch you are in (and what branches are in your repository) at any time by typing:
Line 80:
* myproject/urls.py: The URL declarations for this Django project; a “table of contents” of your Django-powered site.
 
<div class="instructor">Django comes with some local server software included. The Django development server is not hardy enough for actual production use (please, please don't use it for sites other people are supposed to seeuse!) but it makes it easy to see the changes you make to your web app as you build it.</div> Let's make sure our project works by verifying that the dev server will start:
 
<source lang="bash">
Line 303:
$ git add bookmarks/
$ git commit -m "Made a bookmarks app"</source>
 
 
[[Django_for_Designers/Basic_views|Next page]]
Anonymous user