I am pretty new to python just a student trying to learn and I wanted to create an application for myself using python… now I have already implemented code using various libraries and dictionaries in python, but I want to know how I can use that code and display it in an application type format ..
Category : web-applications
I have 2 models in my Django application, and i need that one of the models use values from another model. class Products(models.Model): supplier=models.CharField(max_length=25) sku=models.CharField(max_length=30) name_prod=models.CharField(max_length=30) price_prod=models.IntegerField() class Sales(models.Model): client=models.CharField(max_length=25) name_sale=models.CharField(max_length=30)// Here I want only name_prod of the Products model quantity=models.IntegerField() price_sale=models.IntegerField() // Here I want only the price_prod of the Products model EDIT: So ..
This is the code on .ts file export class UploadController { readonly fileSelectorOverlayRoot = document.createElement(‘div’); readonly fileSelectorOverlayTarget = document.createElement(‘div’); // Marked public solely for the purpose of testing. Do not access directly. readonly fileSelectorOverlay: FileSelectorOverlay; // File selector input is placed as a sibling to provided target, so target // requires a parent element for ..
Here is the scenario: Say I have a Netflix account and I want to share it with my friends so they use it too but I don’t want to share the exact password because I’m worried someone will change it (don’t share your password if you don’t trust your friends right… just an example, but ..
As of now i am adding my bokeh application java-script format to a html file which contains video.But can we add a video streaming directly into the bokeh-server? creating bokeh application js code using below function: “`p = figure() p.circle(x, y) item_text = json.dumps(json_item(p, "myplot"))“` Source: Python-3x..
As of now I am adding my bokeh application java-script format to a html file which contains video. But can we add a video streaming directly into the bokeh-server? Creating bokeh application js code using this code: p = figure() p.circle(x, y) item_text = json.dumps(json_item(p, "myplot")) Source: Python-3x..
This is my first post so please be understanding. I worked for over 20 years as a software engineer, mainly developing embedded real time applications in C. Recently I’ve taken an interest in web applications and started developing my very first app. Full stack. For the back end I’m using Pyhton with Flask; for the ..
I am an intermediate level Python and Javascript dev starting a project to develop a web-based minimally viable alternative to https://airtable.com/ a spreadsheet and database hybrid app. I will be implementing only some of the functions though. Primarily interested in the drag and drop rows and objects, kanban/gallery views, ability to link and view attachments, ..
I am new to Python. I have to create a library that will generate random sentences and insert them into todo web application(http://todomvc.com/examples/react/#/). It’s easy to do it using just selenium library(robot framework) and text fields locator. But how can I do it just with Python? Should I use any additional libraries? class MyLibrary: def ..
I have to make an application in which the user can store some resources, for example texts, files. The user must be able to share access to his selected files with other users. I am wondering what is the best way to achieve this. I have been thinking about additional table or columns in the ..
Recent Comments