DO you know that error I been trying to fox it since 6 hours with no udaptes

2024-05-12 Thread Yann
 TemplateDoesNotExist at /login/ usagers/login.html 
Request Method: 
GET 
Request URL: 
http://127.0.0.1:8000/login/ 
Django Version: 
4.0.3 
Exception Type: 
TemplateDoesNotExist 
Exception Value: 
usagers/login.html 
Exception Location: 
C:\Users\Yann\AppData\Local\Programs\Python\Python312\Lib\site-packages\django\template\loader.py,
 
line 47, in select_template 
Python Executable: 
C:\Users\Yann\AppData\Local\Programs\Python\Python312\python.exe 
Python Version: 
3.12.1 
Python Path: 
['C:\\Pwd-H2024\\critiques_gastronomiques', 
'C:\\Users\\Yann\\AppData\\Local\\Programs\\Python\\Python312\\python312.zip', 
'C:\\Users\\Yann\\AppData\\Local\\Programs\\Python\\Python312\\DLLs', 
'C:\\Users\\Yann\\AppData\\Local\\Programs\\Python\\Python312\\Lib', 
'C:\\Users\\Yann\\AppData\\Local\\Programs\\Python\\Python312', 
'C:\\Users\\Yann\\AppData\\Local\\Programs\\Python\\Python312\\Lib\\site-packages']
 

Server time: 
Sun, 12 May 2024 13:03:44 + 
Template-loader postmortem 

Django tried loading these templates, in this order:

Using engine django:

   - django.template.loaders.filesystem.Loader: 
   
C:\Pwd-H2024\critiques_gastronomiques\critique_gastronomiques\templates\usagers\login.html
 
   (Source does not exist) 
   - django.template.loaders.filesystem.Loader: 
   
C:\Pwd-H2024\critiques_gastronomiques\restaurants\templates\usagers\login.html 
   (Source does not exist) 
   - django.template.loaders.app_directories.Loader: 
   
C:\Users\Yann\AppData\Local\Programs\Python\Python312\Lib\site-packages\django\contrib\admin\templates\usagers\login.html
 
   (Source does not exist) 
   - django.template.loaders.app_directories.Loader: 
   
C:\Users\Yann\AppData\Local\Programs\Python\Python312\Lib\site-packages\django\contrib\auth\templates\usagers\login.html
 
   (Source does not exist) 
   - django.template.loaders.app_directories.Loader: 
   
C:\Pwd-H2024\critiques_gastronomiques\restaurants\templates\usagers\login.html 
   (Source does not exist)
   - 
   

-- 
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to django-users+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-users/c2726951-bcb7-421f-9f5e-9562f726f564n%40googlegroups.com.


Re: I need web scraping to get product information from mfg sites

2021-05-18 Thread Yann Mbella
I want to be part for the help
My name is mbella onguene Yann Symphorien
Email: mbellaongu...@gmail.com

On Tue, 18 May 2021 at 17:07 Software, Web Developer 
wrote:

