Re: django_bootstrap_calendar and admin backend

2016-07-20 Thread ludovic coues
it shouldn't be too hard to port it to python3. The module is mainly
javascript, not python.

Once the app can return json, it should work fine.



2016-07-20 20:40 GMT+02:00 Cronos Cto :
> That explains alot of the issues I am having. Since it is a compatibility
> issue, I am guessing there is no way to make it work right?
>
> --
> 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...@googlegroups.com.
> To post to this group, send email to django-users@googlegroups.com.
> Visit this group at https://groups.google.com/group/django-users.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/django-users/9fcc888d-d258-4fc9-8fe9-52b1673e761c%40googlegroups.com.
>
> For more options, visit https://groups.google.com/d/optout.



-- 

Cordialement, Coues Ludovic
+336 148 743 42

-- 
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...@googlegroups.com.
To post to this group, send email to django-users@googlegroups.com.
Visit this group at https://groups.google.com/group/django-users.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-users/CAEuG%2BTZqjV04wj%3DV25TyBLLuZCNnMXnrUU67PRSBeF%3DFrbeGUQ%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.


Re: Django simple Captacha

2016-07-20 Thread Jeff Willette
I wrote a simple app to use googles recaptcha, you can read about how to 
install it here... http://jrwillette.com/post/how-to-use-django-g-recaptcha/

On Tuesday, July 19, 2016 at 11:54:32 PM UTC+9, Ajay Kumar wrote:
>
> hi Guys
>
> I tried django-simple-captcha on refering 
> http://django-simple-captcha.readthedocs.io/…/la…/usage.html 
> . Every 
> thing works well and goes fine, I need few suggestion on it.
>
> 1. How efficiency is this?
> 2. How strong is this?
> 3. How easy/hard to cark this captcha?
> 4. Can we use this to high end applications?
>
> Guys please suggest me for above line items or any this else there please 
> let me know about django-simple-captcha, please explain me the pros and 
> cons of django-simple-captcha. Thanks in advance.
>

-- 
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...@googlegroups.com.
To post to this group, send email to django-users@googlegroups.com.
Visit this group at https://groups.google.com/group/django-users.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-users/492af8c4-eccf-4948-9063-f457ab7482b0%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: django_bootstrap_calendar and admin backend

2016-07-20 Thread Cronos Cto
That explains alot of the issues I am having. Since it is a compatibility 
issue, I am guessing there is no way to make it work right?

-- 
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...@googlegroups.com.
To post to this group, send email to django-users@googlegroups.com.
Visit this group at https://groups.google.com/group/django-users.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-users/9fcc888d-d258-4fc9-8fe9-52b1673e761c%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: Is it possible to share a DB between Django and another application

2016-07-20 Thread Tim Graham
Yes, databases can accept connections from different applications.

On Wednesday, July 20, 2016 at 11:31:48 AM UTC-4, Albert180 wrote:
>
> Hello I wanted to know if it's possible to share a Database between a 
> Django App ( The WebApp) and another external App which processes the Data ?
>

-- 
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...@googlegroups.com.
To post to this group, send email to django-users@googlegroups.com.
Visit this group at https://groups.google.com/group/django-users.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-users/1398d4c6-1287-4124-a76b-f92647a9995f%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: Running Django tests for postgres_tests

2016-07-20 Thread Tim Graham
You need to use a custom settings module that uses the postgresql database 
backend.

https://docs.djangoproject.com/en/dev/internals/contributing/writing-code/unit-tests/#using-another-settings-module

