Re: Pop-up forms

2019-01-09 Thread shiva kumar
As i am new to django i dont know about pop-up forms. can you give an overview of it please. On Tue, Jan 8, 2019 at 7:34 PM DrTen wrote: > Hi Did you ever solved this issue, its 2019 and I still can't find a > working solution. > > On Monday, October 9, 2006 at 3:31:19 PM UTC-5, hernan43 wrote:

Re: Get the maximum possible ID value for a primary key?

2019-01-09 Thread shiva kumar
can you explain it indetail On Wed, Jan 9, 2019 at 7:18 PM Stodge wrote: > Is there a way to get the maximum value that an ID can be for a model that > uses AutoField for its primary key? For example, in PostgreSQL I could do: > > SELECT maximum_value FROM information_schema.sequences WHERE > s

Re: Django template translation not working as expected

2019-01-10 Thread shiva kumar
Can you explain what are django translation On Thu 10 Jan, 2019 11:59 pm Ashutosh Das I am using django 2.1 , here is all the settings related to translation: > > > MIDDLEWARE = [ > 'corsheaders.middleware.CorsMiddleware', > 'django.middleware.security.SecurityMiddleware', > 'django.c

Re: template not exist error snap in attechment

2019-01-11 Thread shiva kumar
Can you put your project file structure. On Fri 11 Jan, 2019 5:46 pm NAveeN Kumar Reddy < knaveenkumarredd...@gmail.com wrote: > Check the link before pattern in path function > > On Fri 11 Jan, 2019, 4:43 PM tribhuvan kishor < > tribhuvankishor...@gmail.com wrote: > >> URL >> path('//',views.po

Re: template not exist error snap in attechment

2019-01-11 Thread shiva kumar
once post your setting.py file content . i will try to figure it out. On Sat, Jan 12, 2019 at 11:16 AM tribhuvan kishor < tribhuvankishor...@gmail.com> wrote: > this is my directory structure > > On Fri, Jan 11, 2019 at 9:19 PM Martin K wrote: > >> TEMplate DIrectory >>> PROJECT/APP/template/bl

Re: template not exist error snap in attechment

2019-01-12 Thread shiva kumar
jango.db.backends.mysql', >> 'HOST': 'localhost', >> 'PORT':'3306', >> 'USER': 'root', >> 'PASSWORD': 'root', >> } >> } >>

Re: problem in activating virtual environment in Django with ". \Scripts\activate" command

2019-01-17 Thread shiva kumar
Can you tell which os ur using. On Fri 18 Jan, 2019 12:48 am Django Geek Aditya Shell Output after entering command is > PS E:\todo> . \Scripts\activate > . : The term '\Scripts\activate' is not recognized as the name of a > cmdlet, function, script file, or operable > program. Check the spelling

Re: Loading Django views inside template with JQuery

2019-01-22 Thread shiva kumar
I think you want to load the data from view to html using jQuery. I hope ajax concepts will used. Once try it. On Tue 22 Jan, 2019 6:13 pm Ricardo Cataldi Hy guys, you all right? > > I have a problem that it seems not to be any answer in Stack Overflow. > > I need to load three views inside a te

Fwd: data sharing with multiple clients by server simultaneously

2019-01-30 Thread shiva kumar
-- Forwarded message - From: shiva kumar Date: Tue 29 Jan, 2019 11:21 pm Subject: data sharing with multiple clients by server simultaneously To: Hi guys. I have a doubt regrading communication b\w client and server. consider an example there are 20 clients continuously

Use of asyncio

2019-02-01 Thread shiva kumar
Can anyone explain to which applications asyncio used for. -- 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

error at re_path

2018-09-23 Thread shiva kumar
getting error saying page not found when using re_path for defining our own url pattern. re_path(r'^home/(?p[0-9]{4})/$',views.home1), this was how i used the function and it showing error at ?p. is there any mistake suggest a solution. -- You received this message because you are subscribed

unable to create modelform object in views

2018-11-22 Thread shiva kumar
views file from django.core.mail import send_mail from django.http import HttpResponse # Create your views here. from django.shortcuts import render,redirect from django.urls import include import datetime from .forms import loginform,modelform def hidemelogin(request): if request.method == 'P

Re: Make a loop to get request.POST information

2018-11-26 Thread shiva kumar
Try this Replace 'input_'.a with 'input_'+str(a) I think it will work On Mon 26 Nov, 2018 9:43 pm Thibaud MONTAGNON Hi, > > I got 3 differents input named input_1, input_2, input_3 and I want to > make a loop to put them in the ddb. > > I try to use this code but it dosent work... > > row=[

unable to do migrate when defining custom user model

2018-11-26 Thread shiva kumar
i am defining my own custom user model using AbstractBaseUser class and BaseUserManager class. and i got no error when doing 'python manage.py makemigrations' but it is showing that db not created while running 'python manage.py migrate' . Any suggestions? -- You received this message because y

Re: How to get a multiple select widget for the Admin without a queryset

2018-11-26 Thread shiva kumar
Can you explain what ur problem briefly. On Tue 27 Nov, 2018 8:54 am Mike Dewhirst In the Admin I would like to provide the user with checkboxes against a > list of options not stored in the database. > > Specifically, I want to retrieve a comma separated list of integers from a > model field cho

Re: runserver error rectification

2018-11-27 Thread shiva kumar
import polls in mysite/mysite/urls.py i think it will work On Tue, Nov 27, 2018 at 3:00 PM Sanjay Malviya wrote: > What modification to codes required, pls in project > mysite/mysite/polls(app) > polls/views.py > from django.http import httpresponse > def index(request): > return httprespo

forms.FORM in django

2018-11-27 Thread shiva kumar
I am new to django and i am learning it slowly. I worked on forms but i have one doubt, what forms.FORM indicate. i know we are inheriting forms in to our class but i dont understand specifically what it is. how FORM will be used could anyone please explain what it is -- You received this me

Integrating ml in django

2018-12-04 Thread shiva kumar
I have one doubt regarding django. That, can we use ml concepts and packages in django as our backend technology That is by using ml concepts like numpy, tensor flow can we make data present in database more functional to use like predictions etc. Any suggestions will be helpful.that makes me some

Re: How to extract a number from a url

2018-12-05 Thread shiva kumar
Use in place of number An add extra parameter in views which u will relate this to On Thu 6 Dec, 2018 2:18 am Sourajit Mohanty I want to extract the number from this url 'music/6/newsongs/' so that I > can use that number to redirect it to another page.. > How can I do that?? > > -- > You rec

Re: Manage static files using Jinja2

2018-12-19 Thread shiva kumar
Yes static files need a url path. But that path should be mentioned in setting.py file. That makes django, when there is use of css or js files it refers to that path On Tue 11 Dec, 2018 4:32 am I am using the documentation to learn Django. When I started creating > static files, I started to get

Re: help

2018-12-19 Thread shiva kumar
Once post ur forms.py file. Check views and url files. There are errrors On Tue 11 Dec, 2018 7:55 pm Tosin Ayoola getting this error when i click on a new link i just added please can > anyone help out below is my codes, views, url > > > ##url > > from django.urls import path > from . import view

Error when installing channels

2018-12-22 Thread shiva kumar
Hai guys, I am getting error when installing channels using pip. These is the error ' need Microsoft visual c++ 14.0' Can anyone suggest how to download and get it done. I tried to do it. I am unable to understand how to do and what to do. Pls respond to my issue. -- You received this message

Re: Loop over Django objects and Bootstrap cards

2019-01-03 Thread shiva kumar
I think use inline div elements in place of block. Block elements makes u to start elements in next line. On Thu 3 Jan, 2019 7:41 pm valentin jungbluth I used UploadField so I just have to use > {{ object.fieldname.url }} > > and it works. > > But my question is : How I can gather all documents a