diff --git a/.gitignore b/.gitignore index e2b40e4..f49b576 100755 --- a/.gitignore +++ b/.gitignore @@ -1,4 +1,49 @@ -/.idea -*.pyc -*.pyo -*.bd \ No newline at end of file +# preciosa +site_media +datasets +backups +local_settings.py +waliki_data +.nose* +.noseids +*.db +*.sqlite3 +*.swp +docs/_build/* + +*.py[cod] + +# C extensions +*.so + +# Packages +*.egg +*.egg-info +dist +build +eggs +parts +bin +var +sdist +develop-eggs +.installed.cfg +lib +lib64 + +# Installer logs +pip-log.txt + +# Unit test / coverage reports +.coverage +.tox +nosetests.xml + +# Translations +*.mo + +# Mr Developer +.mr.developer.cfg +.project +.pydevproject +.ropeproject diff --git a/README.md b/README.md deleted file mode 100644 index 3f0c0ca..0000000 --- a/README.md +++ /dev/null @@ -1,38 +0,0 @@ -# Django Registration Bootstrap - -##Simple sample using bootstrap from twitter in forms of Django - -Using Bootstrap from Twitter version 3.0.3 - -And Django version 1.6.1 - -http://twitter.github.com/bootstrap - -To run, just download and do runserver: -``` shell - python manage.py runserver 8000 -``` - -username: demo -password: demo - -# Screenshots - -![home](https://raw.github.com/ebertti/django-registration-bootstrap/master/screenshot/home_pt.png) - -![login](https://raw.github.com/ebertti/django-registration-bootstrap/master/screenshot/loggin_pt.png) -![login error](https://raw.github.com/ebertti/django-registration-bootstrap/master/screenshot/loggin_error_pt.png) - -![password change](https://raw.github.com/ebertti/django-registration-bootstrap/master/screenshot/password_change_pt.png) -![password change error](https://raw.github.com/ebertti/django-registration-bootstrap/master/screenshot/password_change_error_pt.png) - -![password reset](https://raw.github.com/ebertti/django-registration-bootstrap/master/screenshot/password_reset_pt.png) -![password reset error](https://raw.github.com/ebertti/django-registration-bootstrap/master/screenshot/password_reset_error_pt.png) - - - -## Changelog - -2014-01-16 by EBertti - -- Update Bootstrat to 3.0.3 and Django to 1.6.1 diff --git a/README.rst b/README.rst new file mode 100644 index 0000000..34e762c --- /dev/null +++ b/README.rst @@ -0,0 +1,71 @@ +Django Registration Bootstrap +============================= + +Install it +---------- + +.. code-block:: bash + + $ pip install https://github.com/ebertti/django-registration-bootstrap/archive/master.zip + +Into the settings file, add the following to ``INSTALLED_APPS``: + +.. code-block:: python + + INSTALLED_APPS = ( + # ... everything else + + # Add the templates via INSTALLED_APPS + 'registration_bootstrap3', + ) + + + + + +Simple sample using bootstrap from twitter in forms of Django +------------------------------------------------------------- + +Using Bootstrap from Twitter version 3.0.3 + +And Django version 1.6.1 + +http://twitter.github.com/bootstrap + +To run, just download and do runserver: +``shell python manage.py runserver 8000`` + +username: demo password: demo + +Screenshots +=========== + +.. figure:: https://raw.github.com/ebertti/django-registration-bootstrap/master/screenshot/home_pt.png + :align: center + :alt: home + + home +|login| |login error| + +|password change| |password change error| + +|password reset| |password reset error| + +Changelog +--------- + +2014-01-16 by EBertti + +- Update Bootstrat to 3.0.3 and Django to 1.6.1 + +.. |login| image:: https://raw.github.com/ebertti/django-registration-bootstrap/master/screenshot/loggin_pt.png +.. |login +error| image:: https://raw.github.com/ebertti/django-registration-bootstrap/master/screenshot/loggin_error_pt.png +.. |password +change| image:: https://raw.github.com/ebertti/django-registration-bootstrap/master/screenshot/password_change_pt.png +.. |password change +error| image:: https://raw.github.com/ebertti/django-registration-bootstrap/master/screenshot/password_change_error_pt.png +.. |password +reset| image:: https://raw.github.com/ebertti/django-registration-bootstrap/master/screenshot/password_reset_pt.png +.. |password reset +error| image:: https://raw.github.com/ebertti/django-registration-bootstrap/master/screenshot/password_reset_error_pt.png diff --git a/app_sample/__init__.py b/app_sample/__init__.py deleted file mode 100644 index e69de29..0000000 diff --git a/project_sample/settings.py b/project_sample/settings.py index e54742a..17f698e 100644 --- a/project_sample/settings.py +++ b/project_sample/settings.py @@ -37,7 +37,7 @@ 'django.contrib.messages', 'django.contrib.staticfiles', 'django.contrib.sites', - 'app_sample', + 'registration_bootstrap3', ) MIDDLEWARE_CLASSES = ( diff --git a/registration_bootstrap3/__init__.py b/registration_bootstrap3/__init__.py new file mode 100644 index 0000000..11d27f8 --- /dev/null +++ b/registration_bootstrap3/__init__.py @@ -0,0 +1 @@ +__version__ = '0.1' diff --git a/app_sample/context_processor.py b/registration_bootstrap3/context_processor.py similarity index 100% rename from app_sample/context_processor.py rename to registration_bootstrap3/context_processor.py diff --git a/app_sample/models.py b/registration_bootstrap3/models.py similarity index 100% rename from app_sample/models.py rename to registration_bootstrap3/models.py diff --git a/app_sample/static/bootstrap/css/bootstrap-theme.css b/registration_bootstrap3/static/bootstrap/css/bootstrap-theme.css similarity index 100% rename from app_sample/static/bootstrap/css/bootstrap-theme.css rename to registration_bootstrap3/static/bootstrap/css/bootstrap-theme.css diff --git a/app_sample/static/bootstrap/css/bootstrap-theme.min.css b/registration_bootstrap3/static/bootstrap/css/bootstrap-theme.min.css similarity index 100% rename from app_sample/static/bootstrap/css/bootstrap-theme.min.css rename to registration_bootstrap3/static/bootstrap/css/bootstrap-theme.min.css diff --git a/app_sample/static/bootstrap/css/bootstrap.css b/registration_bootstrap3/static/bootstrap/css/bootstrap.css similarity index 100% rename from app_sample/static/bootstrap/css/bootstrap.css rename to registration_bootstrap3/static/bootstrap/css/bootstrap.css diff --git a/app_sample/static/bootstrap/css/bootstrap.min.css b/registration_bootstrap3/static/bootstrap/css/bootstrap.min.css similarity index 100% rename from app_sample/static/bootstrap/css/bootstrap.min.css rename to registration_bootstrap3/static/bootstrap/css/bootstrap.min.css diff --git a/app_sample/static/bootstrap/fonts/glyphicons-halflings-regular.eot b/registration_bootstrap3/static/bootstrap/fonts/glyphicons-halflings-regular.eot similarity index 100% rename from app_sample/static/bootstrap/fonts/glyphicons-halflings-regular.eot rename to registration_bootstrap3/static/bootstrap/fonts/glyphicons-halflings-regular.eot diff --git a/app_sample/static/bootstrap/fonts/glyphicons-halflings-regular.svg b/registration_bootstrap3/static/bootstrap/fonts/glyphicons-halflings-regular.svg similarity index 100% rename from app_sample/static/bootstrap/fonts/glyphicons-halflings-regular.svg rename to registration_bootstrap3/static/bootstrap/fonts/glyphicons-halflings-regular.svg diff --git a/app_sample/static/bootstrap/fonts/glyphicons-halflings-regular.ttf b/registration_bootstrap3/static/bootstrap/fonts/glyphicons-halflings-regular.ttf similarity index 100% rename from app_sample/static/bootstrap/fonts/glyphicons-halflings-regular.ttf rename to registration_bootstrap3/static/bootstrap/fonts/glyphicons-halflings-regular.ttf diff --git a/app_sample/static/bootstrap/fonts/glyphicons-halflings-regular.woff b/registration_bootstrap3/static/bootstrap/fonts/glyphicons-halflings-regular.woff similarity index 100% rename from app_sample/static/bootstrap/fonts/glyphicons-halflings-regular.woff rename to registration_bootstrap3/static/bootstrap/fonts/glyphicons-halflings-regular.woff diff --git a/app_sample/static/bootstrap/js/bootstrap.js b/registration_bootstrap3/static/bootstrap/js/bootstrap.js similarity index 100% rename from app_sample/static/bootstrap/js/bootstrap.js rename to registration_bootstrap3/static/bootstrap/js/bootstrap.js diff --git a/app_sample/static/bootstrap/js/bootstrap.min.js b/registration_bootstrap3/static/bootstrap/js/bootstrap.min.js similarity index 100% rename from app_sample/static/bootstrap/js/bootstrap.min.js rename to registration_bootstrap3/static/bootstrap/js/bootstrap.min.js diff --git a/templates/base.html b/registration_bootstrap3/templates/base.html similarity index 95% rename from templates/base.html rename to registration_bootstrap3/templates/base.html index 4ea8fa8..bc7b965 100644 --- a/templates/base.html +++ b/registration_bootstrap3/templates/base.html @@ -29,11 +29,11 @@ - {{ site.name }} + {{ site.name }}