Terminé

Medium size feature for Django Site

TLDR;

Create a new model in Django, a page with a form that uses it, repackage an existing function so that the page can use it, and add some code for reading in environment variables.

Full Specs:

I'm trying to build the system to fulfill orders for subscriptions when I get them by giving out authentication keys. I going to generate the keys and store them both in the Django site and with my payment processor. When someone completes an order my payment processer gives them a key and sends them an email. In the email I'm going to direct them to go to a link on my site at /activate/nextcloud where there will be a form for them to enter their key and email. To do this I need you to make the new "Key" Django model, a new Django project called "fulfillment" at /activate url, and the /activate/nextcloud page.

Keys should be a new Django Model that can be modified in the admin area that has the fields:

key - The string value of the key

product - the id of the product

valid - if the key hasn't been used it is valid

email - the associated account email

After a user sucessfully fills out the form valid should be false and the email they provided should be saved with the key.

The page /activate/nextcloud should serve and be the action for the form using the Django form system. It should check if the key exists, is valid, and is for the 'nextcloud' product. If all of these are true it should use the ssh function you made to run a command (you can leave the command as 'ls' or something for now). If they sucessfully activate then return a success message. I'll also give you the theme I'm using for the site which has a HTML form to use.

To run the command over ssh add the environment variables "NEXTCLOUD_SERVER_ADDRESS", "NEXTCLOUD_SERVER_USER", "NEXTCLOUD_SERVER_SSH_KEY". Read and save these three environment variables in [login to view URL], if they are not set print a warning message but don't throw an exception. Then put a ssh function I have in a module that /activate/nextcloud uses. Also can modify the ssh function so that instead of returning the open ssh connection it stores the tuple of (stdin, stdout, ...), then closes the ssh connection, then returns.

Compétences : Django, Python, HTML

en voir plus : django rest framework, django startapp, django examples, django admin, django tutorial, django backend tutorial, django documentation, django projects, autofit window size flash web site, bpo ortigas medium size business, medium size software development interface, free site template provided finerdesigncom, want add chat feature auction site, django site templates download, django site templates, django site template organization, customer ordering system medium size company, page wordpress site design provided, size shoud design site photoshop, add product price comparison feature web site

Concernant l'employeur :
( 0 commentaires ) Ithaca, United States

Nº du projet : #22731611

Décerné à:

aleoreina

Hi. My name is Angel. I am Djang / Python Developer. I need you python app, to start draw or writting your model and after this i'll add Admin panel your model. I understand all about model, now i understand 70% about Plus

%selectedBids___i_sum_sub_7% %project_currencyDetails_sign_sub_8% USD en 7 jours
(1 Évaluation)
0.2

6 freelance font une offre moyenne de $99 pour ce travail

abhi98041

WEBSITE DEVELOPEMENT Hello, my name is Abhishek.⭐⭐⭐⭐⭐ This project is related to Django and I will discuss more in detail to understand project scope and requirement (like features ,functionality , extra required ser Plus

%bids___i_sum_sub_32% %project_currencyDetails_sign_sub_33% USD en 1 jour
(210 Commentaires)
6.5
Zohaib748

Hello Dear...! Alert: I will give you 20% discount on my bid rate also give on my All Services. So grabs this special offer is limited. Let’s get to the point. I came to know that your Looking a developer which hav Plus

%bids___i_sum_sub_32% %project_currencyDetails_sign_sub_33% USD en 1 jour
(7 Commentaires)
3.7
Alexsfodik

****** Python Django Expert ******* Hello. I have read your job description carefully. I have full experience in Python and Django with sqlite, mysql. So I can do your projet perfectly. I hope to discuss more via chat Plus

%bids___i_sum_sub_35% %project_currencyDetails_sign_sub_36% USD en 7 jours
(2 Commentaires)
2.5
ghavive514

Hi, glad to apply! If you want high skilled django, then I'd be a good match for you. My most recent web project was building the following app using Python | Django and React | Redux. [login to view URL] I have 5 ye Plus

%bids___i_sum_sub_35% %project_currencyDetails_sign_sub_36% USD en 7 jours
(0 Commentaires)
0.0
fantasticDev

⭐Hello Sir⭐ I have gone through your requirements in detail. I am a web expert having great experience in PYTHON. I can complete your project with full features. Thank you for your cooperation. When you believe me, th Plus

%bids___i_sum_sub_32% %project_currencyDetails_sign_sub_33% USD en 1 jour
(0 Commentaires)
0.0