[web2py] How can we organize the automatic posting to social networks Twitter and faсebook, vkontakt, google+

2014-09-17 Thread Капылов Данил
How can we organize the automatic posting to social networks Twitter and faсebook, vkontakt, google+ Prompt as materials and lessons how to work with veb2py and social networks. -- Resources: - http://web2py.com - http://web2py.com/book (Documentation) - http://github.com/web2py/web2py

[web2py] Problems with send mail.

2014-09-14 Thread Капылов Данил
Problems with send mail. Ad created Letters do not have Hosting PythonAnywhere ## configure email mail = auth.settings.mailer mail.settings.server = 'logging' or 'smtp.gmail.com:587' mail.settings.sender = 'kapy...@gmail.com' mail.settings.login = 'kapy...@gmail.com:secretcode' def

[web2py] How do I configure my domain to hosting PythonAnywhere

2014-09-14 Thread Капылов Данил
How do I configure my domain to hosting PythonAnywhere Give detailed step by step instructions in please -- Resources: - http://web2py.com - http://web2py.com/book (Documentation) - http://github.com/web2py/web2py (Source code) - https://code.google.com/p/web2py/issues/list (Report Issues) ---

[web2py] Re: RSS is an error! What to do?

2014-09-12 Thread Капылов Данил
('created_on', now) ) for entry in feed.get('entries', [])]) return rss.to_xml(encoding='utf-8') please let me know if this fixes it. If not, please send me more details about the feed you are trying to read. On Tuesday, 9 September 2014 00:45:25 UTC-5, Капылов Данил

[web2py] Re: RSS is an error! What to do?

2014-09-09 Thread Капылов Данил
вторник, 9 сентября 2014 г., 10:32:12 UTC+6 пользователь Massimo Di Pierro написал: very strange. try this: link=str((feed.get('link') or '').encode('utf-8', 'replace')), On Monday, 8 September 2014 12:45:25 UTC-5, Капылов Данил wrote: File web2py \ gluon \ serializers.py I did not change

[web2py] RSS is an error! What to do?

2014-09-08 Thread Капылов Данил
type 'exceptions.AttributeError' 'NoneType' object has no attribute 'encode' *Version * web2py™Version 2.9.8-stable+timestamp.2014.09.07.04.13.28PythonPython 2.7.5+: /usr/local/bin/uwsgi (prefix: /usr)Traceback 1. 2. 3. 4. 5. 6. 7. 8. 9. Traceback (most recent call last): File

[web2py] Re: RSS is an error! What to do?

2014-09-08 Thread Капылов Данил
UTC-5, Капылов Данил wrote: type 'exceptions.AttributeError' 'NoneType' object has no attribute 'encode' *Version * web2py™Version 2.9.8-stable+timestamp.2014.09.07.04.13.28PythonPython 2.7.5+: /usr/local/bin/uwsgi (prefix: /usr)Traceback 1. 2. 3. 4. 5. 6. 7. 8. 9. Traceback (most

[web2py] Re: autocomplete widget a disaster on Internet Explorer

2014-08-08 Thread Капылов Данил
Found a way out of this problem --style.css-- #_autocomplete_region_name_div{ position: relative !important; } вторник, 14 июня 2011 г., 2:46:30 UTC+6 пользователь Massimo Di Pierro написал: Do you know why it does not work? On Jun 13, 10:28 am, Anthony abasta...@gmail.com wrote:

[web2py] How to make so that the client database address took 'Id' database client.

2014-08-05 Thread Капылов Данил
*How to make so that the client database address took 'Id' database client. And attached to her **This example is taken from the chapter of a book *One form for multiple tables http://web2py.com/books/default/chapter/29/07/forms-and-validators#One-form-for-multiple-tables

[web2py] Re: How to remove the symbol. What is the cause of its appearance?

2014-07-31 Thread Капылов Данил
, July 24, 2014 11:48:34 PM UTC-7, Капылов Данил wrote: When displaying text in some text at the end appears. and some do not. In this text there is no character. How to fix it was not? p {{if len(row.body)400:}} {{=(row.body[:401

[web2py] How to remove the symbol. What is the cause of its appearance?

2014-07-26 Thread Капылов Данил
When displaying text in some text at the end appears. and some do not. In this text there is no character. How to fix it was not? p {{if len(row.body)400:}} {{=(row.body[:401] + '. . .')}} {{else:}}

[web2py] How to make so that the user can enter (add) a single address.

2014-07-07 Thread Капылов Данил
How to make so that the user can enter (add) a single address. And configure the create an address if more than one address to redirect to main page -- Resources: - http://web2py.com - http://web2py.com/book (Documentation) - http://github.com/web2py/web2py (Source code) -

[web2py] How to conclude posts on one page sorted by creation date in separate blocks.

2014-07-03 Thread Капылов Данил
hello How to conclude posts on one page sorted by creation date in separate blocks. Example: unit - Today, the unit - This week, block - Long -- Resources: - http://web2py.com - http://web2py.com/book (Documentation) - http://github.com/web2py/web2py (Source code) -

[web2py] How to choose a subcategory to create a post

2014-07-03 Thread Капылов Данил
1) Post created in a particular category. - http://hostname/app/default/created_ad/category 2)The category tied subcategories. How to make that SQLFORM display only radio button of equal sub categories. Not show subcategories not belong to this category.

[web2py] class 'sqlite3.IntegrityError' foreign key constraint failed

2014-03-04 Thread Капылов Данил
Pass lessons web2py - DePaul IPD359 Week 2 - Web development with Python and web2py Time on video 2 hours 05 minutes There is an error in the code class'sqlite3.IntegrityError' foreign key constraint failed function: def create_post(): category = get_category_post()