Re: Hi guys how to run pyscript on local webserver without using cdn ljnk

2022-08-01 Thread Abdul Qoyyuum
Download it from https://pyscript.net/ and load it on your local webserver. On Fri, Jul 29, 2022 at 10:59 PM Ad Tariq wrote: > > > Sent from my Huawei Mobile > > -- > You received this message because you are subscribed to the Google Groups > "Django users" group. > To unsubscribe from this

Re: Hi guys how to run pyscript on local webserver without using cdn ljnk

2022-07-29 Thread Sebastian Jung
Is it a joke? Please write a description which Problem you have... Ad Tariq schrieb am Fr., 29. Juli 2022, 16:58: > > > Sent from my Huawei Mobile > > -- > You received this message because you are subscribed to the Google Groups > "Django users" group. > To unsubscribe from this group and stop

Hi guys how to run pyscript on local webserver without using cdn ljnk

2022-07-29 Thread Ad Tariq
Sent from my Huawei Mobile -- 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

Re: HOW TO RUN DJANGO PROJECT

2022-07-22 Thread Gerardo Palazuelos Guerrero
I'm watching this series, it might help you understand. Python & Django 3.2 Tutorial Series https://www.youtube.com/watch?v=SlHBNXW1rTk=PLEsfXFp6DpzRMby_cSoWTFw8zaMdTEXgL -- Gerardo Palazuelos Guerrero On Fri, Jul 22, 2022 at 10:35 AM nick washington wrote: > How do you want my help > > On

Re: HOW TO RUN DJANGO PROJECT

2022-07-22 Thread nick washington
How do you want my help On Fri, Jul 22, 2022, 18:08 Edward Deus Misogoro wrote: > Please 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

Re: HOW TO RUN DJANGO PROJECT

2022-07-22 Thread 'Kasper Laudrup' via Django users
On 22/07/2022 16.11, Edward Deus Misogoro wrote: Please help With what? 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

RE: HOW TO RUN DJANGO PROJECT

2022-07-22 Thread Edward Deus Misogoro
Please 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 view this discussion on the web visit

Re: How to run an already built django project with docker?

2021-03-29 Thread DJANGO DEVELOPER
gt;> what if I don't use docker up or run, then will it be possible to run >>>>> the django project? >>>>> >>>>> On Mon, Mar 29, 2021 at 11:49 AM DJANGO DEVELOPER < >>>>> abubakarbr...@gmail.com> wrote: >>>>> >>&g

Re: How to run an already built django project with docker?

2021-03-29 Thread Kunal Solanke
; >>>> abubakarbr...@gmail.com> wrote: >>>> >>>>> okay, thank you for the suggestion. >>>>> >>>>> On Mon, Mar 29, 2021 at 11:45 AM Kunal Solanke < >>>>> kunalsolanke1...@gmail.com> wrote: >>>>> >>>>&g

Re: How to run an already built django project with docker?

2021-03-29 Thread DJANGO DEVELOPER
t;>> okay, thank you for the suggestion. >>>> >>>> On Mon, Mar 29, 2021 at 11:45 AM Kunal Solanke < >>>> kunalsolanke1...@gmail.com> wrote: >>>> >>>>> If you know how to containerize a project you should know how to run >

Re: How to run an already built django project with docker?

2021-03-29 Thread DJANGO DEVELOPER
29, 2021 at 11:49 AM DJANGO DEVELOPER < >> abubakarbr...@gmail.com> wrote: >> >>> okay, thank you for the suggestion. >>> >>> On Mon, Mar 29, 2021 at 11:45 AM Kunal Solanke < >>> kunalsolanke1...@gmail.com> wrote: >>> >>

Re: How to run an already built django project with docker?

2021-03-29 Thread Kunal Solanke
< >> kunalsolanke1...@gmail.com> wrote: >> >>> If you know how to containerize a project you should know how to run >>> that containarized image, that's why I said to look for articles and >>> anaylyse the codebase >>> >>> docker run or docker-co

Re: How to run an already built django project with docker?

2021-03-29 Thread DJANGO DEVELOPER
l Solanke > wrote: > >> If you know how to containerize a project you should know how to run that >> containarized image, that's why I said to look for articles and anaylyse >> the codebase >> >> docker run or docker-compose up >> These are most like going

