Re: How to create .exe file of django project ?

2022-10-11 Thread ssawyer

Something else to look at is pysimplegui to replace your end user interfaces in 
django.  https://www.pysimplegui.org/en/latest/

I have not tried to turn any of them into .exe since I mostly run linux but it would seem to be more inclined to work within a .exe framework. 


Good luck.

On 10/10/22 5:19 PM, محمد احمد  wrote:
Hello,I create django website using django and jquery but i want to 
convert into desktop application.I tried pyinstaller but there is some 
problem with pyinstaller.It create exe file but but when i open the exe 
it open cmd promt and close automatically.Is there any other way to 
convert into desktop application ?



في الأربعاء، 2 يونيو 2021 في تمام الساعة 6:00:15 ص UTC-7، كتب Kasper 
Laudrup رسالة نصها:


On 02/06/2021 14.06, Tejas Tendulkar wrote:
 > Is there any other way to convert into desktop application ?
 >

I would say the short answer is "no". At least not in the way you have
tried so far.

You would probably be able to somehow make the development server run
your code as an executable with something like pyinstaller and then
open
the default webbrowser and point it to your locally running web server,
but it doesn't sound like that's what you're after.

Someone else mentioned something about some javascript frameworks
designed for targeting both websites as well as mobile applications and
something like that might work.

I would probably do something like creating a REST API instead (using,
eg. Django Rest Framework) and then create a GUI frontend using
something like PyQT, but of course that very much depends on what your
application is doing.

Kind regards,

Kasper Laudrup

--
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/362abbf5-18d3-4b1e-95c6-a8842ef580b6n%40googlegroups.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/d4164e28-01dd-38ba-4d20-afede8d617c3%40gmail.com.


Re: How to create .exe file of django project ?

2022-10-11 Thread محمد احمد
Hello,I create django website using django and jquery but i want to convert 
into desktop application.I tried pyinstaller but there is some problem with 
pyinstaller.It create exe file but but when i open the exe it open cmd 
promt and close automatically.Is there any other way to convert into 
desktop application ?


في الأربعاء، 2 يونيو 2021 في تمام الساعة 6:00:15 ص UTC-7، كتب Kasper 
Laudrup رسالة نصها:

> On 02/06/2021 14.06, Tejas Tendulkar wrote:
> > Is there any other way to convert into desktop application ?
> >
>
> I would say the short answer is "no". At least not in the way you have
> tried so far.
>
> You would probably be able to somehow make the development server run
> your code as an executable with something like pyinstaller and then open
> the default webbrowser and point it to your locally running web server,
> but it doesn't sound like that's what you're after.
>
> Someone else mentioned something about some javascript frameworks
> designed for targeting both websites as well as mobile applications and
> something like that might work.
>
> I would probably do something like creating a REST API instead (using,
> eg. Django Rest Framework) and then create a GUI frontend using
> something like PyQT, but of course that very much depends on what your
> application is doing.
>
> Kind regards,
>
> Kasper Laudrup
>
>

-- 
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/362abbf5-18d3-4b1e-95c6-a8842ef580b6n%40googlegroups.com.


Re: error extending base template

2022-10-11 Thread Chukwudi Onwusa
Give space in the html template tag
I mean {% extends 'base.html' %}
But if the base is nested inside a directory inside the template directory
pls name the '../base.html' according.
Thanks
Hope it will be help.

On Mon, Oct 10, 2022, 16:11 Namanya Daniel 
wrote:

> hello, someone help me out. am new to django and i face an issue with
> templates extending base.html
>
> i have created a base.html template which is basically a skeleton for
> other templates, they are all in templates/another directory but when i use
> {%extends 'base.html'%}  I get this error... thanks in advance
>
>
> Request Method:
> GET
> Request URL:
> http://127.0.0.1:8000/
> Django Version:
> 4.1.2
> Exception Type:
> TemplateDoesNotExist
> Exception Value:
> base.html
>
> --
> 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/b46cebb4-fca2-49b8-a836-309a2c4a4024n%40googlegroups.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/CAGoV8n%3DxS3Zm_NmK7L8TqGg-vwX_5VAN%2BMxSwpM05TNK3Kc4rg%40mail.gmail.com.


Re: Sending Live Streaming Images from Client’s Webcam to Django Server

2022-10-11 Thread amruth bitla
This is secret key may be you would share this ? Which key is it

-- 
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/CA%2BKLm_jobDvQmVJvT0L4pqe3pUHhOY2U%3DEX8r67K_v6qhAggaA%40mail.gmail.com.