> Interested
> Name: Joash Monda Mokaya
> Email Address: mondajoas...@gmail.com
> WhatsApp Number: +254707191544
>
> Thanks
>
> On Tue, May 18, 2021, 17:55 John McClain  wrote:
>
>> Hello,
>>
>> I am looking for individuals that can set up scraping routines for me and
>> place the results in google.docs for me.
>>
>> If interested in helping out please let me know. Some compensation for
>> your efforts is available. There are 20+ sites needed to be scraped which
>> is why I am seeking help with the project.
>>
>> If interested drop your name and contact details here and I'll be in
>> touch.
>>
>> Cheers,
>>
>> J
>>
>> --
>> John McClain
>>
>> Cell: 085-1977-823
>> Skype: jmcclain0129
>> Email: jmcclain0...@gmail.com
>>
>> --
>> You received this message because you are subscribed to the Google Groups
>> "Django users" group.
>> To unsubscribe from this group and stop receiving emails from it, send an
>> email to django-users+unsubscr...@googlegroups.com.
>> To view this discussion on the web visit
>> https://groups.google.com/d/msgid/django-users/CAN-hv_pQ67gGF10S4J1pk1CtSzmX9qqtDp_-j_Pax3tvpmeczg%40mail.gmail.com
>> <https://groups.google.com/d/msgid/django-users/CAN-hv_pQ67gGF10S4J1pk1CtSzmX9qqtDp_-j_Pax3tvpmeczg%40mail.gmail.com?utm_medium=email_source=footer>
>> .
>>
> --
> You received this message because you are subscribed to the Google Groups
> "Django users" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to django-users+unsubscr...@googlegroups.com.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/django-users/CADFHYGTUD%3DCiFjO8w0dhGUGos9-PR5ZB7MV1n90Puqrh-rcosA%40mail.gmail.com
> <https://groups.google.com/d/msgid/django-users/CADFHYGTUD%3DCiFjO8w0dhGUGos9-PR5ZB7MV1n90Puqrh-rcosA%40mail.gmail.com?utm_medium=email_source=footer>
> .
>

-- 
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to django-users+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-users/CAEaFv0H8iAPPg%3DVHzAyNKQ9E6_4kZtHQw0wUexNAsSr%2B13G57g%40mail.gmail.com.


DRF

2020-08-06 Thread Yann Mbella
Hi 
I need help to make a dynamic permission system using django permission 
according to groups 

-- 
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to django-users+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-users/0ba8208d-5bd6-485f-a2e6-54ab9297ad7do%40googlegroups.com.


Re: Boto3, aws, workdocs

2019-11-22 Thread Yann Mbella
thanks for the link i have read this already but i need a quick start or a
tutorial


Le jeu. 21 nov. 2019 à 13:55, Integr@te System  a
écrit :

> hi eager man,
> follow your need.
> https://boto3.amazonaws.com/v1/documentation/api/latest/index.html
>
> On Thu, Nov 21, 2019, 19:32 Yann Mbella  wrote:
>
>> Hey guys need help in usage of this service boto3 with workdocs if
>> someone has a link of any tutorial please help urgent
>>
>> --
>> You received this message because you are subscribed to the Google Groups
>> "Django users" group.
>> To unsubscribe from this group and stop receiving emails from it, send an
>> email to django-users+unsubscr...@googlegroups.com.
>> To view this discussion on the web visit
>> https://groups.google.com/d/msgid/django-users/41e64a69-f2dd-448d-8688-9bbfc1af%40googlegroups.com
>> <https://groups.google.com/d/msgid/django-users/41e64a69-f2dd-448d-8688-9bbfc1af%40googlegroups.com?utm_medium=email_source=footer>
>> .
>>
> --
> You received this message because you are subscribed to the Google Groups
> "Django users" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to django-users+unsubscr...@googlegroups.com.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/django-users/CAP5HUWp6vYJNRmR%3DatsuXYhFtKV%3D%2BozK%3DSubjgu_17M7rD02gw%40mail.gmail.com
> <https://groups.google.com/d/msgid/django-users/CAP5HUWp6vYJNRmR%3DatsuXYhFtKV%3D%2BozK%3DSubjgu_17M7rD02gw%40mail.gmail.com?utm_medium=email_source=footer>
> .
>

-- 
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to django-users+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-users/CAEaFv0EYeXY-wXPEvTEqnkDEt6A67b2svXMO3CdFRX0%2BCdcP0g%40mail.gmail.com.


Boto3, aws, workdocs

2019-11-21 Thread Yann Mbella
Hey guys need help in usage of this service boto3 with workdocs if someone 
has a link of any tutorial please help urgent

-- 
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to django-users+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-users/41e64a69-f2dd-448d-8688-9bbfc1af%40googlegroups.com.


ListView from 2 model

2019-10-02 Thread Yann Mbella
hi everyone,
I got a problem in listing two models from a listview that is,  a list of 
one model and another model together (eg Books and Authors)

