problem with django daj pagination

2014-09-24 Thread Артём Мутерко
I'm trying to set up dajax pagination in py app. The problem is when I add import dajaxwebsite.examples.views to views.py My css stop working. Maybe I should use another ajax pagination plugin? like endless-pagination -- You received this message because you are subscribed to the Google Groups

Can not include jquery in django template

2014-09-23 Thread Артём Мутерко
When I try to include jQuery to my template index.html, I get an blank page. Html source code is loading but I get just white page -- You received this message because you are subscribed to the Google Groups "Django users" group. To unsubscribe from this group and stop receiving emails from i

How to add custom code to default auth.view

2014-09-20 Thread Артём Мутерко
How to add custom code to default auth.view. For example, change REDIRECT_FIELD_NAME variable? -- You received this message because you are subscribed to the Google Groups "Django users" group. To unsubscribe from this group and stop receiving emails from it, send an email to django-users+unsu

Re: Can not understand how to change auth.templates

2014-09-20 Thread Артём Мутерко
that's doesn't work for some reason суббота, 20 сентября 2014 г., 2:42:57 UTC+3 пользователь Collin Anderson написал: > > from django.contrib.auth.views import logout > > urlpatterns = [ > url('^/accounts/logout/', logout, {'next_page': '/'}), > ] > > -- You received this message because yo

Can not understand how to change auth.templates

2014-09-19 Thread Артём Мутерко
I want to redirect user after logout to another page, not account/logout. Hoe can I do this? I've red documentation, but can't understand where to find next_page variable -- You received this message because you are subscribed to the Google Groups "Django users" group. To unsubscribe from this

Simple task. Get request.META values listed on a page via template

2014-09-08 Thread Артём Мутерко
I need to list all values from request.META in Django using template. I've done it without template like this (code from my views.py) def display_meta(request): values = request.META.items() values.sort() html = [] for k, v in values: html.append(‘%s%s’ % (k, v)) return HttpRespo

Re: Save data from form

2014-09-07 Thread Артём Мутерко
Thank you a lot for reply. I thought I could cover Django on fly, but it seems like I have to read some books before. Anyway thank you very much! воскресенье, 7 сентября 2014 г., 10:50:55 UTC+3 пользователь Eddilbert Macharia написал: > > Hi Aptem, > > Your questions is not clearly what exactly

Save data from form

2014-09-06 Thread Артём Мутерко
Hello, can anyone please explain how to handle form post action and save it to database -- You received this message because you are subscribed to the Google Groups "Django users" group. To unsubscribe from this group and stop receiving emails from it, send an email to django-users+unsubscr...