Re: How to run an already built django project with docker?

2021-03-29 Thread DJANGO DEVELOPER
okay, thank you for the suggestion. On Mon, Mar 29, 2021 at 11:45 AM Kunal Solanke wrote: > If you know how to containerize a project you should know how to run that > containarized image, that's why I said to look for articles and anaylyse > the codebase > > docker run or do

Re: How to run an already built django project with docker?

2021-03-29 Thread Kunal Solanke
If you know how to containerize a project you should know how to run that containarized image, that's why I said to look for articles and anaylyse the codebase docker run or docker-compose up These are most like going to be used On Mon, Mar 29, 2021, 12:12 DJANGO DEVELOPER wrote: > well

Re: How to run an already built django project with docker?

2021-03-29 Thread DJANGO DEVELOPER
well, I already know how to containerise a new Django project. but Idk how to run an already containerised Django project. that's what is my question for now. and I am not allowed to share the code. so this was the only way to share my question. so can you help me with this information only

Re: How to run an already built django project with docker?

2021-03-29 Thread Kunal Solanke
eloped by another developer > and it is containerised. Now the developer has send the project to me and > wants me to do some changes in it? > can anyone guide me that how can I run the project using docker again? > database is postgresql. > > -- > You received this message

How to run an already built django project with docker?

2021-03-29 Thread DJANGO DEVELOPER
Hi, I have a django project which is already developed by another developer and it is containerised. Now the developer has send the project to me and wants me to do some changes in it? can anyone guide me that how can I run the project using docker again? database is postgresql. -- You

Re: How to run django-helpdesk in visual studio code or ubuntu 20.04

2021-03-13 Thread Azharul Islam Somon
Ok , Thank you so much. On Sat, Mar 13, 2021 at 5:31 AM Kasper Laudrup wrote: > On 13/03/2021 13.16, Azharul Islam Somon wrote: > > Thank you for your reply. I have set up my MEDIA_ROOT as like : > > MEDIA_ROOT = os.path.join(BASE_DIR,'/static/images') > > > > What should I change, please? > >

Re: How to run django-helpdesk in visual studio code or ubuntu 20.04

2021-03-13 Thread Kasper Laudrup
On 13/03/2021 13.16, Azharul Islam Somon wrote: > Thank you for your reply. I have set up my MEDIA_ROOT as like : > MEDIA_ROOT = os.path.join(BASE_DIR,'/static/images') > > What should I change, please?  > That's up to you to decide, but you don't want it to be the same path as your static

Re: How to run django-helpdesk in visual studio code or ubuntu 20.04

2021-03-13 Thread Azharul Islam Somon
Thank you for your reply. I have set up my MEDIA_ROOT as like : MEDIA_ROOT = os.path.join(BASE_DIR,'/static/images') What should I change, please? On Sat, Mar 13, 2021 at 4:20 PM Kasper Laudrup wrote: > On 13/03/2021 06.22, Azharul Islam Somon wrote: > > I have successfully run on my local

Re: How to run django-helpdesk in visual studio code or ubuntu 20.04

2021-03-13 Thread Kasper Laudrup
On 13/03/2021 06.22, Azharul Islam Somon wrote: > I have successfully run on my local matching. I start installing with > "|pip install django-helpdesk| " and followed rest of the step and from > https://django-helpdesk.readthedocs.io/en/0.2.x/install.html >

Re: How to run django-helpdesk in visual studio code or ubuntu 20.04

2021-03-12 Thread Azharul Islam Somon
com/django-helpdesk/django-helpdesk and > > install all the requirement, but i am not understanding the way to run > > in my local environment. I am getting this type of output, how to run? > > > > Have you considered trying to follow the instructions on the frontpage > of

Re: How to run django-helpdesk in visual studio code or ubuntu 20.04

2021-03-10 Thread Kasper Laudrup
On 10/03/2021 12.28, Azharul Islam Somon wrote: I clone the the https://github.com/django-helpdesk/django-helpdesk and install all the requirement, but i am not understanding the way to run in my local environment. I am getting this type of output, how to run? Have you considered trying

How to run django-helpdesk in visual studio code or ubuntu 20.04