-- 
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to django-users+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-users/915dbb5a-78bc-4d06-9a96-b0a43fa84be7%40googlegroups.com.


Re: ORM

2019-09-16 Thread Yann Mbella
I needed the contrary having uml diagrams and generating models from
does diagram

Le lun. 16 sept. 2019 à 16:43, Yann Mbella  a
écrit :

> Thanx for the information
>
> Le ven. 13 sept. 2019 à 06:24, Jani Tiainen  a écrit :
>
>> Hi.
>>
>> There exists django-extensions package that has management command to
>> make UML diagram for your models.
>>
>>
>> pe 13. syysk. 2019 klo 5.22 Yann Mbella 
>> kirjoitti:
>>
>>> Got little problem is it possible to have a plugin which mapps or
>>> reproduce my class diagrams drawn in an IDE of UML in my models app
>>>
>>> --
>>> You received this message because you are subscribed to the Google
>>> Groups "Django users" group.
>>> To unsubscribe from this group and stop receiving emails from it, send
>>> an email to django-users+unsubscr...@googlegroups.com.
>>> To view this discussion on the web visit
>>> https://groups.google.com/d/msgid/django-users/13525e44-e176-409a-a55e-0595834c780f%40googlegroups.com
>>> <https://groups.google.com/d/msgid/django-users/13525e44-e176-409a-a55e-0595834c780f%40googlegroups.com?utm_medium=email_source=footer>
>>> .
>>>
>> --
>> You received this message because you are subscribed to the Google Groups
>> "Django users" group.
>> To unsubscribe from this group and stop receiving emails from it, send an
>> email to django-users+unsubscr...@googlegroups.com.
>> To view this discussion on the web visit
>> https://groups.google.com/d/msgid/django-users/CAHn91odRe_26%3DuuAwCQOOapK_UeKPE1tOtmXQP-df8%3Dnxf4k3g%40mail.gmail.com
>> <https://groups.google.com/d/msgid/django-users/CAHn91odRe_26%3DuuAwCQOOapK_UeKPE1tOtmXQP-df8%3Dnxf4k3g%40mail.gmail.com?utm_medium=email_source=footer>
>> .
>>
>

-- 
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to django-users+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-users/CAEaFv0FoE4D8_zNNv%2B3T3HUx1AzF%3DgGFPjUFLVL0sqQzc6Vtsg%40mail.gmail.com.


Re: ORM

2019-09-16 Thread Yann Mbella
Thanx for the information

Le ven. 13 sept. 2019 à 06:24, Jani Tiainen  a écrit :

> Hi.
>
> There exists django-extensions package that has management command to make
> UML diagram for your models.
>
>
> pe 13. syysk. 2019 klo 5.22 Yann Mbella 
> kirjoitti:
>
>> Got little problem is it possible to have a plugin which mapps or
>> reproduce my class diagrams drawn in an IDE of UML in my models app
>>
>> --
>> You received this message because you are subscribed to the Google Groups
>> "Django users" group.
>> To unsubscribe from this group and stop receiving emails from it, send an
>> email to django-users+unsubscr...@googlegroups.com.
>> To view this discussion on the web visit
>> https://groups.google.com/d/msgid/django-users/13525e44-e176-409a-a55e-0595834c780f%40googlegroups.com
>> <https://groups.google.com/d/msgid/django-users/13525e44-e176-409a-a55e-0595834c780f%40googlegroups.com?utm_medium=email_source=footer>
>> .
>>
> --
> You received this message because you are subscribed to the Google Groups
> "Django users" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to django-users+unsubscr...@googlegroups.com.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/django-users/CAHn91odRe_26%3DuuAwCQOOapK_UeKPE1tOtmXQP-df8%3Dnxf4k3g%40mail.gmail.com
> <https://groups.google.com/d/msgid/django-users/CAHn91odRe_26%3DuuAwCQOOapK_UeKPE1tOtmXQP-df8%3Dnxf4k3g%40mail.gmail.com?utm_medium=email_source=footer>
> .
>

