Skip to content

Commit d433f75

Browse files
·Update
1 parent 895ec2e commit d433f75

File tree

321 files changed

+468
-54
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

321 files changed

+468
-54
lines changed

README.md

Lines changed: 1 addition & 1 deletion

app/.idea/app.iml renamed to Sobreescritura_del_metodo_post/.idea/Sobreescritura_del_metodo_post.iml

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
File renamed without changes.

Sobreescritura_del_metodo_post/.idea/modules.xml

Lines changed: 8 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
File renamed without changes.

Sobreescritura_del_metodo_post/.idea/workspace.xml

Lines changed: 142 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
File renamed without changes.
File renamed without changes.

app/config/urls.py renamed to Sobreescritura_del_metodo_post/config/urls.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
"""app URL Configuration
1+
"""Sobreescritura_del_metodo_post URL Configuration
22
33
The `urlpatterns` list routes URLs to views. For more information please see:
44
https://docs.djangoproject.com/en/3.0/topics/http/urls/
File renamed without changes.

app/core/erp/views/category/views.py renamed to Sobreescritura_del_metodo_post/core/erp/views/category/views.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,13 +18,13 @@ def category_list(request):
1818
class CategoryListView(ListView):
1919
model = Category
2020
template_name = 'category/list.html'
21-
21+
# Permite visualizar el post en el navegador
2222
@method_decorator(csrf_exempt)
2323
def dispatch(self, request, *args, **kwargs):
2424
return super().dispatch(request, *args, **kwargs)
2525

2626
def post(self, request, *args, **kwargs):
27-
data = {'name': 'William'}
27+
data = {'name': 'Brian'}
2828
return JsonResponse(data)
2929

3030
def get_context_data(self, **kwargs):
File renamed without changes.
File renamed without changes.

0 commit comments

Comments
 (0)