Comments (15)
@ktzy0305 This To-Do-Item, is it in the form of "Project" or "Post"? (based on previous django)
from eti-to-do-app.
For this project, the To-Do Item is different from the form of a "Project" or "Post" that was done in CA1.
Based on what is needed for Sprint 1 for this feature, the To-Do Item model should just have one text field for content so that the user can see it as a list item on this page.
If you have any more questions, please feel free to ask.
from eti-to-do-app.
@ktzy0305 after I done the unit test case, do I need to upload inside to this git? or I just keep it for my self-reference?
from eti-to-do-app.
@ktzy0305 I'm actually thinking if it would be a good idea to merge Admin post page with To-Do Item page. Since admin page requires user to login, and theres edy show,add,delete function for post, would it be better? Then we do a bit of twist here and there to meet the requirement....
from eti-to-do-app.
Referring to your 1st question
I think it would be better to upload your unit test case too and reference the commit number so that Mr Low would know that your contributions tally with your work done.
Referring to your 2nd question
For the Admin post page, are you referring to the Django Admin Dashboard?
Because if you are referring to the Django Admin Dashboard where you can show, add, delete a To-Do Item, only superuser accounts can access that page. So, I don't think that is a good idea.
from eti-to-do-app.
@ktzy0305
Not really, just enable staff status to them, and set the permission to edit/make changes to "To-do item"/post.
you can try using the previous django project and create one staff user.
from eti-to-do-app.
If you know how to do it then go ahead.
from eti-to-do-app.
I created a To-Do page with minimum required changes in setting.py and url.py in the ToDoApp folder.
Changes made:
To_do_page folder/app created
Added 'To_do_page' in setting.py Installed App,
Added 'from To_do_page.views import todoGreeting' and path('To_do_page/', todoGreeting) in url.py
commited made: 9bf4293
from eti-to-do-app.
Created and post unit test case into To_do_page folder
commited made: b1e262a
from eti-to-do-app.
@ktzy0305 I had successfully completed the To-Do page template, whereby it will display all the To-Do item regardless of the owner. But based on my unit test, it still requires a little change once the login page is done to display the login user name as a greeting
@githubbing97 Maybe QA can start writing the test for it already
commit number: 40619ed
from eti-to-do-app.
@tanjunwu Noted with thanks. Will create an issue for QA @githubbing97 to start testing on test 40619ed
from eti-to-do-app.
@ktzy0305 I had successfully merged the login page done by marcus with the To_do_page.
Home.html template for login can be deleted as it is not used.
created logout_views function to clear user credential in views.py and also in urls.py for To_do_page
In setting.py also edited the Login_redirect_url to "todopage"
Lastly, no changes made to login.html.
commit reference: 5ca7700
from eti-to-do-app.
@ktzy0305 @githubbing97 , I had offcially done for this issues. I checked there is no issues to it anymore. However, if you happen to find any errors, feel free to tell me. Thanks!
from eti-to-do-app.
Alright noted with thanks!
from eti-to-do-app.
@ktzy0305 I had done the pytest for my unit test cases under the file "test_todopage.py" and image result "test_todopage_result.PNG" under img folder in To_do_page folder
commit reference: 578019a
from eti-to-do-app.
Related Issues (20)
- QA: Write Test Case for User Login Page HOT 6
- QA: Write Test Case for To-Do page HOT 1
- QA: Perform testing on To-Do page HOT 4
- Issue on Django database HOT 3
- Sprint 2: User Login Page should also allow new users to sign up
- Sprint 2: To-Do Page should have To-Do items filtered to only showing those that were created by them HOT 5
- Sprint 2: All To-Do items to have a timestamp added upon creation automatically by the application HOT 4
- Sprint 2: Addition and deletion of To-Do items auto archived instead of the current manual process HOT 1
- Sprint 2: To-Do History Page should now show a history of all To Do items added and deleted. HOT 1
- Sprint 2: Team member roles allocation and tasks assigned for Sprint 2 to be added to Team Contributions Page HOT 1
- Navigation Bar for easier access between To-Do, To-Do History and Team Contribution pages. HOT 3
- Sprint 2: QA Test Case Scenarios HOT 2
- Sprint 2: QA Automated Tests (Pytest + Selenium) HOT 5
- Help needed for User Sign Up QA Test Case HOT 3
- Improve Test Coverage HOT 2
- Sprint 1: The Team Contributions Page should include all team member roles allocation and tasks assigned for this activity. HOT 1
- Testing of User Login Page HOT 2
- Testing of To-Do Page HOT 2
- Testing of To-Do History Page HOT 2
- test_cat.py in QA Folder HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from eti-to-do-app.