Skip to content

Commit

Permalink
updated views
Browse files Browse the repository at this point in the history
  • Loading branch information
fariha-rahman-saba committed Feb 26, 2024
1 parent e290bd4 commit b8050d7
Show file tree
Hide file tree
Showing 8 changed files with 2 additions and 3 deletions.
Binary file modified BharaHobe/return/__pycache__/forms.cpython-311.pyc
Binary file not shown.
Binary file modified BharaHobe/return/__pycache__/models.cpython-311.pyc
Binary file not shown.
Binary file modified BharaHobe/return/__pycache__/tests.cpython-311.pyc
Binary file not shown.
Binary file modified BharaHobe/return/__pycache__/urls.cpython-311.pyc
Binary file not shown.
Binary file modified BharaHobe/return/__pycache__/views.cpython-311.pyc
Binary file not shown.
2 changes: 1 addition & 1 deletion BharaHobe/return/forms.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
from django import forms
from .models import ReturnRequest
from . models import ReturnRequest

class ReturnRequestForm(forms.ModelForm):
"""
Expand Down
1 change: 0 additions & 1 deletion BharaHobe/return/models.py
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,6 @@ class Item(models.Model):
m_name = models.CharField(max_length=100)
m_description = models.TextField()
m_price = models.DecimalField(max_digits=10, decimal_places=2)
# Add other fields as needed

class ReturnRequest(models.Model):
"""
Expand Down
2 changes: 1 addition & 1 deletion BharaHobe/return/views.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
from django.shortcuts import render, redirect
from .models import Item, ReturnRequest
from .forms import ReturnRequestForm
from . forms import ReturnRequestForm

def initiate_return_request(request, item_id):
"""
Expand Down

0 comments on commit b8050d7

Please sign in to comment.