Download Shareware and Freeware Software for Windows, Linux, Macintosh, PDA

line Home  |  About Us  |  Link To Us  |  FAQ  |  Contact

Serving Software Downloads in 976 Categories, Downloaded 29.548.894 Times

django-vkontakte-iframe 0.3

Company: Mikhail Korobov
Date Added: June 19, 2013  |  Visits: 203

django-vkontakte-iframe

Report Broken Link
Printer Friendly Version


Product Homepage
Download (24 downloads)

Django app for developing vk.com (aka vkontakte.ru largest, Russian social network) iframe applications.<br /><br />Handles user authentication and registration.<br />Installation<br /><br />$ pip install django-vkontakte-iframe<br /><br />Usage<br /><br /> 1. Register and configure vkontakte iframe application here: http://vkontakte.ru/apps.php?act=add<br /> 2. Add your app's settings to settings.py:<br /><br /> VK_APP_ID = '1234567' # Application ID<br /> VK_APP_KEY = 'M1gytuHwni' # Application key<br /> VK_APP_SECRET = 'MiRFwrDYwcYFCTD18EcY' # Secure key<br /><br /> 3. Add 'vk_iframe' to INSTALLED_APPS<br /> 4. Add 'vk_iframe.backends.VkontakteUserBackend' to AUTHENTICATION_BACKENDS:<br /><br /> AUTHENTICATION_BACKENDS = (<br /> 'django.contrib.auth.backends.ModelBackend',<br /> 'vk_iframe.backends.VkontakteUserBackend',<br /> )<br /><br /> 5. Put 'vk_iframe.middleware.AuthenticationMiddleware' and 'vk_iframe.middleware.LoginRequiredMiddleware' to MIDDLEWARE_CLASSES:<br /><br /> MIDDLEWARE_CLASSES = [<br /> # ...<br /> 'django.contrib.auth.middleware.AuthenticationMiddleware',<br /> # ...<br /> 'vk_iframe.middleware.AuthenticationMiddleware',<br /> # ...<br /> 'django.middleware.locale.LocaleMiddleware',<br /> # ...<br /> 'vk_iframe.middleware.LoginRequiredMiddleware',<br /> ]<br /><br /> Please note that 'vk_iframe.middleware.AuthenticationMiddleware' must be after 'django.contrib.auth.middleware.AuthenticationMiddleware' but before 'django.middleware.locale.LocaleMiddleware'.<br /><br /> 'vk_iframe.middleware.LoginRequiredMiddleware' must be after 'vk_iframe.middleware.AuthenticationMiddleware'.<br /><br /> Vkontakte visitors will be automatically registered and authorized as django users (username == vkontakte user id).<br /><br /> LoginRequiredMiddleware is an optional. It returns 403 for all unauthorized requests with urls not listed in settings.PUBLIC_URLS. You should enable it for security reasons. Example of PUBLIC_URLS:<br /><br /> PUBLIC_URLS = [<br /> '^admin/$',<br /> '^my-callback/',<br /> ]<br /><br /> If i18n is in use then vkontakte user's language will be used as django's user language.<br /> 6. Run python ./manage.py syncdb (or python ./manage.py migrate vk_iframe if South is used)<br /> 7. Optional: load initial geo data (cities and countries):<br /><br /> python manage loaddata vk-geo<br /><br /> 8. If you want to store more user data then put the following line as the 'First API request' ('? NY? A*???*? ?*??a*?? a* ? A*? A*? N*???*? N*???? ? N* API') option (in your app edit page at vkontakte.ru):<br /><br /> method=getProfiles&uids={viewer_id}&format=json&v=3.0&fields=uid,first_name,last_name,nickname,domain,sex,bdate,city,country,timezone,photo,photo_medium,photo_big,has_mobile,rate,contacts,education<br /><br /> 9. That's all. All your app's visitors are now registered and authenticated django users. Additional profile data is available as user.vk_profile.

Requirements: No special requirements
Platforms: *nix, Linux
Keyword: Admin Callback Language Migrate Public Urls Python
Users rating: 0/10