On Tuesday, July 19, 2016 at 11:37:35 PM UTC-4, premdjango wrote:
>
> I'm trying to run django tests for a particular module - postgres_tests. 
> The tests runs but it says it skipped=312 tests, I believe none of the test 
> case run.
>
>
> How do I fix this issue?
>
>
>
>
> (djangodev) Anands-MBP:tests laks$ ./runtests.py postgres_tests
>
> Testing against Django installed in 
> '/Users/premanandlakshmanan/Documents/django-contribute/django/django' with 
> up to 8 processes
>
> Creating test database for alias 'default'...
>
> Cloning test database for alias 'default'...
>
> Cloning test database for alias 'default'...
>
> Cloning test database for alias 'default'...
>
> Cloning test database for alias 'default'...
>
> Cloning test database for alias 'default'...
>
> Cloning test database for alias 'default'...
>
> Cloning test database for alias 'default'...
>
> Cloning test database for alias 'default'...
>
> Creating test database for alias 'other'...
>
> Cloning test database for alias 'other'...
>
> Cloning test database for alias 'other'...
>
> Cloning test database for alias 'other'...
>
> Cloning test database for alias 'other'...
>
> Cloning test database for alias 'other'...
>
> Cloning test database for alias 'other'...
>
> Cloning test database for alias 'other'...
>
> Cloning test database for alias 'other'...
>
>
> 
>
> --
>
> Ran 312 tests in 0.149s
>
>
> OK (skipped=312)
>
> Destroying test database for alias 'default'...
>
> Destroying test database for alias 'default'...
>
> Destroying test database for alias 'default'...
>
> Destroying test database for alias 'default'...
>
> Destroying test database for alias 'default'...
>
> Destroying test database for alias 'default'...
>
> Destroying test database for alias 'default'...
>
> Destroying test database for alias 'default'...
>
> Destroying test database for alias 'default'...
>
> Destroying test database for alias 'other'...
>
> Destroying test database for alias 'other'...
>
> Destroying test database for alias 'other'...
>
> Destroying test database for alias 'other'...
>
> Destroying test database for alias 'other'...
>
> Destroying test database for alias 'other'...
>
> Destroying test database for alias 'other'...
>
> Destroying test database for alias 'other'...
>
> Destroying test database for alias 'other'...
>

-- 
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...@googlegroups.com.
To post to this group, send email to django-users@googlegroups.com.
Visit this group at https://groups.google.com/group/django-users.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-users/2b7bfb89-8fcb-4598-9329-087331ff8dc8%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Is it possible to share a DB between Django and another application

2016-07-20 Thread Albert180
Hello I wanted to know if it's possible to share a Database between a 
Django App ( The WebApp) and another external App which processes the Data ?

-- 
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...@googlegroups.com.
To post to this group, send email to django-users@googlegroups.com.
Visit this group at https://groups.google.com/group/django-users.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-users/5b863fe3-c99f-44cf-b3fa-1773911a2223%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Potential Contract to Hire Opportunity with our Direct Customer in Santa Clara CA [Fullstack Python Developer (Python / Django]

2016-07-20 Thread venkat . dhanikonda
Hi All,

We have an Potential Contract to Hire opportunity for an *FULL STACK PYTHON 
DJANGO DEVELOPER* for our esteemed client in Santa Clara CA.

Anyone interested, Please respond with their updated profiles to 
*venkat.dhaniko...@accionlabs.com*

The position requires high-end engineering skills, core Fullstack 
engineering expertise within UI (Angular). Backend (Python-Django), Linux 
and PostgreSQL. Candidate will work on all new cutting-edge software, 
follow agile best practices, thrive at forefront of all Software 
Engineering related challenges related to high-end Product Development.

 

*Job Title: **Fullstack Python Developer*

*Primary Skills: *- *Python / Django - Celery - JavaScript / AnguarJS - Any 
RDBMS SQL*
*Location: Santa Clara, CA*
*Duration: 12 months CTH*

 

*SKILLS:*

· 5+ years in Python development as a backend

· Development using Django framework

· Familiar with messaging using Celery

· Familiar with RESTful web services

· Frontend skills using HTML/CSS/JavaScript

· AngularJS experience

· Deployment using Linux / Docker or similar

· RDBMS SQL using any such as Postgres/SQL Server/Vertica


Thanks & Regards,

*Venkat D*
Direct: 724 278 0081
Email: venkat.dhaniko...@accionlabs.com


-- 
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...@googlegroups.com.
To post to this group, send email to django-users@googlegroups.com.
Visit this group at https://groups.google.com/group/django-users.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-users/350b476f-dc38-4185-8f4c-696a96680ddb%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: Real-Time Data Streaming

2016-07-20 Thread Derek
You may not actually need Django in this mix - e.g. 
http://xingwu.me/2014/10/19/Real-time-Web-Dashboard-Using-Socket-io-and-Highcharts/


On Monday, 18 July 2016 21:49:48 UTC+2, pvmer...@gmail.com wrote:
>
> Hello Everyone,
>
>I am working on a project where I want to display/plot graphs in 
> real-time using Django, nodejs, Socket.io, Redis. Can someone please post a 
> tutorial on real-time application with Django?
>
> Regards,
>
> PM 
>

-- 
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...@googlegroups.com.
To post to this group, send email to django-users@googlegroups.com.
Visit this group at https://groups.google.com/group/django-users.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-users/cd5ede0c-f810-4b24-a36c-31940588a0ab%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Django admin raises CSRF verification failed when changing from DEBUG True - > False

