23
I Use This!
Activity Not Available

News

Analyzed 5 months ago. based on code collected almost 4 years ago.
Posted about 11 years ago by Sergey Maranchuk <slav0nic0@…>
Merged in akava/djangobb (pull request #18) Fixed single choice poll logic
Posted about 11 years ago by Sergey Maranchuk <slav0nic0@…>
Merged in akava/djangobb/ipv6_fix (pull request #19) Fixed #176: IPv6 causes warning "Data truncated for column 'user_ip' at row 1"
Posted about 11 years ago by AKavaleu <andrei.kavaleu@…>
Fixed #176: IPv6 causes warning "Data truncated for column 'user_ip' at row 1" Post.user_ip type changed from IPAddressField to GenericIPAddressField
Posted about 11 years ago by akava
django.core.exceptions.ImproperlyConfigured?: Error importing openid store django_authopenid.openid_store: "cannot import name str_to_unicode" I fixed this on my machine by reverting django version to 1.4.5 I installed every dependency via ... [More] setup.by develop and pip install -r requirments. Full stack trace: (djangobb)[1] akavaleu@ubuntu> ./manage.py syncdb --all ~/Projects/djangobb/projects/basic_project Traceback (most recent call last): File "./manage.py", line 10, in <module> execute_from_command_line(sys.argv) File "/home/akavaleu/.virtualenvs/djangobb/local/lib/python2.7/site-packages/Django-1.5.1-py2.7.egg/django/core/management/init.py", line 453, in execute_from_command_line utility.execute() File "/home/akavaleu/.virtualenvs/djangobb/local/lib/python2.7/site-packages/Django-1.5.1-py2.7.egg/django/core/management/init.py", line 392, in execute self.fetch_command(subcommand).run_from_argv(self.argv) File "/home/akavaleu/.virtualenvs/djangobb/local/lib/python2.7/site-packages/Django-1.5.1-py2.7.egg/django/core/management/init.py", line 272, in fetch_command klass = load_command_class(app_name, subcommand) File "/home/akavaleu/.virtualenvs/djangobb/local/lib/python2.7/site-packages/Django-1.5.1-py2.7.egg/django/core/management/init.py", line 77, in load_command_class module = import_module('%s.management.commands.%s' % (app_name, name)) File "/home/akavaleu/.virtualenvs/djangobb/local/lib/python2.7/site-packages/Django-1.5.1-py2.7.egg/django/utils/importlib.py", line 35, in import_module import(name) File "/home/akavaleu/.virtualenvs/djangobb/local/lib/python2.7/site-packages/South-0.7.6-py2.7.egg/south/management/commands/init.py", line 10, in <module> import django.template.loaders.app_directories File "/home/akavaleu/.virtualenvs/djangobb/local/lib/python2.7/site-packages/Django-1.5.1-py2.7.egg/django/template/loaders/app_directories.py", line 23, in <module> mod = import_module(app) File "/home/akavaleu/.virtualenvs/djangobb/local/lib/python2.7/site-packages/Django-1.5.1-py2.7.egg/django/utils/importlib.py", line 35, in import_module import(name) File "/home/akavaleu/.virtualenvs/djangobb/local/lib/python2.7/site-packages/django_authopenid/init.py", line 57, in <module> DjangoOpenIDStore = load_store(settings.OPENID_STORE) File "/home/akavaleu/.virtualenvs/djangobb/local/lib/python2.7/site-packages/django_authopenid/init.py", line 46, in load_store raise ImproperlyConfigured?('Error importing openid store %s: "%s"' % (module, e)) django.core.exceptions.ImproperlyConfigured?: Error importing openid store django_authopenid.openid_store: "cannot import name str_to_unicode" [Less]
Posted about 11 years ago by AKavaleu &lt;andrei.kavaleu@…&gt;
Removed new line accidentally added withing prev fix
Posted about 11 years ago by akava
I made a review of pool functionality logic. For me it looks quite good. The only things I want to fix are: PollForm?.create_poll(). It seems like an action that creates a pool, but this is a check "does user want to create pool". Proposed name is ... [More] has_pool(), a check will be like this "if poll_form.has_pool():", currently it is "if poll_form.create_pool():" Rename Pool.auto_deactivate() to Pool.deactivate_if_expired() English messages are really bad here. I'm not so good in English neither, but I want to change this messages. I need an approval to perform these changes. [Less]
Posted about 11 years ago by AKavaleu &lt;andrei.kavaleu@…&gt;
Fixed single choice poll logic Reason of the bug: For multiple choice pools the form uses MultipleChoiceField? and CheckboxSelectMultiple? widget, but for single choice pools it uses ChoiceField? and RadioSelect?. RadioSelect?+ChoiceField? returns ... [More] only the choice itself, not a list (string id in this case). When we ask len("13"), for example, it returns 2, so validation fails. [Less]
Posted about 11 years ago by slav0nic
django-messages to django-postman django-authopenid to django-socialauth
Posted about 11 years ago by slav0nic
(diff)
Posted about 11 years ago by slav0nic &lt;slav0nic0@…&gt;
fix django 1.5 compability, 1.4 not supported