First time here? Check out the FAQ!

wdmytriy's profile - activity

2016-03-26 04:10:59 -0500 received badge Notable Question (source)
2016-03-26 04:10:59 -0500 received badge Popular Question (source)
2014-08-14 15:25:55 -0500 received badge Famous Question (source)
2013-12-23 13:01:35 -0500 commented question Askbot fails when using Nginx+Gunicorn

@kecebongsoft @Evgeny, I'm experiencing exactly the same error - I have dev environment with askbot and everything works just fine but on stage server everything crashes. Did you manage how to resolve the issue?

2013-12-23 12:59:24 -0500 received badge Supporter (source)
2013-12-22 17:21:40 -0500 received badge Scholar ( source )
2013-12-20 10:36:58 -0500 received badge Student (source)
2013-12-20 05:16:28 -0500 asked a question Integrating askbot into existing project: Group and User modifications, Jinja templates

Hello, I'm currently integrating askbot into own app and everything seems to be be good but I have 2 questions though:

  1. Can anyone give me a brief overview on changes to auth_user and auth_group models, I saw that migration created a separate group per every existing user, what is the logic behind that? Is there any list of field changed by askbot to default auth models?
  2. Briefly, what is the motivation behind using Jinja2 for rendering templates? Why did not the authors user default django templates(I use default django templates and underscore js renderer in existing project and consider rewriting Askbot under my tech stack.)

Thanks in advance

2013-12-20 04:28:43 -0500 commented question Error in migration: askbot:0127_save_category_tree_as_json

I had similar problem and fixed it with replacing CATEGORY_TREE with its valuse from settings like: CATEGORY_TREE = '[["dummy",[]]]'

2013-12-20 04:22:59 -0500 answered a question How to make usernames not case sensitive?

Taken from here: shopfiber.com/case-insensitive-username-login-in-django/
Add custom proxy to model authentication backend:

class CaseInsensitiveModelBackend(ModelBackend):
    """
    By default ModelBackend does case _sensitive_ username authentication, which isn't what is
    generally expected.  This backend supports case insensitive username authentication.
    """
    def authenticate(self, username=None, password=None):
        try:
            user = User.objects.get(username__iexact=username)
            if user.check_password(password):
                return user
            else:
                return None
        except User.DoesNotExist:
            return None

Once you have the model defined, edit your settings.py and specify “AUTHENTICATION_BACKENDS”.

AUTHENTICATION_BACKENDS = ('myproject.myapp.backends.CaseInsensitiveModelBacke
2013-12-20 04:01:55 -0500 answered a question jinja2.exceptions.UndefinedError: 'skin' is undefined

I had similar problem(i use askbot as a part of another django app). Most probably you've missed to add skin directory to your staticdirs path.

  STATICFILES_DIRS += (

        ('default/media', os.path.join(ASKBOT_ROOT, 'media')),
    )