2016-07-20 Thread Muhammed Riyas
Hi All,

I am having a difficulty with my Django site. In which I was running 
smoothly in dubug mode(DEBUG = True). While changing it to DEBUG = False 
(Also set ALLOWED_HOSTS = ['*']) , it raises error when logging in to admin 
"
Forbidden (403)

CSRF verification failed. Request aborted.
More information is available with DEBUG=True."

I haven't set any value in CSRF_COOKIE_DOMAIN and CSRF_COOKIE_SECURE. 

I couldn't find any information on log. What is the reason behind this.?

-- 
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...@googlegroups.com.
To post to this group, send email to django-users@googlegroups.com.
Visit this group at https://groups.google.com/group/django-users.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-users/bd18c74f-ff67-4574-9ff1-d3e977577e03%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: django_bootstrap_calendar and admin backend

2016-07-20 Thread ludovic coues
You might have noticed, the calendar view is a generic template view.
It only display an html page.
All the work is done with js. If everything work fine, it fetch the
list of even for the period with ajax and add the event in the
calendar.

/calendar/json should return the list of event. As you can see, you
get an error. The problem is that the library is python2 only. The
type unicode have been removed in python3 as every str are now
unicode.

I managed to make the library work only with python2.

2016-07-19 21:23 GMT+02:00 Cronos Cto :
> This happened. Sorry for taking so long, had exams to take care of.
>
> --
> 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...@googlegroups.com.
> To post to this group, send email to django-users@googlegroups.com.
> Visit this group at https://groups.google.com/group/django-users.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/django-users/32bb5e5c-6a72-446b-a8b5-25c3f93badf7%40googlegroups.com.
>
> For more options, visit https://groups.google.com/d/optout.



-- 

Cordialement, Coues Ludovic
+336 148 743 42

-- 
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...@googlegroups.com.
To post to this group, send email to django-users@googlegroups.com.
Visit this group at https://groups.google.com/group/django-users.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-users/CAEuG%2BTawTc5kLA%2Bx1DmgXUTeM%2BzKZ%2BTBe2O0Pz%3D6874%3D582EkA%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.


Re: Getting an error when I try to make an html page on django

2016-07-20 Thread ludovic coues
Like it have been said, it look like there is no object with id 2.
If you want more details, you'll need to share the content of your
view function.



2016-07-19 20:21 GMT+02:00 Sergiy Khohlov :
> Looks like you have deleted artist with Id#2.
>
>
> 19 лип. 2016 18:21 "Jose"  пише:
>
>>
>>
>> On Tuesday, July 19, 2016 at 8:15:54 AM UTC-4, Jose wrote:
>>>
>>> I was watching a Django tutorial video and on the video the guy writes
>>> the exact same code I have on the picture. In the video whats inside of his
>>> curly brackets turns to purple. Mine does not turn purple and there is
>>> something wrong since I get an error when I run the code. Why is anything I
>>> write inside of the curly brackets not turning purple? I suspect that is why
>>> I get an error when I run the server and try to open the webpage.
>>>
>>>
>> --
>> 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...@googlegroups.com.
>> To post to this group, send email to django-users@googlegroups.com.
>> Visit this group at https://groups.google.com/group/django-users.
>> To view this discussion on the web visit
>> https://groups.google.com/d/msgid/django-users/412953f9-6d21-4dd6-bf53-dc6c07ac9e2f%40googlegroups.com.
>> For more options, visit https://groups.google.com/d/optout.
>
> --
> 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...@googlegroups.com.
> To post to this group, send email to django-users@googlegroups.com.
> Visit this group at https://groups.google.com/group/django-users.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/django-users/CADTRxJPNct_1_W6WBEDKjYTYw7w4W2M4%2BQwSeCF191fVrfnvyQ%40mail.gmail.com.
>
> For more options, visit https://groups.google.com/d/optout.



-- 

Cordialement, Coues Ludovic
+336 148 743 42

-- 
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...@googlegroups.com.
To post to this group, send email to django-users@googlegroups.com.
Visit this group at https://groups.google.com/group/django-users.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-users/CAEuG%2BTacGg%3DGJ9W7NPn83C0yM94YTtwx3EsRwUaLomm5whiRiw%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.


Re: For loop did not working ...

