Re: BUI ( Browser User Interface) automation for Django App

2020-07-20 Thread Cigi Sebastine
Hi Ram

It is possible to do testing yor application with selenium using python

Thanks
Cigi

On Tue, 21 Jul, 2020, 1:42 AM Ram,  wrote:

> Hi,
>
> Our Django Web Application is being developed using this stack
>
> 1. Django
> 2. Python
> 3. Java script
> 4. Html + CSS
> 5. JQuery
>
> So we are currently evaluating a tool / tools that could help us to run
> 1. Functional testing from BUI
> 2. Acceptance testing from BUI
> 3. Load testing from BUI
>
> and we are thinking to start with Selenium with Java instead of Selenium
> with Python because front end is mostlyly with Java script. The main reason
> to choose Selenium with Java is that I found a resource who has experience
> with Selenium with Java only.
>
> So I came here to get expert suggestions to decide on testing tools. I
> appreciate if you can share your suggestions that is better suit the above
> requirement.
>
> Best regards,
> ~Ram
>
>
> --
> 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 view this discussion on the web visit
> https://groups.google.com/d/msgid/django-users/CA%2BOi5F34UAN1_m86YY_a0Df-7S3mfwEYGp3jkSBijdF%2BczRrRA%40mail.gmail.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 view this discussion on the web visit 
https://groups.google.com/d/msgid/django-users/CAAaRqFPk2cWCArRSL6KKDBiM4hMiEkMs%2BLMsDJWuW1K%2Bs7fRVw%40mail.gmail.com.


Adduser button click error in django admin

2019-04-15 Thread Cigi Sebastine
Hi all
I have installed new django application and when clicking the adduser in
adminside shows the error:
NotImplementedError at /admin/auth/user/add/
Enyone please help me to solve this problem.

Thanks
Cigi

UNKNOWN command not implemented for SQL SAVEPOINT "s140636377462528_x1"

-- 
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/CAAaRqFNjKyhNzBJuEzj-hV7Ys7Dsob%3D15RvvtiqbTULF0nrByw%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.


Re: Django csv file

2019-03-13 Thread Cigi Sebastine
Thank you Chetan.


On Wed, Mar 13, 2019 at 3:41 AM Chetan Ganji  wrote:

> I would suggest you use transactions for inserting those many documents.
> https://www.mongodb.com/transactions
>
> Django ORM does not support MongoDB. So, you can't use models/ORM/Class
> Based Views of Django with mongo.
> Only way I know to use Mongo with Django is function based views. There
> are some third party MONGO ORMS for django, but I never used them so far,
> so can't comment on how good they are or are not. Do your R and find it
> out ;-)
>
> I hope this helps you. Cheers!
>
>
> Regards,
> Chetan Ganji
> +91-900-483-4183
> ganji.che...@gmail.com
> http://ryucoder.in
>
>
> On Wed, Mar 13, 2019 at 12:42 AM Ryan Nowakowski 
> wrote:
>
>> If I were you, I'd work through the Django tutorial first. Then ask
>> specific questions if you have any.
>>
>> On March 12, 2019 5:32:08 AM CDT, Cigi Sebastine 
>> wrote:
>>>
>>>
>>> Hi all
>>>
>>> I am trying to insert data from csv file to mongodb4 using python3.7
>>> (Bulk data insertion 47lakhs records)
>>> i need to implement in django
>>> Can please anyone share ur idea
>>>
>>> import pandas as pd
>>> import json
>>>
>>> mng_client = MongoClient('localhost', 27017)
>>> mng_db = mng_client['testcsv']
>>> collection_name = mng_db['datastore']
>>> db_cm = mng_db['datastore']
>>>
>>> df = pd.read_csv('filepath',encoding = 'ISO-8859-1') # loading csv file
>>> #dfstr = df.to_json('testjson1.json')
>>> data_json = json.loads( df.to_json())
>>> db_cm.insert_many(data_json)
>>>
>>> --
>> 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/89E98305-6AEC-4A82-9839-E86760DC3AB2%40fattuba.com
>> <https://groups.google.com/d/msgid/django-users/89E98305-6AEC-4A82-9839-E86760DC3AB2%40fattuba.com?utm_medium=email_source=footer>
>> .
>> 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/CAMKMUjv%3DrU%3DNJxhd%2BHwpz40RrFB_Z2qP9Mq7q2SoXFys4HSO2Q%40mail.gmail.com
> <https://groups.google.com/d/msgid/django-users/CAMKMUjv%3DrU%3DNJxhd%2BHwpz40RrFB_Z2qP9Mq7q2SoXFys4HSO2Q%40mail.gmail.com?utm_medium=email_source=footer>
> .
> 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/CAAaRqFM-NALvhVJgcDXvRZoa7M-cgSURTbPMAQRcSUVxtH8THw%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.


Django csv file

2019-03-12 Thread Cigi Sebastine
Hi all

I am trying to insert data from csv file to mongodb4 using python3.7 (Bulk
data insertion 47lakhs records)
i need to implement in django
Can please anyone share ur idea

import pandas as pd
import json

mng_client = MongoClient('localhost', 27017)
mng_db = mng_client['testcsv']
collection_name = mng_db['datastore']
db_cm = mng_db['datastore']

df = pd.read_csv('filepath',encoding = 'ISO-8859-1') # loading csv file
#dfstr = df.to_json('testjson1.json')
data_json = json.loads( df.to_json())
db_cm.insert_many(data_json)

-- 
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/CAAaRqFPj7izHMWU4kO5o5Azpar71bhoAwjZToObYvOMMMqh%3Dfw%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.


Re: Django 2.1 alpha 1 released

2018-05-18 Thread Cigi Sebastine
Fantastic framework in web technology.

Thanks & Regards
Cigi Sebastine

On Fri, May 18, 2018 at 7:18 AM, Aditya Singh <adityasingh222...@gmail.com>
wrote:

> Wow wow wow! My best and nost powerful framework in the world. Super
> excited for the new release!
> Kind Regards,
> Aditya
>
> On Fri, May 18, 2018, 6:45 AM Tim Graham <timogra...@gmail.com> wrote:
>
>> We've made the first release on the way to Django's next major
>> release, Django 2.1! With about two and a half months until the
>> final release (scheduled for August 1), we'll need timely testing
>> from the community to ensure an on time, stable release. Check out the
>> blog post:
>> https://www.djangoproject.com/weblog/2018/may/17/django-21-alpha-1/
>>
>> --
>> 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/CAD-rxRCubeJJQ36%3DV4kaaaYUr82fWq-
>> hsnrNy7e-4YqGT-sQQA%40mail.gmail.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/CAEPfumg%2BF2MQa8p33sooFV61Z37V06Ujw9RA
> fYJsmrvqwf7kKA%40mail.gmail.com
> <https://groups.google.com/d/msgid/django-users/CAEPfumg%2BF2MQa8p33sooFV61Z37V06Ujw9RAfYJsmrvqwf7kKA%40mail.gmail.com?utm_medium=email_source=footer>
> .
>
> 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/CAAaRqFP45Q1RbRC9CXF6_%3DTe-p9VrB2z1ST_RQ%2BRwJaF9Sr9Gg%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.