First Contribution Django

2022-02-04 Thread Alokik Roe
Hello there,
I am new to the world of contribution, currently, I am working on this easy 
picking ticket #16406 that I chose from the database. I've made the 
necessary changes in the code file and in the documentation but I am having 
a bit of trouble regarding writing a unit test for it. 

The changes I've made in the codebase are doing the job that has been 
defined in the ticket as I've checked it through installing the particular 
branch and building an app with the help of that branch.

The problem is that I don't know in which file should I write the unit 
test. The changes in code were regarding URL resolve in resolvers.py. The 
files which I've identified on my end in which I assume that I should write 
the test are in the tests file of "urlpatterns" and "urlpatterns_reverse".

Now, 
I would be grateful if someone can tell me in which file should I write the 
tests and  I should work on them before committing and making the pull 
request.

Thanks

-- 
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/36cafb2b-3062-498d-99b5-beef4aa70c56n%40googlegroups.com.


Ticket #16406 -- ResolverMatch allows separate access to kwargs, captured_kwargs and extra_kwargs

2022-03-09 Thread Alokik Roe
Hello there,
So I've been working on this ticket for a month now, and the reviewer 
requested me for two more tests and I've implemented them but in the second 
test case, I am getting an error while implementing it and I've tried quite 
a lot of things on my side to fix it.

Some of them I've pointed out in the latest comment in my PR 
my PR link: Fixed #16406 -- ResolverMatch allows separate access to kwargs, 
captured_kwargs and extra_kwargs by Alokik-Roe · Pull Request #15402 · 
django/django (github.com) <https://github.com/django/django/pull/15402>

In there I've pointed out what I am struggling with and would be grateful 
if someone can give me a hint or help me out to solve the error.

*P.S: I know quite a few test checks on Github is failed and that's why if 
someone can help  me out a bit I would be grateful*

Thanks!

-- 
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/0334136d-8c97-4b85-a2e1-a99dea684a13n%40googlegroups.com.