2016-07-20 Thread Asad ur Rehman
def campaign_list(request):
"""List all campaigns for the logged in user

**Attributes**:

* ``template`` - dialer_campaign/campaign/list.html

**Logic Description**:

* List all campaigns belonging to the logged in user
"""
form = CampaignSearchForm(request.user, request.POST or None)
request.session['pagination_path'] = request.META['PATH_INFO'] + '?' + 
request.META['QUERY_STRING']
sort_col_field_list = ['id', 'name', 'startingdate', 'status', 
'totalcontact']
pag_vars = get_pagination_vars(request, sort_col_field_list, 
default_sort_field='id')
phonebook_id = ''
status = 'all'
post_var_with_page = 0

if form.is_valid():
field_list = ['phonebook_id', 'status']
unset_session_var(request, field_list)
phonebook_id = getvar(request, 'phonebook_id', setsession=True)
status = getvar(request, 'status', setsession=True)
post_var_with_page = 1

# This logic to retain searched result set while accessing pagination 
or sorting on column
# post_var_with_page will check following thing
# 1) if page has previously searched value, then post_var_with_page 
become 1
# 2) if not then post_var_with_page remain 0 & flush the session 
variables' value
if request.GET.get('page') or request.GET.get('sort_by'):
post_var_with_page = 1
phonebook_id = request.session.get('session_phonebook_id')
status = request.session.get('session_status')
form = CampaignSearchForm(request.user, initial={'status': status, 
'phonebook_id': phonebook_id})

if post_var_with_page == 0:
# default / unset session var
field_list = ['status', 'phonebook_id']
unset_session_var(request, field_list)

# Set search on user as default
kwargs = {'user': request.user}
if phonebook_id and phonebook_id != '0':
kwargs['phonebook__id__in'] = [int(phonebook_id)]
if status and status != 'all':
kwargs['status'] = status

all_campaign_list = 
Campaign.objects.filter(**kwargs).order_by(pag_vars['sort_order'])
campaign_list = 
all_campaign_list[pag_vars['start_page']:pag_vars['end_page']]
campaign_count = all_campaign_list.count()

Id = [2,3,4,5,6,7,8]
for w in Id:
A = w


Pending = pending(A)


data = {
'form': form,
'all_campaign_list': all_campaign_list,
'campaign_list': campaign_list,
'total_campaign': campaign_count,
'CAMPAIGN_COLUMN_NAME': CAMPAIGN_COLUMN_NAME,
'col_name_with_order': pag_vars['col_name_with_order'],
'msg': request.session.get('msg'),
'error_msg': request.session.get('error_msg'),
'info_msg': request.session.get('info_msg'),
'Pending': Pending,

}
request.session['msg'] = ''
request.session['error_msg'] = ''
request.session['info_msg'] = ''
return render_to_response('dialer_campaign/campaign/list.html', data, 
context_instance=RequestContext(request))

def pending(campaign_id):

A = 
Campaign_phonebook.objects.values_list('phonebook_id').filter(campaign_id = 
campaign_id)


   ## getting all contact_id of campaign_id = campaign_id in phonebook
B = Contact.objects.filter(phonebook_id__in=A).count()
 

## Check How many Contacts in Subscriber of "campaign_id = campaign_id"
C = Subscriber.objects.filter(campaign_id = campaign_id).exclude(status 
= 1).count()

Result = B - C

return Result


Sir Mandeep This is my full code When i give specific value instead of A it 
works,but when i give value through loop it did't Work

-- 
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...@googlegroups.com.
To post to this group, send email to django-users@googlegroups.com.
Visit this group at https://groups.google.com/group/django-users.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-users/8d63b224-ff2e-4d6f-94d3-76b26706a2f1%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: For loop did not working ...

2016-07-20 Thread Mandeep Tondak
use custom template tag / or use class function

in html:-
 use {{ id|pending }}

pending is your custom template tag
_
Class Abc():
 pending = model()

 def pendinf(self):
   return self.pending


Thank
Mandeep

On Wed, Jul 20, 2016 at 4:25 PM, Asad ur Rehman 
wrote:

> No module name urls error is showing.
>
> --
> 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...@googlegroups.com.
> To post to this group, send email to django-users@googlegroups.com.
> Visit this group at https://groups.google.com/group/django-users.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/django-users/9d44d367-2f00-4d21-8dbe-1a60ac1e18e0%40googlegroups.com
> 
> .
>
> For more options, visit https://groups.google.com/d/optout.
>



-- 
*Warm Regard:-*
*Mandeep Kumar*



-- 
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...@googlegroups.com.
To post to this group, send email to django-users@googlegroups.com.
Visit this group at https://groups.google.com/group/django-users.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-users/CAJri7SQVoVHp5moiJPpb99Lc7OErNTHJvURkghaG%2Bu1Q6GWuqA%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.