2021-03-10 Thread Azharul Islam Somon
I clone the the https://github.com/django-helpdesk/django-helpdesk and install all the requirement, but i am not understanding the way to run in my local environment. I am getting this type of output, how to run? Thanks in advance. -- You received this message because you are subscribed

How to Run script on remote server from Django Webserver - Help needed

2020-05-12 Thread Wilson Duarte
Hi, I prefer developer this solution, using REST API, it is more elegante. -- 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

How to Run script on remote server from Django Webserver - Help needed

2020-05-12 Thread Sharanagouda Biradar
Hello All, I have started learning Django last one week and able to fairly understand basic poll application in tutorial, Now I need any of your help in meeting my requirements: *Requirement below :* I have a basic (server1) Django development web server and another server (server2) which

Re: How to run django server locally, if there are multiple settings file in Django Project. if the repo is cloned from Office work space to local(newly hired as intern) (no requirements.txt)

2020-04-21 Thread chaitanya orakala
Thanks, I will definitely look into it. On Tue, Apr 21, 2020 at 5:13 PM ELMER IBAYAN wrote: > Hi Chaitan, > > After some googling around, i found this article which I believe would > help you. > >

Re: How to run django server locally, if there are multiple settings file in Django Project. if the repo is cloned from Office work space to local(newly hired as intern) (no requirements.txt)

2020-04-21 Thread ELMER IBAYAN
Hi Chaitan, After some googling around, i found this article which I believe would help you. https://simpleisbetterthancomplex.com/tips/2017/07/03/django-tip-20-working-with-multiple-settings-modules.html By the way, i find the project seems interesting from looking at the settings. Would you

How to run django server locally, if there are multiple settings file in Django Project. if the repo is cloned from Office work space to local(newly hired as intern) (no requirements.txt)

2020-04-21 Thread chaitan sai
Hi Django Aspirants, I am trying to run localhost:8000 to run the server after the cloning the project. from GitHub. I figured out the process to follow after downloading the project. I can open all files from the sublime text editor and saw multiple settings.py files in the main project. I am

Re: How to run django app on a private network

2020-03-20 Thread Ing.Daniel Bojorge
ragua "Si ustedes permanecen unidos a mí, y si permanecen fieles a mis enseñanzas, pidan lo que quieran y se les dará. (Juan 15:7 DHH) Bendito el varón que se fía en el SEÑOR, y cuya confianza es el SEÑOR. (Jeremías 17:7 RV2000) El vie., 20 mar. 2020 a las 14:47, Victor () escribió: >

How to run django app on a private network

2020-03-20 Thread Victor
Hello guys, how do i run a django app on my network so i can access it from other devices on that network? 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 emails fro

Re: How to run the django development environment?

2020-01-26 Thread Kasper Laudrup
Hi Aakansha, On 26/01/2020 17.02, aakansha jain wrote: Oh, sorry I didn't have any idea about that. I was initially making this new thread. But it was not creating. So, that's why I thought to ask in other threads. A basic understanding of how email/mailing lists work could probably be

Re: How to run the django development environment?

2020-01-26 Thread Antje Kazimiers
how contribute to Django at the last DjangoCon US and who led the sprint workshop. Antje On Sat, Jan 25, 2020 at 1:50 PM aakansha jain wrote: > I am new to open source. I have forked the project on my system. > But now I am not getting how to run the django development environment so > t

Re: How to run the django development environment?

2020-01-26 Thread Motaz Hejaze
You dont know how to run django development environment and you want to contribute to django project !!! On Sun, 26 Jan 2020, 6:03 pm aakansha jain, wrote: > Oh, sorry I didn't have any idea about that. I was initially making this > new thread. But it was not creating. > So, tha

Re: How to run the django development environment?

2020-01-26 Thread aakansha jain
Oh, sorry I didn't have any idea about that. I was initially making this new thread. But it was not creating. So, that's why I thought to ask in other threads. On Sunday, January 26, 2020 at 12:37:44 AM UTC+5:30, Kasper Laudrup wrote: > > Hi Aakansha > > On 25/01/2020 19.49, aakansha jain

Re: How to run the django development environment?

2020-01-25 Thread Kasper Laudrup
Hi Aakansha On 25/01/2020 19.49, aakansha jain wrote: I am new to open source. A good start to getting any help is not spamming unrelated threads with the same question over and over again. That will not make you feel very welcome in whatever open source community you're trying to work

