Re: How to use ModelChoiceField? I whould like to filter the output from a field form.

2020-05-01 Thread Sergei Sokov
А не могли бы вы подсказать как вызвать две разные формы, от двух разных классов в models.py, на одной странице? Нужно передать в контекст views.py две формы, и эти две формы по разному назвать. class SkladCreateView(LoginRequiredMixin, CustomSuccessMessageMixin, CreateView): model = Sklad

Watch "What is RSS feed How to create RSS feed in Django | part 2" on YouTube

2020-05-01 Thread Anonymous Patel
https://youtu.be/2fB4PN-WRcQ If you are facing issue in creating RSS feed in django .. Here is tutorial they are coming up with. And they help Developers like us to solve many problems. Follow there telegram channel where usefull and updated problems solution updates come always. @*errormania* T

Re: sphinx inside

2020-05-01 Thread Kai Kobschätzki
Hi Amit, thanks for your response. But in this way, I can't use the sphinx templates, the links are not correct and after every new make html (or using sphinx-autobuild) I have to copy the changed or new files. Are there no more likable way? Greetings bengoshi On 5/1/20 1:53 AM, Amit Gupta wrot

Re: Django framework with machine learning

2020-05-01 Thread Kasper Laudrup
Hi Lansana, On 01/05/2020 01.21, Lansana Sangare wrote: Good evening here is the output on the developpement server and the code in django, for smaller scripts I get the output, but for larger ones I get strange output or sometimes not. In the attachment I have the large file run.py that I r

Re: I really need help pls assist this error

2020-05-01 Thread Listenable Music
Thank u so much for such info On Friday, May 1, 2020 at 1:59:56 AM UTC+8, jlgimeno71 wrote: > > > > On Thu, Apr 30, 2020, 5:05 AM Listenable Music > wrote: > >> 1st error in http://127.0.0.1:8000/ i dont know why I don't see any error >> >> Page not found (404) >> Request Method: GET >> Request U

Djando with ubuntu core

2020-05-01 Thread Ali Oun
can i bilud a django app on ubuntu core ? -- 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 t

Re: sphinx inside

2020-05-01 Thread Motaz Hejaze
Make a view that returns a template only , and give it a url On Fri, 1 May 2020, 10:09 am Kai Kobschätzki, wrote: > Hi Amit, > > thanks for your response. But in this way, I can't use the sphinx > templates, the links are not correct and after every new make html (or > using sphinx-autobuild) I

Trying to send mails from website

2020-05-01 Thread Divash Singh
Hi guys,  I am using Celery and Eventlet to facilitate a task which sends emails.  I am using the following code: @task def order_created(order_id):    """    Task to send an e-mail notification when an order is    successfully created.    """    order = Order.objects.get(id=order_id)    subject =

Watch "Ever Thought How This Games Developed | PUBG | CALL OF DUTY | Unity PART 0" on YouTube

2020-05-01 Thread Anonymous Patel
https://youtu.be/JsJ7SPX84Ts Ever thought how this ganes are developed No? Than go amd watch our live premiere to errormania. A Developer's community where we help each other to solve their Errors. Raj Patel -- You received this message because you are subscribed to the Google Groups "Django

reg: rendering profile page

2020-05-01 Thread 'Amitesh Sahay' via Django users
Hello All,  Kindly help in the below link how to redirect to a profile page and see the data of the logged in user in Django? | | | | | | | | | | | how to redirect to a profile page and see the data of the logged in user... I have been working on a small project, and it was developin

Re: Can anyone please help?

2020-05-01 Thread Milson Munakami
*Interesting findings :* 1. If I put Querystring to redirect that works fine and I can correctly get request.user sessions 2. It breaks to --> AnonymousUser as soon as I try to use: request.session variables inside the returned POST method of the Endpoint View Class. 3. Though, when I navigate to a

Watch "Ever Thought How This Games Like PUBG | CALL OF DUTY | Are developed" on YouTube

2020-05-01 Thread Anonymous Patel
https://youtu.be/kkNXbVFiqjc Ever thought of developing games see our series unity from basics to pro Raj Patel -- 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 dropdown data display issues in the control

2020-05-01 Thread Ajeet Kumar Gupt
> Hi, > > I am a beginner in Django and want to developing one assignment in django. > > Now, I am created one model category and subcategory. Based on category > populate the data sub-category and data have saved like the below format. > > *Category = * Operations > > *Subcategory =* Category1,Cat

Re: Trying to send mails from website

2020-05-01 Thread VenkataSivaRamiReddy
Don't use function names like that _ On Fri, May 1, 2020, 20:03 Divash Singh wrote: > Hi guys, > > > > I am using Celery and Eventlet to facilitate a task which sends emails. I > am using the following code: > > > > @task > > def order_created(order_id): > > """ > > Task to send an e-ma

django bootstrap calendar

2020-05-01 Thread Perceval Maturure
hi all, is there anyone who has used the django bootstrap calendar in their projects? im tryin to return current year and month label? -- *Perceval Maturure* *083 303 9423* -- You received this message because you are subscribed to the Google Groups "Django users" group. To unsubscribe from

Re: sphinx inside

2020-05-01 Thread Kai Kobschätzki
I tried a path('docs/', TemplateView.as_view(template_name="docs/html/index.html")) then I can see the index.html but without css and no link works.. Greetings bengoshi On 5/1/20 4:25 PM, Motaz Hejaze wrote: > Make a view that returns a template only , and give it a url > > On Fri, 1 May 2020,

Re: sphinx inside

2020-05-01 Thread Michael Rohan
Hi, I believe it's probably easiest to simply create the Sphinx html files in one of the static directories (probably should add to the top level one if you have one, or one of the apps if the docs are app specific) and just let the static file handling serve them. You could use whitenoise to

How to refer to another translation in a translation?

2020-05-01 Thread gqq nbig
msgid "Tree free" msgstr "aa" msgid "True free is good" msgstr "aa is good" This po file has a key "Tree free", which I translated to "aa". There is another key "True free is good", which should be translated to "aa is good." Considering the Don't Repeat Yourself rule, can I refer the transla

Re: sphinx inside

2020-05-01 Thread Motaz Hejaze
Inspect the generated sphinx html , load the static using django On Fri, 1 May 2020, 11:51 pm Michael Rohan, wrote: > Hi, > > I believe it's probably easiest to simply create the Sphinx html files in > one of the static directories (probably should add to the top level one if > you have one, or

ModuleNotFoundError: No module named 'picamera'

2020-05-01 Thread strudelsoten4427
I'm trying to live stream video from my raspberry pi to a Django web page, but for some reason, I can't import the 'picamera'-module in Django... I have written a script that outputs the camera-feed, and it works fine when i run it outside of the server, but when i import my camera-script to vi

Django Type Error with POST method

2020-05-01 Thread Mayank Tripathi
Hi All, I am working on small hands-on project.. and having an issue when calling the POST method with form.py Below is the code. Here i have two models.. one is Category and another is SubCategory. For SubCategory i have created form "SubCategoryFormv2" in forms.py... where i am checking if ca

overriding __init__ in forms.ModelForm is erroring with POST method

2020-05-01 Thread Mayank Tripathi
Hi All, I am working on small hands-on project.. and having an issue when calling the POST method with form.py overriding __init__. Below is the code. Here i have two models.. one is Category and another is SubCategory. For SubCategory i have created form "SubCategoryFormv2" in forms.py... wher