Django admin

حاليا اعمل بمشروع موقع لصيدلية واستخدم جانجو فهل بيدهم الادمن الافتراضي للوحه التحكم أو الافضل بناء بواسطه Tamplets .وايش المكتبات الموصي بها.

1 Like

Welcome @suportinstegram0-tec !

First a side note: Your posts and questions are likely to get more attention if they’re written in English.
I’ll do my best to answer them, thanks to Google translate.

Your question, translated by Google:

From Google translate:

تغطي وثائق Django هذا الموضوع بشكل وافٍ. إذ توضح الفقرتان الأوليان الموجودتان على الرابط The Django admin site | Django documentation | Django أن واجهة إدارة Django (Django admin) مُصممة لتُستخدم كأداة إدارة داخلية؛ وبالتالي، لا ينبغي استخدامها كواجهة المستخدم العامة المخصصة لعملائك أو زوار موقعك.
وبشكل عام، سيكون من الأفضل لك أن تقوم بإنشاء “واجهات العرض” (Views) الخاصة بك والمصممة خصيصاً للمستخدمين الذين يرتادون موقعك.

أما فيما يتعلق بالتوصية بمكتبات برمجية، فإن ذلك يعتمد تحديداً على ما تبحث عنه؛ إذ تتوفر العديد من الحزم البرمجية الممتازة التي تقدم طيفاً واسعاً من الميزات والوظائف. لذا، احرص على زيارة الموقع https://djangopackages.org

And the original English:

The Django docs cover this quite well. The first two paragraphs at https://docs.djangoproject.com/en/6.0/ref/contrib/admin/explain that the Django admin is intended to to be used as an internal management tool. It should not be used as the general user interface by your customers or clients.
You are generally better off if you create your own views for the people using your site.

As far as recommending libraries, that’s going to depend upon what exactly you’re looking for. There are a lot of good packages available to provide a wide variety of features. Be sure to check out https://djangopackages.org

1 Like

نعم تقصد أنه يستخدمه للوحه التحكم للإدارة وليس للعملاء ، ولكن هل بتعامل مع الفلترة الديناميكية الحقول والبيانات حيث يوجد كل خاصيه لها عده حقول وحسب الخاصيه يتم جلب الحقول وإذا لهم قيم بشكل ديناميكي

Translated to English:

صُممت واجهة إدارة Django (Django Admin) لتمكينك من استعراض الجداول الفردية وتعديلها بكل سهولة. كما أنها تتيح لك إمكانية تعديل الجداول المرتبطة مباشرةً بذلك الجدول (المعروفة باسم inlines).
وعلاوةً على ذلك، يمكنك توسيع نطاق عمل واجهة الإدارة لتنفيذ مهام أكثر بكثير. غير أن المشكلة التي لاحظتها في هذا الصدد تكمن في أن المستخدمين يميلون إلى الرغبة في استخدام واجهة الإدارة لإنجاز كل شيء؛ مما يدفعهم إلى قضاء وقت أطول بكثير في محاولة جعل الواجهة تنفذ ما يريدونه بدقة، في حين أنه في كثير من تلك الحالات، سيكون إنشاء “طرق العرض” (views) الخاصة بك أسرع وأسهل بكثير.

أما بخصوص سؤالك، فأنا لست متأكداً من أنني أفهم ما تسأل عنه بالضبط. (قد يكون ذلك بسبب قصور في طريقة ترجمة سؤالك).

And the original English:
The Django Admin is designed to let you easily view and edit individual tables. It also has the ability to let you edit tables directly related to that table (inlines)
Beyond that, you can extend the Admin to do a lot more. However, the problem that I’ve seen with that is that people tend to want to use the Admin to do everything - and they spend a lot more time trying to get the Admin to do exactly what they want, when it a lot of those cases, it would be faster and easier to just create your own views.
As for your question, I’m not sure I understand exactly what you’re asking. (It may be a limitation of how your question is being translated.)

1 Like