How to run the django development environment?

2020-01-25 Thread aakansha jain
I am new to open source. I have forked the project on my system. But now I am not getting how to run the django development environment so that I can contribute to Django.. -- You received this message because you are subscribed to the Google Groups "Django users" group. To unsubs

Apache Django Devops: How to run django app runserver on Apache

2019-12-12 Thread Dvs Khamele
Hi do you hire contract based python/django freelancer? We can help you in this and related tasks mere at $7 per hour Best Regards, Divyesh Khamele, Pythonmate On Thu, 12 Dec 2019 at 10:30, Rupam Hazra wrote: > > Please help me out. > > How to run django app runserv

Re: How to run django app runserver on Apache

2019-12-11 Thread Virendra Tripathi
https://docs.djangoproject.com/en/2.2/howto/deployment/wsgi/modwsgi/ Virendra On Wed, Dec 11, 2019 at 8:59 PM Rupam Hazra wrote: > > Please help me out. > > How to run django app runserver on Apache ? > > -- > You received this message because you are subscribed

How to run django app runserver on Apache

2019-12-11 Thread Rupam Hazra
Please help me out. How to run django app runserver on Apache ? -- 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...@google

Re: how to run a function from a link withing popup modal bootstrap with django

2019-10-14 Thread Rajkumar Mittal
path("events//", views.getEvents, name = "getEvents"), this is the correct way On Monday, 14 October 2019 14:19:58 UTC+5:30, leb dev wrote: > > I have a django project that includes a popup modal where the modal has > tabs as links one of these tabs once the user clicked it must perform a >

Re: how to run a function from a link withing popup modal bootstrap with django

2019-10-14 Thread Rajkumar Mittal
Use views.getEvents in urls.py On Mon, 14 Oct, 2019, 2:20 PM leb dev, wrote: > I have a django project that includes a popup modal where the modal has > tabs as links one of these tabs once the user clicked it must perform a > function and retrieve data from the database. > > The problem is

how to run a function from a link withing popup modal bootstrap with django

2019-10-14 Thread leb dev
I have a django project that includes a popup modal where the modal has tabs as links one of these tabs once the user clicked it must perform a function and retrieve data from the database. The problem is that once the user clicked the tab nothing happen as is the function isn't initialize.

Re: How to run ORM commands from DOM Javascript?

2019-04-15 Thread Sithembewena L. Dube
You cannot run Django's Python code in JavaScript in a browser. The advice you have been given applies. Kind regards, Sithu *Sent with Shift * On

Re: How to run ORM commands from DOM Javascript?

2019-04-15 Thread sairanganadh Narayana
Thanks for your response. But, I need to run ORM(model.objects.filter(pk=1)) commands in javascript and show results in HTML pages. I was wrong in question. Please suggest any possibility. On Tuesday, April 9, 2019 at 5:51:24 PM UTC+5:30, Robin Riis wrote: > > in models.py you can define a

Re: How to run ORM commands in Javascript DOM?

2019-04-09 Thread Ing.Daniel Bojorge
[image: image.png] https://debsconsultores.blogspot.com/2019/04/ventanas-modales-con-django-usando.html I hope be useful for you. In this tutorial (in spanish) I work with bootstrap modal window. May be give you ideas. Dios L@s Bendiga Saludos, [image: --] daniel.bojorge [image:

Re: How to run ORM commands in Javascript DOM?

2019-04-09 Thread Shashank Singh
Get the data in the current screen before opening the popup or hit a ajax request to the server to get the said data. On Tue, 9 Apr, 2019, 8:32 PM sairanganadh Narayana, wrote: > I am trying to run model.objects.filter(id=2) through javascript and show > results in popup. I am unable to find

How to run ORM commands in Javascript DOM?

2019-04-09 Thread sairanganadh Narayana
I am trying to run model.objects.filter(id=2) through javascript and show results in popup. I am unable to find the solution. Please guide me with solution or any alternative to get this. Thanks in advance. -- You received this message because you are subscribed to the Google Groups "Django

Re: How to run ORM commands from DOM Javascript?

