django-classified-1.0


توضیحات

Django Classified
ویژگی مقدار
سیستم عامل OS Independent
نام فایل django-classified-1.0
نام django-classified
نسخه کتابخانه 1.0
نگهدارنده []
ایمیل نگهدارنده []
نویسنده Sergey Lyapustin
ایمیل نویسنده s.lyapustin@gmail.com
آدرس صفحه اصلی https://github.com/slyapustin/django-classified
آدرس اینترنتی https://pypi.org/project/django-classified/
مجوز -
# Django Classified ## Features * Item groups, categories and areas (for ex. Cities ot Locations) * Image * upload multiple images per item * generating preview (via [sorl-thumbnail](https://github.com/mariocesar/sorl-thumbnail)) * display using [Lightbox JS](http://lokeshdhakar.com/projects/lightbox2/) library * Search ability * SEO optimization * SEO-friendly urls * generating META description and meta keywords * sitemap.xml * robots.txt * RSS feed * Google Analytics integration * [Open Graph protocol](http://ogp.me/) support * Caching * Translation * English * Russian * French (thanks to [Teolemon](https://github.com/teolemon)) * Turkish (thanks to [Mirat Can Bayrak](https://github.com/miratcan)) * Spanish (thanks to [4bimcad](https://github.com/4bimcad)) * Help translate to other languages at [Transifex](https://www.transifex.com/inoks/django-classified/) ## Requirements * Python >=3.8 * Django >=3.2 ## Design * [Twitter Bootstrap Jumbotron](http://getbootstrap.com/examples/jumbotron-narrow/) ## Demo project Demo project with user registration (via Email/Facebook) available [here](https://github.com/slyapustin/django-classified-demo). ## Installation * Install app `pip install django-classified` * Add `django_classified` to the `INSTALLED_APPS`: ```python INSTALLED_APPS = [ # Django applications required by Django Classified 'django.contrib.admin', 'django.contrib.auth', 'django.contrib.contenttypes', 'django.contrib.humanize', 'django.contrib.messages', 'django.contrib.sessions', 'django.contrib.sitemaps', 'django.contrib.sites', 'django.contrib.staticfiles', # External applications required by Django Classified 'bootstrapform', 'sorl.thumbnail', # Django Classified 'django_classified', ] ``` * Add `url(r'', include('django_classified.urls', namespace='django_classified')),` to the project `urls.py` file: ```python urlpatterns = patterns( url(r'', include('django_classified.urls', namespace='django_classified'), ) ``` * Add `'django_classified.context_processors.common_values'` to the settings `TEMPLATES` `context_processors` list: ```python TEMPLATES[0]['OPTIONS']['context_processors'].append('django_classified.context_processors.common_values') ``` ## Customization: You can provide additional customization in settings.py * `DCF_SITE_NAME` - Site title * `DCF_SITE_DESCRIPTION` - Site description * `DCF_ITEM_PER_USER_LIMIT` - Max Items allowed per user * `DCF_SITEMAP_LIMIT` - Sitemap items limit * `DCF_RSS_LIMIT` - RSS feed items limit * `DCF_RELATED_LIMIT` - Number of related items displayed * `DCF_ITEM_PER_PAGE` - Number of items per page * `DCF_LOGIN_TO_CONTACT` - Hide contact information for unauthorized requests * `DCF_DISPLAY_EMPTY_GROUPS` - Display groups without items in the groups list ## Credits * Thanks [JetBrains](https://www.jetbrains.com) for the awesome [PyCharm](https://www.jetbrains.com/pycharm/) IDE.


نیازمندی

مقدار نام
- django-bootstrap-form
- django-filter
<4.1,>=3.2 Django
>=6.0 Pillow
>=12.6 sorl-thumbnail
- unidecode
<3.0,>=1.0 Babel


زبان مورد نیاز

مقدار نام
>=3.8 Python


نحوه نصب


نصب پکیج whl django-classified-1.0:

    pip install django-classified-1.0.whl


نصب پکیج tar.gz django-classified-1.0:

    pip install django-classified-1.0.tar.gz