Re: For loop did not working ...

2016-07-20 Thread Asad ur Rehman
No module name urls error is showing.

-- 
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...@googlegroups.com.
To post to this group, send email to django-users@googlegroups.com.
Visit this group at https://groups.google.com/group/django-users.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-users/9d44d367-2f00-4d21-8dbe-1a60ac1e18e0%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: For loop did not working ...

2016-07-20 Thread Mandeep Tondak
Hey

Id = [2,3,4,5,6,7,8]
for w in Id:
 A = w
Pending = pending(A)

indent error. i hope.


On Wed, Jul 20, 2016 at 4:11 PM, Asad ur Rehman 
wrote:

> In image tou can see *Pending* Box. i want to generate loop and want to
> get result against values in loop.in image 668 is the value of first
> Column.i want to give different values to column by loop
>
> Pending = pending(8)
>
> pending(8) give first column result that is 668.
>
>
> Id = [2,3,4,5,6,7,8]
> for w in Id:
> A = w
>   Pending = pending(A)
>
> How to give different value of A ?
>
> --
> 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...@googlegroups.com.
> To post to this group, send email to django-users@googlegroups.com.
> Visit this group at https://groups.google.com/group/django-users.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/django-users/3a450edf-7ed2-4924-a923-2b51e7049167%40googlegroups.com
> 
> .
> For more options, visit https://groups.google.com/d/optout.
>



-- 
*Warm Regard:-*
*Mandeep Kumar*



-- 
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...@googlegroups.com.
To post to this group, send email to django-users@googlegroups.com.
Visit this group at https://groups.google.com/group/django-users.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-users/CAJri7STY6%3DhaDRdgn_Uh0acMzed4ej5Rfu20HaUCD17y1FoBvw%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.


For loop did not working ...

2016-07-20 Thread Asad ur Rehman
In image tou can see *Pending* Box. i want to generate loop and want to get 
result against values in loop.in image 668 is the value of first Column.i 
want to give different values to column by loop
 
Pending = pending(8)

pending(8) give first column result that is 668.


Id = [2,3,4,5,6,7,8]
for w in Id:
A = w
  Pending = pending(A)

How to give different value of A ? 

-- 
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...@googlegroups.com.
To post to this group, send email to django-users@googlegroups.com.
Visit this group at https://groups.google.com/group/django-users.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-users/3a450edf-7ed2-4924-a923-2b51e7049167%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: Django simple Captacha

2016-07-20 Thread ludovic coues
This kind of captcha is easier for bot than it is for human.
This one is especially weak. Single font, Single color for the text.
And the more noise you add on the text, the harder it will be for
human.

https://github.com/ptigas/simple-captcha-solver is a basic tool for
solving these.

I strongly suggest recaptcha (
https://github.com/praekelt/django-recaptcha /
https://www.google.com/recaptcha/ ). This captcha is state of the art
and now, most human don't even have to decrypt symbol to get in. Fill
a checkbox, job done. If it fail, it fall back to a set of image and
asking the user what image have cookie, grass, bicycle or something
like that.
The experience for your user will be way better.

2016-07-19 15:57 GMT+02:00 Ajay Kumar <2916ajayku...@gmail.com>:
> hi Guys
>
> I tried django-simple-captcha on refering
> http://django-simple-captcha.readthedocs.io/…/la…/usage.html. Every thing
> works well and goes fine, I need few suggestion on it.
>
> 1. How efficiency is this?
> 2. How strong is this?
> 3. How easy/hard to cark this captcha?
> 4. Can we use this to high end applications?
>
> Guys please suggest me for above line items or any this else there please
> let me know about django-simple-captcha, please explain me the pros and cons
> of django-simple-captcha. Thanks in advance.
>
> --
> 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...@googlegroups.com.
> To post to this group, send email to django-users@googlegroups.com.
> Visit this group at https://groups.google.com/group/django-users.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/django-users/58b761a7-98eb-4105-a469-2735f49a0be6%40googlegroups.com.
> For more options, visit https://groups.google.com/d/optout.



-- 

Cordialement, Coues Ludovic
+336 148 743 42

-- 
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...@googlegroups.com.
To post to this group, send email to django-users@googlegroups.com.
Visit this group at https://groups.google.com/group/django-users.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-users/CAEuG%2BTZ3Gsv8m%2Bn8fEwbrvB8-TMW__enS6Ux%2B_v_DCwnP2VpaA%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.