what is the efficient way for Testing and making changes to the code

2019-12-20 Thread Pratik kumar
I used my local copy to create a new project and added some models to it 
after now i have made some changes to the local copy, Now how do i test 
those changes , do i need to create a new project each time from the local 
copy or is there a way around?

-- 
You received this message because you are subscribed to the Google Groups 
"Django developers  (Contributions to Django itself)" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to django-developers+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-developers/f1c17efa-a1dc-4e07-b0c7-d3b7c7a33284%40googlegroups.com.


Re: what is the efficient way for Testing and making changes to the code

2019-12-20 Thread Pratik kumar
I am just trying to figure how how the different things works in Djnago 
source, so that i can get on with contributing to the code

On Friday, December 20, 2019 at 10:27:38 PM UTC+5:30, Dipankar wrote:
>
> Is it related to Django development?
>
> On Fri, Dec 20, 2019, 9:25 PM Pratik kumar  > wrote:
>
>> I used my local copy to create a new project and added some models to it 
>> after now i have made some changes to the local copy, Now how do i test 
>> those changes , do i need to create a new project each time from the local 
>> copy or is there a way around?
>>
>> -- 
>> You received this message because you are subscribed to the Google Groups 
>> "Django developers (Contributions to Django itself)" group.
>> To unsubscribe from this group and stop receiving emails from it, send an 
>> email to django-d...@googlegroups.com .
>> To view this discussion on the web visit 
>> https://groups.google.com/d/msgid/django-developers/f1c17efa-a1dc-4e07-b0c7-d3b7c7a33284%40googlegroups.com
>>  
>> <https://groups.google.com/d/msgid/django-developers/f1c17efa-a1dc-4e07-b0c7-d3b7c7a33284%40googlegroups.com?utm_medium=email&utm_source=footer>
>> .
>>
>

-- 
You received this message because you are subscribed to the Google Groups 
"Django developers  (Contributions to Django itself)" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to django-developers+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-developers/29acfda7-d5ca-48cb-8839-12c8dd48bb7c%40googlegroups.com.


Getting error while running tests for postgis

2020-01-23 Thread Pratik kumar
I was running the test With for GeoDjnago using the following commands
./runtests.py --settings=postgis
with the following settings file
DATABASES = {
'default': {
'ENGINE': 'django.contrib.gis.db.backends.postgis',
'NAME':'defaultd',
'USER': 'user',
'PASSWORD':'password',
'HOST': '127.0.0.1',
'PORT': '5432',
},
'other': {
'ENGINE': 'django.contrib.gis.db.backends.postgis',
'NAME':'otherd',
'USER': 'user',
'PASSWORD':'password',
'HOST': '127.0.0.1',
'PORT': '5432',
}
}
SECRET_KEY = 'django_tests_secret_key'
Got the following error, can't seem to understand the reason behind it. how 
can i remove it

[image: Screenshot from 2020-01-23 23-54-14.png]


Also when i run test specifically for geoDjango there are 13 tests which 
are skipped how to avoid skipping those tests.

Any help will be appreciated

-- 
You received this message because you are subscribed to the Google Groups 
"Django developers  (Contributions to Django itself)" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to django-developers+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-developers/3515bc07-8e53-4c61-8838-e074b36f1b0a%40googlegroups.com.


Re: Getting error while running tests for postgis

2020-01-23 Thread Pratik kumar
I am working on a ticket need to run tests for postgis, isn't it concerned with 
the development of django itself?

-- 
You received this message because you are subscribed to the Google Groups 
"Django developers  (Contributions to Django itself)" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to django-developers+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-developers/2ad5bd90-5fa6-4843-b158-fac0bceef515%40googlegroups.com.