Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
helloworld
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Container registry
Model registry
Operate
Environments
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
django
helloworld
Commits
3643c02e
Commit
3643c02e
authored
9 years ago
by
Leonardo Caballero
Browse files
Options
Downloads
Patches
Plain Diff
Updated README.rst file
parent
c6b0107f
No related branches found
No related tags found
No related merge requests found
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
README.rst
+29
-30
29 additions, 30 deletions
README.rst
with
29 additions
and
30 deletions
README.rst
+
29
−
30
View file @
3643c02e
helloworld
==========
A Django hello world example
A Django
'
hello world
'
example
.
Followed by::
For run this example need to install Django
framework execute the follow command::
$ python manage.py syncdb
$ sudo pip install -r requirements.txt
And later followed by::
$ python manage.py migrate
At which point you should see::
Creating tables ...
Creating table auth_permission
Creating table auth_group_permissions
Creating table auth_group
Creating table auth_user_user_permissions
Creating table auth_user_groups
Creating table auth_user
Creating table auth_message
Creating table django_content_type
Creating table django_session
Creating table django_site
Creating table django_admin_log
Followed by a prompt for your username and new password::
You just installed Django's auth system, which means you don't have any
superusers defined.
Would you like to create one now? (yes/no): yes
Username (Leave blank to use 'admin'): admin
E-mail address: YOUREMAIL@EMAILSERVICE
Password:
Password (again):
Superuser created successfully.
Installing custom SQL ...
Installing indexes ...
No fixtures found.
Operations to perform:
Apply all migrations: admin, contenttypes, sites, auth, sessions
Running migrations:
Rendering model states... DONE
Applying contenttypes.0001_initial... OK
Applying auth.0001_initial... OK
Applying admin.0001_initial... OK
Applying admin.0002_logentry_remove_auto_add... OK
Applying contenttypes.0002_remove_content_type_name... OK
Applying auth.0002_alter_permission_name_max_length... OK
Applying auth.0003_alter_user_email_max_length... OK
Applying auth.0004_alter_user_username_opts... OK
Applying auth.0005_alter_user_last_login_null... OK
Applying auth.0006_require_contenttypes_0002... OK
Applying auth.0007_alter_validators_add_error_messages... OK
Applying sessions.0001_initial... OK
Applying sites.0001_initial... OK
Applying sites.0002_alter_domain_unique... OK
After which you can run::
...
...
@@ -49,4 +46,6 @@ And you can see the hello world example like this :
.. image:: https://github.com/django-ve/helloworld/raw/master/docs/django_helloword.png
:width: 332px
:align: center
:alt: A Django 1.4 'Hello World' example
:alt: A Django 'Hello World' example
A Django 'Hello World' example
\ No newline at end of file
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment