HOW TO PAGINATE REST FRAMEWORK VIEWS

2020-05-15 Thread Sunday Iyanu Ajayi
Good day guys, Please I am working on a project and I need help with applying pagination. The pagination works with the global generics viewsets. I am trying to paginate a custom view (API rest framework.views) but it seems not to work. Please I need help to how to fix it. [image: image.png] *AJ

HOW TO PROTECT SOURCE CODE DEPLOYED TO A REMOTE SERVER

2020-05-15 Thread Sunday Iyanu Ajayi
I am working for a client that wants to deploy a project I am working on in a remote server and I will like to project my source code when deployed so that they will not be able to mess with it. How can I go about it please? *AJAYI Sunday * (+234) 806 771 5394 *sunnexaj...@gmail.com * -- You

Re: HOW TO PROTECT SOURCE CODE DEPLOYED TO A REMOTE SERVER

2020-05-15 Thread Kasper Laudrup
Hi Sunday, No need to shout in the subject line. On 15/05/2020 15.21, Sunday Iyanu Ajayi wrote: I am working for a client that wants to deploy a project I am working on in a remote server and I will like to project my source code when deployed so that they will not be able to mess with it. H

Re: I'm new to this django help me out

2020-05-15 Thread sree lekha
how can i share the output of a django program to others -- 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

Re: CSS with Django forms

2020-05-15 Thread Devansh Chaubey
Hey Anubhav You can use django-widget-tweaks package https://pypi.org/project/django-widget-tweaks/ See this. You can make own css styling using class on forms. On Fri, 15 May 2020 at 00:10, Anubhav Madhav wrote: > Thankyou Clive!! I know I can use CSS like that, but if I do that the > problem I

How do I show dynamic and dependable list of values of model field on Front End using Django Forms?

2020-05-15 Thread Khubaib Khawar
have a Detail Model which has a ForeignKey() of User Model. I want to show the list of subject (which is a field of Detail Model) associated with a single user, at the Front End in Template. It should be a dropdown menu and user should be able to select the subject from the list and submit the

pip not working

2020-05-15 Thread Akorede Habeebullah
Hi guys, I need help with my pip. It was working fine until I upgraded it. now its not working fine anymore. I tried running all pip commands that I know its still not working. I detected this while trying to install requirements.txt for a cloned project , I've tried using python -m pip install

CouchDB as Django backend database

2020-05-15 Thread Gopesh Shriwas
Hi All, Can anybody help me on using couchdb as a django backend database. I went though with multiple options available on the internet like django-couchbase , django-cbtools but didn't find suitable with python3.x and django3.x. python-cloudant looks fine to be used as standard client librar

Re: pip not working

2020-05-15 Thread Ahmed Khairy
Did you try pip install -r requirements.txt? On Friday, May 15, 2020 at 10:16:52 AM UTC-4, Akorede Habeebullah wrote: > > Hi guys, I need help with my pip. It was working fine until I upgraded it. > now its not working fine anymore. I tried running all pip commands that I > know its still not wo

Re: pip not working

2020-05-15 Thread Kasper Laudrup
Hi Akorede, On 15/05/2020 09.29, Akorede Habeebullah wrote: Hi guys, I need help with my pip. It was working fine until I upgraded it. now its not working fine anymore. I tried running all pip commands that I know its still not working. I detected this while trying to install requirements.txt f

Re: Issue with Heroku Getting Started

2020-05-15 Thread Jorge Gimeno
On Thu, May 14, 2020 at 5:02 AM J Maryott wrote: > Wondering if anyone may be able to shed some light on this...I've cloned > the latest dev. version of Django from Git, and though I'm a bit of a > newbie here, and this might sound totally dumb to the professionals (I'm > unsure), I also tried

Re: HOW TO PROTECT SOURCE CODE DEPLOYED TO A REMOTE SERVER

2020-05-15 Thread Sunday Iyanu Ajayi
The solution will be hosted on my client's server therefore they have access to it. That is why I need a way to protect my source code. - Is there are way to deployed the compiled python file of my django project or encrypt the project file? *AJAYI Sunday * (+234) 806 771 5394 *sunnexaj...@gmail.c

Re: I'm new to this django help me out

2020-05-15 Thread Sunday Iyanu Ajayi
You can host the project on a server and share the url Or can you enlighten me on what you mean by output?- The Web app ? *AJAYI Sunday * (+234) 806 771 5394 *sunnexaj...@gmail.com * On Fri, May 15, 2020 at 3:15 PM sree lekha wrote: > how can i share the output of a django program to others

Re: pip not working

2020-05-15 Thread Sunday Iyanu Ajayi
Can you share a screenshot of the error ? *AJAYI Sunday * (+234) 806 771 5394 *sunnexaj...@gmail.com * On Fri, May 15, 2020 at 3:16 PM Akorede Habeebullah wrote: > Hi guys, I need help with my pip. It was working fine until I upgraded it. > now its not working fine anymore. I tried running all

Re: I'm new to this django help me out

2020-05-15 Thread Bighnesh Pradhan
use snipping tool On Fri, May 15, 2020 at 9:47 PM Sunday Iyanu Ajayi wrote: > You can host the project on a server and share the url > > Or can you enlighten me on what you mean by output?- The Web app ? > *AJAYI Sunday * > (+234) 806 771 5394 > *sunnexaj...@gmail.com * > > > > On Fri, May 15,

Re: pip not working

2020-05-15 Thread Diego Mota
Hi, If you upgraded to pip or python 3 you must use "pip3" as command instead of "pip" Regards, Diego Ahmed Khairy escreveu no dia sexta, 15/05/2020 à(s) 11:42: > Did you try pip install -r requirements.txt? > > On Friday, May 15, 2020 at 10:16:52 AM UTC-4, Akorede Habeebullah wrote: >> >> Hi g

how to use youtube links in my website

2020-05-15 Thread Bunti
I want to make website to show the all the videos of my Youtube channel PLAYLISTS. I mean to say that all of my Youtube videos should be linked to my website. Can I get any video tutorial of such type of project with Django? (I have learned Django upto some level. I can do CURD by functio

Bootstrap drop down not dropping

2020-05-15 Thread sunday honesty
I have tried everything possible to make my bootstrap clik but no way. I included bootstrap js, css, jQuery and popper in locally in my static directory. I have been stocked for over two weeks. Someone help me out pls. Here's the link to my code. https://stackoverflow.com/questions/61709772/my-b

Bootstrap drop down menu not clickable.

2020-05-15 Thread sunday honesty
This is my first question here. I hope I find answer. Am happy to be with you guys. I am beginner and have been stucked with this issue for about two weeks now. Because I don't have good network access here, I decided to download and include Bootstrap source file in the static folder of my Djan

Re: CSS with Django forms

2020-05-15 Thread Anubhav Madhav
Thankyou so much Devansh!! This is really very helpful. On Friday, 15 May 2020 19:46:51 UTC+5:30, Devansh Chaubey wrote: > > Hey Anubhav > You can use django-widget-tweaks package > https://pypi.org/project/django-widget-tweaks/ > See this. > You can make own css styling using class on forms. >

Re: Issue with Heroku Getting Started

2020-05-15 Thread J Maryott
C:\Users\jakem\python-getting-started>pip freeze asgiref==3.2.7 dj-database-url==0.5.0 Django==3.0.6 django-heroku==0.3.1 django-utils==0.0.2 gunicorn==20.0.4 psycopg2==2.8.5 pytz==2020.1 sqlparse==0.3.1 whitenoise==5.0.1 On Friday, May 15, 2020 at 11:29:29 AM UTC-4, jlgimeno71 wrote: > > > > On T

Re: how to use youtube links in my website

2020-05-15 Thread Kasper Laudrup
Hi Bunti, On 15/05/2020 20.56, Bunti wrote: I want to make website to show the all the videos of my Youtube channel  PLAYLISTS. I mean to say that all of my Youtube videos should be linked to my website. I'm not sure if I understand you correctly, but do you simply mean to show your Youtu

How to load content dynamically from database into Bootstrap modal using Django

2020-05-15 Thread Benedict Uwazie
I am working on a testing app that lists out users from the database in a HTML table, what I want to achieve is this, when you click on any icon for a particular record or row the full detail of that record is displayed in a Bootstrap Modal. My problem is how do I implement my views, urls, and a

Re: HOW TO PROTECT SOURCE CODE DEPLOYED TO A REMOTE SERVER

2020-05-15 Thread Motaz Hejaze
maybe there is an option in container technologies , docker maybe or other containers types , but i didn't try anything like this On Fri, May 15, 2020 at 6:14 PM Sunday Iyanu Ajayi wrote: > The solution will be hosted on my client's server therefore they have > access to it. That is why I need a

Re: Issue with Heroku Getting Started

2020-05-15 Thread Jorge Gimeno
Is this in a virtual environment? Are you using pipenv? -Jorge On Fri, May 15, 2020 at 1:24 PM J Maryott wrote: > C:\Users\jakem\python-getting-started>pip freeze > asgiref==3.2.7 > dj-database-url==0.5.0 > Django==3.0.6 > django-heroku==0.3.1 > django-utils==0.0.2 > gunicorn==20.0.4 > psycopg2

Re: Issue with Heroku Getting Started

2020-05-15 Thread John McClain
try removing this django-utils==0.0.2 from requirements then run again to see next error On Fri, 15 May 2020 at 21:23, J Maryott wrote: > C:\Users\jakem\python-getting-started>pip freeze > asgiref==3.2.7 > dj-database-url==0.5.0 > Django==3.0.6 > django-heroku==0.3.1 > django-utils==0.0.2 > gu

Re: HOW TO PROTECT SOURCE CODE DEPLOYED TO A REMOTE SERVER

2020-05-15 Thread John McClain
I'm not sure this is feasible. The issue is likely about getting paid for you and for them about getting what they paid for. There is no work-a-round for this dynamic in coding other than to use sandbox server you control for version control. Once they approve the iterations and pay you can transfe

Re: pip not working

2020-05-15 Thread John McClain
you have somehow lost your path to the interpreter. Did you try pip3 by any chance? What version of pip are you using On Fri, 15 May 2020 at 15:15, Akorede Habeebullah wrote: > Hi guys, I need help with my pip. It was working fine until I upgraded it. > now its not working fine anymore. I tried

Re: how to use youtube links in my website

2020-05-15 Thread John McClain
Can't you just use the script in the body section for this on the html page you want the video in view on. On Fri, 15 May 2020 at 20:17, Bunti wrote: > I want to make website to show the all the videos of my Youtube channel > PLAYLISTS. I mean to say that all of my Youtube videos should be link

Re: Issue with Heroku Getting Started

2020-05-15 Thread Jorge Gimeno
On Fri, May 15, 2020 at 5:27 PM John McClain wrote: > try removing this > > django-utils==0.0.2 > > from requirements then run again to see next error > Good catch! I'll bet there's a name collision here. -Jorge -- You received this message because you are subscribed to the Google Groups "D

Re: CSS with Django forms

2020-05-15 Thread Clive Bruton
You can use bootsrap4, or look at the output from the forms and set up your CSS around that. -- Clive On 14 May 2020, at 19:40, Anubhav Madhav wrote: Thankyou Clive!! I know I can use CSS like that, but if I do that the problem I'll face is that the 'form' or the 'input' tags or 'submit'