{ "info": { "author": "Gustavo Maronato", "author_email": "gustavomaronato@gmail.com", "bugtrack_url": null, "classifiers": [ "Environment :: Web Environment", "Framework :: Django", "Intended Audience :: Developers", "License :: OSI Approved :: MIT License", "Operating System :: OS Independent", "Programming Language :: Python", "Programming Language :: Python :: 3", "Programming Language :: Python :: 3.4", "Programming Language :: Python :: 3.5", "Topic :: Internet :: WWW/HTTP", "Topic :: Internet :: WWW/HTTP :: Dynamic Content" ], "description": "Quick start\n-----------\n1. Add `git+https://github.com/Maronato/maro_auth.git` to your `requirements.txt`\n\n2. Add `maro_auth` to the _end_ of your INSTALLED_APPS setting like this::\n ```Python\n INSTALLED_APPS = [\n ...\n 'maro_auth',\n ]\n ```\n\n3. Include the URLconf in your project urls.py like this::\n\n `url(r'^auth/', include('maro_auth.urls', namespace='maro_auth')),`\n\n4. Run `python manage.py migrate` to create the auth models.\n\n5. Add the following settings to your `settings.py` to configure the app:\n\n ```Python\n INDEX_URL_NAME = 'index' # name of your project's index url. Used on redirects\n\n PROFILE_URL_NAME = 'profile' # name of your project's profile url. Used on redirects\n\n SITE_URL = 'http://localhost:8000' # your site's url, without the '/' at the end. Used on emails\n\n PROJECT_NAME = 'Projeto Gen\u00e9rico' # your project's name. Used on emails\n\n LIMIT_USERS = True # Whether or not to limit your users to DAC users only. Used during signup evaluation\n\n PROFILE_APP_NAME = 'auth' # (optional) the name of the app containing your Profile model\n\n PROFILE_MODEL_NAME = 'User' # (optional) the name of the Profile model you'll want to use and associate with your Users\n\n FIELDS = ('first_name', 'email', 'last_name') # (optional) the Profile fields that you want to include in your signup form\n\n EXCLUDE = ('username', 'password1', 'password2') # (optional) the Profile fields that you want to exclude from your signup form\n ```\n\n And also don't forget to setup your email sending protocols:\n ```Python\n DEFAULT_FROM_EMAIL = 'example@example.com'\n EMAIL_HOST_USER = 'example@example.com'\n EMAIL_HOST_PASSWORD = 'super_s3cret'\n EMAIL_USE_TLS = True\n EMAIL_HOST = 'smtp.gmail.com'\n EMAIL_PORT = 587\n SERVER_EMAIL = 'example@example.com'\n ```\n\n And, if you want to receive error logs:\n\n `ADMINS = [('Admin', 'admin@example.com'), ]`\n\nCustomizing the templates\n-------------------------\n\nAdd a folder called `maro_auth` to your app's templates, as in\n\n```\n|my_app/\n|---- templates/\n |---- maro_auth/\n |---- email/\n |---- change_email.html\n |---- change_email.txt\n |---- reset_password.html\n |---- reset_password.txt\n |---- welcome_email.html\n |---- welcome_email.txt\n |---- login.html\n |---- reset_password.html\n |---- reset_password_complete.html\n |---- reset_password_confirm.html\n |---- reset_password_done.html\n |---- set_password.html\n |---- signup.html\n```\n\nYou can now modify all the default templates at will", "description_content_type": null, "docs_url": null, "download_url": null, "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "UNKNOWN", "keywords": null, "license": "MIT License", "maintainer": null, "maintainer_email": null, "name": "maro-auth", "package_url": "https://pypi.org/project/maro-auth/", "platform": "UNKNOWN", "project_url": "https://pypi.org/project/maro-auth/", "project_urls": { "Homepage": "UNKNOWN" }, "release_url": "https://pypi.org/project/maro-auth/0.1/", "requires_dist": null, "requires_python": null, "summary": "A simple Django app to manage auth", "version": "0.1" }, "last_serial": 2803031, "releases": { "0.1": [ { "comment_text": "", "digests": { "md5": "15941cf47a7b6700b1ceb73527b8c2ca", "sha256": "c140d50ea4f0ce2f7f0d0a87c883f1bbe8fc4974e1881d3d2d4cfe644ce69434" }, "downloads": -1, "filename": "maro_auth-0.1.tar.gz", "has_sig": false, "md5_digest": "15941cf47a7b6700b1ceb73527b8c2ca", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 13125, "upload_time": "2017-04-14T04:53:49", "url": "https://files.pythonhosted.org/packages/68/c5/a1ac4e85dcd8cb68bf8599f8bdbf60423aab2102c5db4373bd8f157b3223/maro_auth-0.1.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "15941cf47a7b6700b1ceb73527b8c2ca", "sha256": "c140d50ea4f0ce2f7f0d0a87c883f1bbe8fc4974e1881d3d2d4cfe644ce69434" }, "downloads": -1, "filename": "maro_auth-0.1.tar.gz", "has_sig": false, "md5_digest": "15941cf47a7b6700b1ceb73527b8c2ca", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 13125, "upload_time": "2017-04-14T04:53:49", "url": "https://files.pythonhosted.org/packages/68/c5/a1ac4e85dcd8cb68bf8599f8bdbf60423aab2102c5db4373bd8f157b3223/maro_auth-0.1.tar.gz" } ] }