Re: Recognize Tags in templates

2021-10-28 Thread N'BE SORO
Hello Django tag is: {% %} Le jeu. 28 oct. 2021 à 14:48, Keila Z. Carpio T. a écrit : > Good morning, > > Hello Everybody, > > I use the tags to templates but it is being recognized for Server to show > content > > > > Please Help me. > > Greetings, > > -- > You received this message

Re: Django jinja queryset filter lenth

2020-08-12 Thread N'BE SORO
>> écrit : >> >>> You Can try to use .count instead >>> >>> Le sam. 8 août 2020 à 17:56, N'BE SORO a écrit : >>> >>>> Good evening please >>>> >>>> Can you help me? >>>> >>>> I want to display the n

Django jinja queryset filter lenth

2020-08-08 Thread N'BE SORO
Good evening please Can you help me? I want to display the number of items with a filter. Example: this call returns 4 elements {{ item.class.classecours.all|length}} at the .all level make an item.class.classecours.filter(status==True)|length -- You received this message because you are

Apprendre Django en ligne avec un professionnel

2020-05-31 Thread N'BE SORO
Bonjour chers tous, Ce message s'adresse au débutant en Django qui veulent se former avec l'assistance en ligne d'un professionnel. Vous voulez apprendre à développer en Django et mettre en production votre site ? Alors prenez connaissance avec notre programme de formation:

Django channel and gunicorn

2020-03-18 Thread N'BE SORO
hi i have a problem with django channel and gunicorn. I don't know how to configure my project so that the websocket can pass. thank you. -- You received this message because you are subscribed to the Google Groups "Django users" group. To unsubscribe from this group and stop receiving

Re: French Open Source ?

2020-03-16 Thread N'BE SORO
Ok Le lun. 16 mars 2020 à 21:49, Florent Vandroy a écrit : > Je préférerais un projet en petit comité, ambiance start-up > > Le lun. 16 mars 2020 à 22:38, Ysahiro Yasuo a > écrit : > >> Cherche *Zulip master* sur Github. C'est un projet Django open-source tu >> peux cloner le depot en local.

Re: Working with static files

2019-10-17 Thread N'BE SORO
Hello use this tutorial https://docs.djangoproject.com/fr/2.2/howto/static-files/ Le jeu. 17 oct. 2019 à 09:25, ISAAC NELSON S.B. KARGBO < insbkar...@njala.edu.sl> a écrit : > Hello everyone, i am new to Django and i am learning to develop a > "todo_list app", but i have a problem with my css

Re: Relation between different database?

