GithubHelp home page GithubHelp logo

book-sharing-iust's Issues

User Registeration

Form is a seperate module for working with forms,
Django has a User module too, it has login() , logout() and etc.
BUT working with user module doesn't seem to be easy...
now we have 2 ways :
1.making a user app for ourself
2.using Django modules
what do you think?

Sessions

The base of site is made successfuly, well done everybody!
Now!
lets make it better and focus on security ...
Time for learning Sessions!
Django Sessions

empty file?????

we have 2 empty files in templates:
1-userreg/index.html
2.signup.html

what are they for?

*_book_sharing!

What's with all the *_book_sharing apps?
You all need to work on the same app. You can do the testings in a seperate django project on you local system.

2afb1ffd6cbcb4d561bebbe310f67b4ab268b97d/.gitignore

What you see here is an example of merge conflict!!
Two persons altered the same part of the same file, so git didn't know which one to choose. It puts both of the parts and marks them so you can choose one and delete the other ( and the garbages that git added ).

NoReverseMatch

Exception Type: NoReverseMatch
Exception Value:
Reverse for 'django.contrib.auth.views.login' with arguments '()' and keyword arguments '{}' not found.

what is "Reverse"?

What to do Next?

Ok!
we have our project done, and Book sharing is working fine!
now let's make it better,
what do you think?
what can we do now?

Getting data from webpage

How do we can get the data from our page to use it in codes??
for example :
if we fill the username field and press the submit button, how do we can have that username in our code???
Does the modules automatically do that???

MultiValueDictKeyError

request.POST['username'] raises "Key 'username' not found in "QueryDict: {}" "
have to read documentions AGAIN!!!! :(

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.