2019-04-09 Thread Robin Riis
in models.py you can define a 'as_json' function def as_json(self): return dict( identification_number = self.id awesome_picture = self.picture ) in views.py: class My_View(View): def get(self, request): if request.is_ajax(): q =

How to run ORM commands from DOM Javascript?

2019-04-09 Thread sairanganadh Narayana
I'm trying to get run model.objects.filter(id=2) from javascript and show on database. I am unable to get solution for this. Please guide me solution for this or alternative for this. -- You received this message because you are subscribed to the Google Groups "Django users" group. To

how to run jupyter notebook code in django

2019-04-02 Thread zain malik
Hi, I am zain and i am implementing popularity based recommendations system on django. The code of recommendation system is implemented on Jupyter notebook and it is using *pandas dataframes and some numPy* *functions*. Now i am confused about how to run that code in my django Product model

Re: How to run/test localhost on my phone

2018-07-11 Thread Kasper Laudrup
Hi John, On 2018-07-11 21:48, john speny wrote: i want to see that congratulation for running your first app message that appears when you first run your server for the first time on ur pc web browser. i want to see it on my phone.soo help me Run the development server like: python

How to run/test localhost on my phone

2018-07-11 Thread john speny
i want to see that congratulation for running your first app message that appears when you first run your server for the first time on ur pc web browser. i want to see it on my phone.soo help me -- You received this message because you are subscribed to the Google Groups "Django users" group.

Re: How to run python script by clicking a HTML button?

2018-06-22 Thread Julio Biason
Hi Subhendu, To make this all work, you'll need to do this: 1. Create a Django app 2. Add some URL to a view (any view) 3. Inside the view, run your script. 4. Change the for on the "action" to point to the URL in point 2. You may want to read the Django Tutorial[1] to grasp who those things

Re: How to run python script by clicking a HTML button?

2018-06-21 Thread Jani Tiainen
Hi, Django doesn't exactly work that way. Please do the official tutorial from Django docs to get grasp of basics how things works and are tied together. to 21. kesäk. 2018 klo 23.15 SUBHENDU PANDA kirjoitti: > Below is my HTML code... > > > > > > HTML Forms > > > First name: > >

How to run python script by clicking a HTML button?