2019-09-10 Thread N'BE SORO
Ok you can add an additional column my_id and you give him the unique property = True Le mar. 10 sept. 2019 à 06:00, ANi a écrit : > my real situation as an example. > > *local database* > AssetModel(id, employee, name, barcode, location, value) > > *remote database* > EmployeeView(id, name,

Re: Query into Django ORM

2019-09-10 Thread N'BE SORO
Hello please send your models example and. Le jeu. 5 sept. 2019 à 14:56, Amit Samanta a écrit : > Hi, > > I am facing a challenge please help me. > > [image: Query.PNG] > > > output: > > [image: output.PNG] > > Here one env_name can have many comp name and one env with one comp_name > there

Re: Postgre sql problem

2019-09-10 Thread N'BE SORO
Hello. Install *psycopg2 binary version* Le ven. 6 sept. 2019 à 22:06, Thomas Lockhart a écrit : > You need the python-devel package installed for the version of python you > are running. > > - Tom > > On Sep 6, 2019, at 12:49 PM, Elmaco7 wrote: > > *Hello, I'm trying to use Postresql with my

Re: Relation between different database?

2019-09-09 Thread N'BE SORO
Hello. Give me one example Le mar. 10 sept. 2019 à 03:54, ANi a écrit : > Hi, > > I have my asset table in local db which need to reference to the employee > view from another database. > But I realized that Django might not allow relations across databases, > right? > > so does it means that

Re: Django chat

2019-09-03 Thread N'BE SORO
use this tutorial, it is good https://youtu.be/RVH05S1qab8 I followed it to realize my chat application Le mar. 3 sept. 2019 à 15:57, parmeshwar deharkar < parmeshwardehar...@gmail.com> a écrit : > use the Django-channel library to making chatbot application > > On Tue, Sep 3, 2019 at 1:40 AM

Re: reload the page and the logged in user converted to the admin

2019-08-24 Thread N'BE SORO
Hello, Use Django login function Le sam. 24 août 2019 à 19:12, ayoub ELMAJJODI a écrit : > The problem that I have, when I logged with normal user in the > request.user there is a current user, but if I reload the page, the > currennt user converted to the admin ? > Enter code here... > def

Re: Regarding to suggestion for registration page

2019-08-19 Thread N'BE SORO
Ok, I will check. Le lun. 19 août 2019 à 10:21, RONAK JAIN a écrit : > Hello Django developers, > > I am trying to redirect my registration page on the home page but, I am > not getting when I am trying with a registration page it will work for > registration but when I am doing with the home

Re: Exception value name is not defined

2019-08-16 Thread N'BE SORO
Ok. Thank you Le ven. 16 août 2019 à 11:31, Kean Dumba a écrit : > Hi N’BE, > > The github code you provided worked. > I now see all the records. > > Thank you for the help. > > Best, > > K > > On Thu, 15 Aug 2019 at 22:14, N'BE SORO wrote: > >&g

Re: Exception value name is not defined

2019-08-15 Thread N'BE SORO
https://github.com/Soro08/django_help/blob/master/README.md Le jeu. 15 août 2019 à 22:54, N'BE SORO a écrit : > This is normal in the view.py file is what appears. Now if you want to use > the data in the template You must use a loop to browse the items. I will > send you a Github

Re: Exception value name is not defined

2019-08-15 Thread N'BE SORO
bjects, just the ID number, and > the model name, plus query set, > not sure what issue is here. > > > On 15 Aug 2019, at 21:29, N'BE SORO wrote: > > Ok. > > Use this code: > > data = Test.objects.all() > > context = { > 'data': data, > } > >

Re: Exception value name is not defined

2019-08-15 Thread N'BE SORO
I'll put an example on GitHub and send you the link Le jeu. 15 août 2019 à 20:29, N'BE SORO a écrit : > Ok. > > Use this code: > > data = Test.objects.all() > > context = { > 'data': data, > } > > > in Your template use: > > > data.name, > d

Re: Exception value name is not defined

2019-08-15 Thread N'BE SORO
se: > Name: John Smith, Father name: Sam Smith, > Mother name: Angela Smith, Brother name: James Smith and Sister name: > Sarah Smith. > > All 6 objects, would need to appear in the view, > > Is there a way to code this? > > Best, > > K > > > On 15 Aug

Re: Exception value name is not defined

2019-08-15 Thread N'BE SORO
st, > > K > > > On 15 Aug 2019, at 20:21, N'BE SORO wrote: > > you want to send what model on your view? > > Le jeu. 15 août 2019 à 19:04, Kean a écrit : > >> Hi N’BE, >> >> Thanks, the code worked, the problem is I wanted to use the context to >>

Re: Exception value name is not defined

2019-08-15 Thread N'BE SORO
ting the self defined str and returning to > view, is there any way to get all records in the table to display? > > Best, > > Kea > > On 15 Aug 2019, at 19:50, N'BE SORO wrote: > > Hello Use this code > > > def editremovebusiness(request): > data = Bu

Re: Exception value name is not defined

2019-08-15 Thread N'BE SORO
Hello Use this code def editremovebusiness(request): data = Businessownercreate.objects.all() context = { 'data': data, } return render(request, 'editremovebusiness.html', context) Le jeu. 15 août 2019 à 18:45, RONAK JAIN a écrit : > Hey Kean, > > What is the object here? > > > > > On Thu,

Re: Django wsgi apache Deploy project

2019-05-30 Thread N'BE SORO
thank you everyone I managed the deployment Le mar. 7 mai 2019 à 18:48, Subhodeep Das a écrit : > Try: > > WSGIScriptAlias /test/tc-test /var/www/stage/hello/tc-test/django.wsgi > > You shouldn't have trailing slash on first argument. > > On Tue, May 7, 2019 at 7:2

Django wsgi apache Deploy project

2019-05-07 Thread N'BE SORO
Hi I'm a beginner in python and I realized a project in Django. I have problems in hosting my project. here is my code in the 000-default.conf #ServerName #ServerAlias ServerAdmin webmaster @ localhost DocumentRoot / var / www / html / ecommerce WSGIScriptAlias ​​/