License: Freeware Size: 30.72 KB
DJANGO-VKONTAKTE-IFRAME RELATED
Programming  -  Cython 0.9.6.3
Cython is a language that makes writing C extensions for the Python language as easy as Python itself. It is based on the well-known Pyrex, but supports more cutting edge functionality and optimizations. Development of Cython is mainly...
542.72 KB  
Networking  -  WPMU Admin Interface Language 1.1
Lets WPMU user to select language in backend administration panel.
10 KB  
Utilities  -  VEE, Vim Editor Embedded 3.2 beta
VEE, Vim Embedded Editor is the sum of VIM and X-Terminal and is written by python language, pygtk binding, vte python modules and is tightly integrated with GNOME environment. VEE was started to make a text editor, which was based on the VIM,...
2.8 MB  
Programming  -  boo rc.0.1
boo is a new object oriented statically typed programming language for the CLI (common language infrastructure) with a python inspired syntax and a special focus on language and compiler extensibility.
1.34 MB  
Programming  -  Longenis 0.03alpha
Longenis is a simple, powerful object-oriented scripting language incoporating elements of Python, Tcl, Java, and Lua. It is designed to be light, clean, elegant, and cross-platform.
150 KB  
Reference  -  Bash Programming Reference 1.0.0.5
BASH programming language, a language very similar to Python/Ruby/PHP etc., but is perfect for writing command line programs. Quick glance and learn to write bash script in minutes. Requirements: Windows Phone 8.1, Windows Phone 8
1024 KB  
Development Tools  -  RPy (R from Python) 1.0.3
RPy is a very simple, yet robust, Python interface to the R Programming Language. It can manage all kinds of R objects and can execute arbitrary R functions (including the graphic functions). All errors from the R language are converted to Python...
 
Modules  -  Disable user language 7.x-1.0-beta1
This module disables the language selector in the user profile form for all the users but the first user.The default language for the site is still selectable in the language settings page (http://example.com/admin/settings/language).Version notes...
10 KB  
Modules  -  Consistent Language Interface 6.x-3.7
This module provides a language switching block that is very similar to that provided by the core locale module, however its behavior differs from the locale block in several ways:1. The visibility of language links in the block is consistent and...
20.48 KB  
Programming  -  PyFITS 2.4.0
PyFITS provides an interface to FITS formatted files under the Python scripting language and PyRAF, the Python-based interface to IRAF. PyFITS can be used both for interactive data analysis and for writing analysis scripts in Python...
276.48 KB  
NEW DOWNLOADS IN LINUX SOFTWARE, NETWORK & INTERNET
Linux Software  -  Polling Autodialer Software 3.4
ICTBroadcast Auto Dialer software has a survey campaign for telephone surveys and polls. This auto dialer software automatically dials a list of numbers and asks them a set of questions that they can respond to, by using their telephone keypad....
488 B  
Linux Software  -  Total Video Converter Mac Free 3.5.5
Total Video Converter Mac Free developed by EffectMatrix Ltd is the official legal version of Total Video Converter which was a globally recognized brand since 2006. Total Video Converter Mac Free is a free but powerful all-in-one video...
17.7 MB  
Linux Software  -  Skeith mod_log_sql Analyzer 2.10beta2
Skeith is a php based front end for analyzing logs for Apache using mod_log_sql.
47.5 KB  
Linux Software  -  SLAX 6.0+
Slax is a modern, portable, small and fast Linux operating system with a modular approach and outstanding design. Despite its small size, Slax provides a wide collection of pre-installed software for daily use, including a well organized graphical...
190 KB  
Linux Software  -  GTK+ 2.5
GTK+, which stands for the GIMP Toolkit, is a library for creating graphical user interfaces for the X Window System. It is designed to be small, efficient, and flexible. GTK+ is written in C with a very object-oriented approach. Language bindings...
60 MB  
Network & Internet  -  Free WiFi Hotspot 3.3.1
Free WiFi Hotspot is a super easy solution to turn your laptop or notebook into a portable Wi-Fi hotspot, wirelessly sharing your internet connections like DSL, Cable, Bluetooth, Mobile Broadband Card, Dial-Up, etc. through the built-in wireless...
1.04 MB  
Network & Internet  -  Easy Uploads 1.8
Easy uploads is a file storage media streaming application designed by Filestreamers that allows you to upload, store, and stream your files from their virtually unlimited file storage server. Easy Uploads can backup,share, and stream your files...
615.97 KB  
Network & Internet  -  IPv6 CARE 3.2b
IPv6 CARE, "IPv6 Compliant Automatic Runtime Environment", is a Linux tool able to patch ipv6-agnostic programs on-the-fly ('patch' mode). It can also generate a diagnosis about the IPv6 compliance of an application ('check' mode).
409.6 KB  
Network & Internet  -  PacketFence ZEN 3.1.0
PacketFence is a fully supported, trusted, Free and Open Source network access control (NAC) system. Boosting an impressive feature set including a captive-portal for registration and remediation, centralized wired and wireless management, 802.1X...
1024 MB  
Network & Internet  -  django-dbstorage 1.3
A Django file storage backend for files in the database.
10.24 KB