-- 
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to django-users+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-users/CAEaFv0GFdjA-W9XTWjG6as9KYy%3Dj-xy_PBMBG5v69fG9cvE%2B2Q%40mail.gmail.com.


ORM

2019-09-12 Thread Yann Mbella
Got little problem is it possible to have a plugin which mapps or reproduce 
my class diagrams drawn in an IDE of UML in my models app 

-- 
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to django-users+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-users/13525e44-e176-409a-a55e-0595834c780f%40googlegroups.com.


Re: NEED FOR A SLACK CHANNEL

2019-02-21 Thread Yann Sionneau

Slack is proprietary software, maybe Mattermost can be used instead.

For instance there is free instance at framateam.org

On 2/21/19 5:23 PM, gilwell muhati wrote:

Hello,
Can we create a *slack* channel for tutorials, job adverts and system 
collaboration?


*Regards,*


--
You received this message because you are subscribed to the Google Groups "Django 
users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to django-users+unsubscr...@googlegroups.com.
To post to this group, send email to django-users@googlegroups.com.
Visit this group at https://groups.google.com/group/django-users.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-users/a46eb4b4-ff29-8953-ae73-d93b6df0eada%40sionneau.net.
For more options, visit https://groups.google.com/d/optout.


Re: How to serve any static directory?

2015-09-02 Thread Yann Salaün
Hi,

The main reason I try to serve those static files with django is because I
would like to use django to configure the route.

Trying to clarify my question:

1. The url (http:///site//) doesn't match the
directory name (which could be anything, like `XYZ_html/`).
2. Administrators must be able to upload new archives, which should be
extracted and served automatically.

For those two reasons, I don't have any idea how to serve this content
using the webserver, because how is it possible to configure the routes
then?

Thank you for your answer

On Tue, Sep 1, 2015 at 4:43 PM, Florian Schweikert <kel...@ist-total.org>
wrote:

> On 01/09/15 16:34, Yann Salaün wrote:
> > In summary : is there a way to put something like `return
> > serve_this_static_directory()` in the view? or is there any workaround
> > there?
>
> Not sure if I get you right, you want to serve static files with django?
> Is there any reason why it's not possible to serve them with nginx/apache?
>
> regards,
> Florian
>
> --
> You received this message because you are subscribed to the Google Groups
> "Django users" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to django-users+unsubscr...@googlegroups.com.
> To post to this group, send email to django-users@googlegroups.com.
> Visit this group at http://groups.google.com/group/django-users.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/django-users/55E5B97B.3070607%40ist-total.org
> .
> For more options, visit https://groups.google.com/d/optout.
>

-- 
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to django-users+unsubscr...@googlegroups.com.
To post to this group, send email to django-users@googlegroups.com.
Visit this group at http://groups.google.com/group/django-users.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-users/CAHDVCz7udUn-Fo542FUwcLVz-6NSvoHh6qFLf8aGnKUOTp%3Dagw%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.


How to serve any static directory?

2015-09-01 Thread Yann Salaün
Hi all,

I'm working on an application where we want the following to happen:

1. The administrators upload zip archives containing web content (whole
static websites) through admin interface
2. The archive is unzipped in the background to a random directory
3. The static content is served at a url that looks like
http:///site//,
with the index.html at the root, all the paths to css and js files, etc.

I know how to configure the route, but I was wondering what to put in the
view. I have tried with STATIC_{ROOT,URL} and MEDIA_{ROOT,URL} but I feel
it's not the right way.

In summary : is there a way to put something like `return
serve_this_static_directory()` in the view? or is there any workaround
there?

Thanks for your answers

Yann

-- 
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to django-users+unsubscr...@googlegroups.com.
To post to this group, send email to django-users@googlegroups.com.
Visit this group at http://groups.google.com/group/django-users.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-users/CAHDVCz73WP6MAC2VqYGkDYRw-vJCkd2fJXRUoZKyybrrjPAt4Q%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.


__str__ and __unicode__ not working!!

2015-05-04 Thread Yann Ashuach
In tutorial number one in django documentations, i have tried and tried 
again, and neither the __str__ or the __unicode__ is working! This has been 
a problem for quite a while now... The file i have attached is the code i 
have written. I have looked on many different sites, and haven't found any 
answers. overtime i try, it just gives "Question object" back out..

Thank you in advanced for your help :)