2018-06-21 Thread SUBHENDU PANDA
Below is my HTML code... HTML Forms First name: I want is : If you I the "Submit" button, the form-data will be sent to a page called "/myscript.py and will perform the operation". myscript.py: import os def f1(): print ("Below are the files present in

Re: How to run an external command that must run with the server

2018-04-03 Thread 'Alex' via Django users
Yes, it runs constantly, whenever the server is up. Ok, I'll stick with the management command as a supervisor process, thank you! On Tuesday, 3 April 2018 14:09:40 UTC+1, Ken Whitesell wrote: > > There's an aspect of your situation which isn't entirely clear to me - is > this management

Re: How to run an external command that must run with the server

2018-04-03 Thread Ken Whitesell
There's an aspect of your situation which isn't entirely clear to me - is this management command one that remains running all the time, like a Celery task would be; or is it one that starts, runs a process for a period of time, and then ends - only to be restarted at a later time? If the

Re: How to run an external command that must run with the server

2018-04-03 Thread 'Alex' via Django users
That makes sense. So leave the source as a management command (as it is now), and just run python manage.py source through supervisor? On Sunday, 1 April 2018 13:16:38 UTC+1, Ken Whitesell wrote: > > We set up all our Django-related processes as a group under supervisor. > This includes our

Re: How to run an external command that must run with the server

2018-04-01 Thread Ken Whitesell
We set up all our Django-related processes as a group under supervisor. This includes our celery-based processes. (We have some long-running tasks that are kicked off by the web site.) By setting it up as a group, we can manage all the different processes as a set. Whether or not that's the

How to run an external command that must run with the server

2018-04-01 Thread 'Alex' via Django users
I have a daphne server running a django channels application. I also have a python script that aggregates data from various sources, and sticks it into the channel layer (called source.py). At the moment, I run it as a management command (python manage.py source). It is nearly time for

Re: How to run

2017-12-11 Thread Peter van der Does
https://docs.djangoproject.com/en/2.0/#first-steps On 12/11/17 7:46 AM, Mukesh Jain wrote: > I download Django from git clone https://github.com/django/django.git > > But i want to know how to run this code > -- > You received this message because you are subscribed to the

Re: How to run

2017-12-11 Thread Andréas Kühne
explain a lot. Regrads, Andréas 2017-12-11 13:46 GMT+01:00 Mukesh Jain <mukes...@myschoolpage.com>: > I download Django from git clone https://github.com/django/django.git > > But i want to know how to run this code > > -- > You received this message because you are

How to run

2017-12-11 Thread Mukesh Jain
I download Django from git clone https://github.com/django/django.git But i want to know how to run this code -- 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, sen

how to run popen in django with apache? help~

2017-10-19 Thread Wu, Pei
Hi Django I googled web two days, not find a solution yet, so I mail to group. Here is my post, I want to use popen to run a simple command to copy file to s3. https://stackoverflow.com/questions/46814197/how-to-run-popen-in-django-with-apache-help The problem is apache, if Django use apache

how to run a method background?

2017-04-29 Thread 孙佳利
Hello all, I am using apscheduler develop a timer, since the scheduler.state must equals '1' all scheduled jobs which storged in database will be triggered, so I need run scheduler.start() in background and let scheduler.state always equals '1', then all scheduled jobs will be triggered. So

Re: how to run django under apache on windows 10

2016-11-18 Thread Daniel Roseman
On Friday, 18 November 2016 13:58:41 UTC, bob gailer wrote: > > Goal: run django under apache on windows 10. I have tried many things, > none of which have worked. Errror messages up to wazoo. Google has not > been my friend: I found a lot of articles Everything I read is either > oriented to

how to run django under apache on windows 10

2016-11-18 Thread bob gailer
Goal: run django under apache on windows 10. I have tried many things, none of which have worked. Errror messages up to wazoo. Google has not been my friend: I found a lot of articles Everything I read is either oriented to linux and/or assumes knowledge I don't have. Example: today I

Re: How o run shell command in Django ?

2016-08-08 Thread M Hashmi
Send your root urls.py code. On Mon, Aug 8, 2016 at 4:42 AM, Asad ur Rehman wrote: > tail -f /var/log/newfies/gunicorn_newfies_dialer.log > > > when i try to find error through this always give no module named urls. > Debug is already = True > > On Monday, August 8,

Re: How o run shell command in Django ?

2016-08-08 Thread Asad ur Rehman
tail -f /var/log/newfies/gunicorn_newfies_dialer.log when i try to find error through this always give no module named urls. Debug is already = True On Monday, August 8, 2016 at 2:33:12 PM UTC+5, Asad ur Rehman wrote: > > I want to run *fs_cli -x *command in django . Can anybody help me ? >

Re: How o run shell command in Django ?

2016-08-08 Thread Erik Cederstrand
> Den 8. aug. 2016 kl. 13.14 skrev Asad ur Rehman : > > Internal server error is coming.. If you want help, please be much more specific in your replies; post the relevant parts of the code, stacktraces, what have you tried already etc. I assume you already added

Re: How o run shell command in Django ?

2016-08-08 Thread Asad ur Rehman
On Monday, August 8, 2016 at 2:33:12 PM UTC+5, Asad ur Rehman wrote: > > I want to run *fs_cli -x *command in django . Can anybody help me ? > How can i create function in django to execute this command ? > -- You received this message because you are subscribed to the Google Groups "Django

Re: How o run shell command in Django ?

2016-08-08 Thread M Hashmi
Send error. On Mon, Aug 8, 2016 at 4:14 AM, Asad ur Rehman wrote: > Internal server error is coming.. > > On Monday, August 8, 2016 at 2:33:12 PM UTC+5, Asad ur Rehman wrote: >> >> I want to run *fs_cli -x *command in django . Can anybody help me ? >> How can i create

Re: How o run shell command in Django ?

2016-08-08 Thread Asad ur Rehman
Internal server error is coming.. On Monday, August 8, 2016 at 2:33:12 PM UTC+5, Asad ur Rehman wrote: > > I want to run *fs_cli -x *command in django . Can anybody help me ? > How can i create function in django to execute this command ? > -- You received this message because you are

Re: How o run shell command in Django ?

2016-08-08 Thread Asad ur Rehman
sh is already installed On Monday, August 8, 2016 at 2:33:12 PM UTC+5, Asad ur Rehman wrote: > > I want to run *fs_cli -x *command in django . Can anybody help me ? > How can i create function in django to execute this command ? > -- You received this message because you are subscribed to the

Re: How o run shell command in Django ?

2016-08-08 Thread M Hashmi
Install sh with pip. http://amoffat.github.io/ On Mon, Aug 8, 2016 at 3:54 AM, Asad ur Rehman wrote: > from sh import fs_cli > this is also not working ... > > > > > On Monday, August 8, 2016 at 2:33:12 PM UTC+5, Asad ur Rehman wrote: >> >> I want to run *fs_cli -x

Re: How o run shell command in Django ?

2016-08-08 Thread Erik Cederstrand
> Den 8. aug. 2016 kl. 12.54 skrev Asad ur Rehman : > > from sh import fs_cli > this is also not working ... What's the error message? Did you install the 'sh' module (pip install sh)? Erik -- You received this message because you are subscribed to the Google

Re: How o run shell command in Django ?

2016-08-08 Thread Asad ur Rehman
from sh import fs_cli this is also not working ... On Monday, August 8, 2016 at 2:33:12 PM UTC+5, Asad ur Rehman wrote: > > I want to run *fs_cli -x *command in django . Can anybody help me ? > How can i create function in django to execute this command ? > -- You received this message

Re: How o run shell command in Django ?

2016-08-08 Thread Asad ur Rehman
#Mattias muller there is error while i am import sh ... How to sort it ? On Monday, August 8, 2016 at 2:33:12 PM UTC+5, Asad ur Rehman wrote: > > I want to run *fs_cli -x *command in django . Can anybody help me ? > How can i create function in django to execute this command ? > -- You

Re: How o run shell command in Django ?

2016-08-08 Thread M Hashmi
There are better ways to cut short your time to execute or even schedule tasks or commands. It won't take you more than an hour to understand Django-celery for scheduling tasks. You need to create a bash script and it should include all the steps in case you need virtualenv loaded while command

Re: How o run shell command in Django ?

2016-08-08 Thread Erik Cederstrand
I've had a lot of success interacting with the command-line by using the 'sh' module: http://amoffat.github.io/sh/ It's extremely simple but allows a lot of advanced features when you need them. I'm not on a system where fs_cli is avaliable, but you should be able to just do: from sh import

Re: How o run shell command in Django ?

2016-08-08 Thread Matthias Müller
Hi Asad, run system calls in django means run system calls in python. Python has a library called "os". https://docs.python.org/3/library/os.html See 16.1.6 process management HTH -- Viele Grüße / Best Regards Matthias Müller 2016-08-08 11:33 GMT+02:00 Asad ur Rehman

How o run shell command in Django ?

2016-08-08 Thread Asad ur Rehman
I want to run *fs_cli -x *command in django . Can anybody help me ? How can i create function in django to execute this command ? -- 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,

Re: how to run migrations in a specific order for the test runner in Django (1.6+)

2016-04-01 Thread Tim Graham
Nothing outside of the way that Django normally determines the order in which to run migrations: https://docs.djangoproject.com/en/stable/howto/writing-migrations/#controlling-the-order-of-migrations On Friday, April 1, 2016 at 11:45:42 AM UTC-4, kasmi sidi wrote: > > is there a way to tell

how to run migrations in a specific order for the test runner in Django (1.6+)

2016-04-01 Thread kasmi sidi
is there a way to tell django test runner to run migrations in a certain order? Sidi -- 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

how to run django test with a default test database , while the real database is a posgres with 5 shemas ?

2016-01-29 Thread JAMES DAMILD ETIENNE
any help please ? -- 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

Re: How to run an external python script in my Django view

2016-01-16 Thread Larry Martell
te: >> >> On Fri, Jan 15, 2016 at 9:54 AM, <raman@gmail.com> wrote: >> > Hi, >> > >> > I have a script which is running fine and giving output in the form of >> > list >> > of lists. I want to use that data in my Django view. I am n

How to run an external python script in my Django view

2016-01-16 Thread Luis Zárate
a script which is running fine and giving output in the form of list >> > of lists. I want to use that data in my Django view. I am not getting, how >> > to run a script in django view. >> > I created a folder utils inside which, I have put the script. Also, I have >>

Re: How to run an external python script in my Django view

2016-01-16 Thread Musab Gültekin
f lists. I want to use that data in my Django view. I am not getting, > how to run a script in django view. > I created a folder utils inside which, I have put the script. Also, I have > created __init__.py in the utils folder. Then, I am importing it in my > views as "from utils.s

Re: How to run an external python script in my Django view

2016-01-15 Thread raman . balyan
, larry@gmail.com wrote: > > On Fri, Jan 15, 2016 at 9:54 AM, <raman@gmail.com > > wrote: > > Hi, > > > > I have a script which is running fine and giving output in the form of > list > > of lists. I want to use that data in my Django

Re: How to run an external python script in my Django view

2016-01-15 Thread raman . balyan
, larry@gmail.com wrote: > > On Fri, Jan 15, 2016 at 9:54 AM, <raman@gmail.com > > wrote: > > Hi, > > > > I have a script which is running fine and giving output in the form of > list > > of lists. I want to use that data in my Django

Re: How to run an external python script in my Django view

2016-01-15 Thread Larry Martell
On Fri, Jan 15, 2016 at 9:54 AM, <raman.bal...@gmail.com> wrote: > Hi, > > I have a script which is running fine and giving output in the form of list > of lists. I want to use that data in my Django view. I am not getting, how > to run a script in django view. > I creat

How to run an external python script in my Django view

2016-01-15 Thread raman . balyan
Hi, I have a script which is running fine and giving output in the form of list of lists. I want to use that data in my Django view. I am not getting, how to run a script in django view. I created a folder utils inside which, I have put the script. Also, I have created __init__.py in the utils

Re: How to run all tests in INSTALLED_APPS with the new test runner 1.6?

2015-10-07 Thread Tim Graham
And actually as of Django 1.8, the contrib tests aren't shipped inside each application directory, so they won't be discovered even if you switch to the old test runner. On Wednesday, October 7, 2015 at 11:21:54 AM UTC-4, jordi.gutie...@ecometrica.org wrote: > > On Wednesday, October 7, 2015

Re: How to run all tests in INSTALLED_APPS with the new test runner 1.6?

2015-10-07 Thread jordi . gutierrez . hermoso
On Wednesday, October 7, 2015 at 10:16:30 AM UTC-4, Carl Meyer wrote: > > You should be aware, though, that specifically in the case of the > django.contrib app tests, we make no promise that they will pass under > your project's configuration, > That's fine. I just want to make sure *we

Re: How to run all tests in INSTALLED_APPS with the new test runner 1.6?

2015-10-07 Thread Carl Meyer
On 10/07/2015 06:57 AM, jordi.gutierrez.herm...@ecometrica.org wrote: > Okay, I'll try grabbing the old test runner from git, thanks. That should work fine. You should be aware, though, that specifically in the case of the django.contrib app tests, we make no promise that they will pass under

Re: How to run all tests in INSTALLED_APPS with the new test runner 1.6?

2015-10-07 Thread jordi . gutierrez . hermoso
Okay, I'll try grabbing the old test runner from git, thanks. On Wednesday, October 7, 2015 at 8:38:40 AM UTC-4, Tim Graham wrote: > > Copying the old test runner from an old version of Django seems like a > fine solution. I thought someone might have published it on PyPI, but I > couldn't find

Re: How to run all tests in INSTALLED_APPS with the new test runner 1.6?

2015-10-07 Thread jordi . gutierrez . hermoso
No, the new test runner does not run any 3rd party apps not in my project, and it does not run django.contrib either. On Wednesday, October 7, 2015 at 2:06:08 AM UTC-4, Gergely Polonkai wrote: > > I'm not sure I understand what you want to achieve. I use 1.8 and it runs > all tests for all apps

Re: How to run all tests in INSTALLED_APPS with the new test runner 1.6?

2015-10-07 Thread Tim Graham
Copying the old test runner from an old version of Django seems like a fine solution. I thought someone might have published it on PyPI, but I couldn't find it if so. On Wednesday, October 7, 2015 at 2:06:08 AM UTC-4, Gergely Polonkai wrote: > > I'm not sure I understand what you want to

  1   2   >