Settings of Django/Admin_site#Registering_models
https://developer.mozilla.org/en-US/docs/Learn/Server-side/Django/Admin_site#Registering_models
The test model:
-------
class TsSearchRequest(db.Model):
id = db.Column(db.Integer, primary_key=True)
text = db.Column(db.String(1024), index= True, unique=False)
date = db.relationship('TsSearchRequestDate', backref='search_text', lazy='dynamic', cascade='delete')
class TsSearchRequestDate(db.Model):
__table_args__ = (db.UniqueConstraint('text_id', 'date'),
id = db.Column(db.Integer, primary_key=True)
text_id = db.Column(db.Integer, db.ForeignKey('ts_search_request.id'))
date = db.Column(db.DateTime, default=datetime.utcnow)
download_start = db.Column (db.DateTime)
download_complete = db.Column(db.DateTime)
• • • • • •
With questions and suggestions please call directly to skype: nicholas3mobile or whatsup +1 646 761 7950
with respect,
by Nikolai
Client's review of cooperation with Serhii Nikonov
Settings of Django/Admin_site#Registering_modelsThank you very much.
Everything was great.
Freelancer's review of cooperation with Nikolay Mashkov
Settings of Django/Admin_site#Registering_modelsThank you Nicholas for the project. Everything was good.
-
504 26 3 1 Good night Nicholas. Ready to fulfill your order.
With respect Sergey.
-
9 Hello Mr. Nicholas.
Ready to help you.
I did it many times, even more than I needed.
There are 2-3 project-web sites that have a lot of such models
I can also create a link from which you can add models (CreateView)
Choose me)
{There may be some errors in the letters here because I am from Armenia (Russian not 100%}
-
674 24 0 Hello to Nicholas.
Ready to help.
How did you understand that you need to connect the model to the admin?
He did it many times. To clarify, write to ls.
With respect, Ray
-
А чому для моделей використовується алхімія а не нативний models?
-
Приведенный выше код - это уже готовое решение на flask
сделанное по задаче https://freelancehunt.com/project/veb-forma-dlya-zapisi-dat/539178.html
Форма готова и работает (могу выслать код).
Новая задача - сделать тоже самое, но на Django Admin. Судя по описанию Django Admin должен сам автоматически сделать веб админку под модель. Хотелось бы увидеть как это работает.
-
Current freelance projects in the category Python
Telegram bot for hiring/searching employees. For job searching.
25 USD
1. General Concept Creation of a Telegram bot for automating recruitment and mutual job searching. The system operates on the principle of active response and mutual confirmation of interest (Double Opt-In). The system includes two roles: Employer (Company Owner) and Worker (Job… Python, Bot Development ∙ 22 hours 30 minutes back ∙ 80 proposals |
Technical support for web platform (Python/Django)There is a working web project that needs to be maintained and gradually organized, without rewriting from scratch. Project stack: Backend: Python, Django, Django Rest Framework Frontend: Next.js Database: PostgreSQL Infrastructure: AWS (EC2), Nginx There are integrations… Python, Web Programming ∙ 1 day back ∙ 67 proposals |
Development of a web service with paid access to an online chatGood day, it is necessary to develop a web service that includes: * personal links for users; * a page with a description of the service; * payment through PayPal; * online real-time chat; * video display on the user page; * accounting for paid time and automatic access… Python, Web Programming ∙ 2 days 1 hour back ∙ 74 proposals |
Application developmentI wish to create a mobile application for communication, the app should have audio and video calls, group chat creation, the ability to sync with phone contacts, account settings: email binding, 2FA, phone number, the ability to customize app notifications, change the app… Java, Python ∙ 2 days 23 hours back ∙ 36 proposals |
Setting up two-way integration of WhatsApp with Odoo CRMHello! We are looking for a specialist to implement a technical task for setting up a two-way integration of the WhatsApp messenger with the Odoo CRM system. ⚠️ Important technical clarification: The official WhatsApp Business API (WABA) is not considered. It is necessary to… Python, Web Programming ∙ 3 days 9 hours back ∙ 24 proposals |