-- 
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to django-users+unsubscr...@googlegroups.com.
To post to this group, send email to django-users@googlegroups.com.
Visit this group at http://groups.google.com/group/django-users.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-users/5aaa7258-513f-4df1-ad10-4b2cbf55cbb6%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Adding a field in the User - Group relation in Auth

2012-06-19 Thread Yann 'Meow' Bordenave
Hello here,
I'm new with Django, I'm practicing what I learnt on an app for teams
management. 
I wanted to know if it is possible to add a field in the
ManyToMany relation between users and groups in auth, to add a foreign
key on a function model. The goal is to specify the function of an
user in the group (manager, simple member,…).
Is there a way to do it cleanly ? 

I hope my english is good.
Thank you

-- 
Yann 'Meow' Bordenave
m...@meowstars.org

-- 
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To post to this group, send email to django-users@googlegroups.com.
To unsubscribe from this group, send email to 
django-users+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/django-users?hl=en.



Re: @commit_on_success with Class based view in Django 1.3

2012-02-15 Thread Yann
but on which method of the class view?

the post method?

On Feb 16, 12:03 pm, Matt Schinckel  wrote:
> You can use the @method_decorator decorator decorator.
>
> https://docs.djangoproject.com/en/dev/topics/class-based-views/#decor...

-- 
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To post to this group, send email to django-users@googlegroups.com.
To unsubscribe from this group, send email to 
django-users+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/django-users?hl=en.



Re: @commit_on_success with Class based view in Django 1.3

2012-02-15 Thread Yann
Thanks. But the more important question is how to use
commit_on_success with class based view?



On Feb 16, 1:52 am, 赵帅 <rostin...@gmail.com> wrote:
> The commit_on_success decorator only garrentees that one commit is done
> when no exception is raised from the function and rollback if there is any .
> You have to ensure on your own hand the values in the two tables are equal.
>
> 2012/2/15 Yann <yann.l@gmail.com>
>
>
>
>
>
>
>
> > Hi,
>
> > In a class view, I am trying to modify two instances of different
> > models. There are some identical data stored in both tables. They
> > should really be the same in any circumstance .
>
> > Should I use "@commit_on_success"?
>
> > If I should, how should i use it for the class based view?
>
> > Should I do something like this?
>
> > class CreateSomethingView(CreateView):
>
> > ""
> > ""
> >    @method_decorator(transaction.commit_on_succes)
> >    def post(self):
> >       ""
>
> > --
> > You received this message because you are subscribed to the Google Groups
> > "Django users" group.
> > To post to this group, send email to django-users@googlegroups.com.
> > To unsubscribe from this group, send email to
> > django-users+unsubscr...@googlegroups.com.
> > For more options, visit this group at
> >http://groups.google.com/group/django-users?hl=en.

-- 
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To post to this group, send email to django-users@googlegroups.com.
To unsubscribe from this group, send email to 
django-users+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/django-users?hl=en.



@commit_on_success with Class based view in Django 1.3

2012-02-15 Thread Yann
Hi,

In a class view, I am trying to modify two instances of different
models. There are some identical data stored in both tables. They
should really be the same in any circumstance .

Should I use "@commit_on_success"?

If I should, how should i use it for the class based view?

Should I do something like this?

class CreateSomethingView(CreateView):

""
""
@method_decorator(transaction.commit_on_succes)
def post(self):
   ""


-- 
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To post to this group, send email to django-users@googlegroups.com.
To unsubscribe from this group, send email to 
django-users+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/django-users?hl=en.