HI, Thanks for the reply. Maybe i should have gone into more details on what i have to actually do. I am sorry for not being clear and hence you kept guessing. The app requirments are simple it requires that the client is shown a user id and password field and if the user id and password matches a particular criteria i.e (userid : lo...@login.com and password: password), then it shows this as a sucess else it displays login fails.
On Friday, August 31, 2012 8:22:03 AM UTC+3, Dennis Lee Bieber wrote: > > On Thu, 30 Aug 2012 19:45:20 -0700 (PDT), Muhammed Salman > <salman...@gmail.com <javascript:>> declaimed the following in > gmane.comp.python.django.user: > > > Hi, > > > > I am new to python and django development and have developed a simple > email > > based authentication form as a part of an exercise. Now, i have two > > questions > > I'm not sure I understand what you mean by "email based > authentication form" > > Taken literally, to me it implies that you have a template email > in > which someone fills out fields and sends it to "you", whereupon you will > take the information in the email, validate it, record it in some user > database, and email back some random account name and password. > > Or it could mean you are supposed to have a web-page for users to > register, you record their name, password, and email address in a > database but do not activate it yet, then send an email to them with > instructions that they reply to it if they are really the person who > attempted to register. Then when you receive the reply you match it > against the database and activate the account. > > > > > 1: The requirement from me for this exercise was to create it without > any > > frameworks but i started it with django so its easier initially and > indeed > > Mistake #1 -- the time spent developing in Django could have been > spent studying the core Python library, which is what your "without any > frameworks" indicates. > > > it was.So, can someone please tell how to move from this point. I mean > if > > Obviously, by starting over from scratch. > > > the email authentication has to be done purely in Python (so that it > works > > like "python server.py") how difficult it is and what could be a few > good > > resources to get start with that. > > Are you supposed to implement an SMTP daemon to receive/deliver > email messages, or only periodically read inbound email from a POP3 > mailbox? > > I'd suggest you start with the documentation for your version of > Pyhthon... In particular the "Python Standard Library" manual. Try the > chapter on "Internet Protocols and Support" (in my copy, for Python 2.7, > this is chapter 20), SimpleHTTPServer (20.19) and CGIHTTPServer (20.20), > poplib (20.9), smtplib (20.12), maybe smtpd (20.13). > > On top of that, the chapter on "Internet Data Handling" (chapter > 18 > in my copy), email (18.1), mailbox (18.4) > > "Data Persistance" (11), sqlite3 (11.13) > > If you need a more capable server than the two mentioned above, > check the chapter "Interprocess Communication" (17), asyncore (17.6) > > > > 2: I also have a time deadline for this. So if i am not able to do it > > purely with python which packages/files/folders should i send to the > > teacher and what instructions shall i wrote in the readme to make sure > that > > my application run on his machine with the least fuss. > > I would think the instructor wouldn't have given you a "no > frameworks" requirement if they expect assignments to have dependencies > on outside packages. > -- > Wulfraed Dennis Lee Bieber AF6VN > wlf...@ix.netcom.com <javascript:> > HTTP://wlfraed.home.netcom.com/ > > -- You received this message because you are subscribed to the Google Groups "Django users" group. To view this discussion on the web visit https://groups.google.com/d/msg/django-users/-/gu8kZxK4_SMJ. To post to this group, send email to django-users@googlegroups.com. To unsubscribe from this group, send email to django-users+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/django-users?hl=en.