Re: URL configuration error for a beginner

2020-09-02 Thread maninder singh Kumar
If its frozen, perhaps your server is not running Maninder Kumar about.me/maninder.s.kumar

Re: Looking for angular-django developers

2020-07-10 Thread maninder singh Kumar
nd it to u, thanks > >> On 7/10/20, Hadisur Rahman wrote: >> Dear Kumar, U have to mention it with ur post but i do not did it. If >> u do i don,t spend 2 hours to ready my CV and send it to u, thanks >> >>> On 7/10/20, maninder singh Kumar wrote: >>> You were

Re: Looking for angular-django developers

2020-07-10 Thread maninder singh Kumar
I frankly don’t care what the admin does ! Sent from my iPhone > On Jul 10, 2020, at 3:41 PM, maninder singh Kumar > wrote: > > You were told there was no salary. Is that what’s annoying or the fact that > I don’t think it’s prudent to reply to your aggressive comm

Re: Looking for angular-django developers

2020-07-10 Thread maninder singh Kumar
y >> Mailtrack 07/10/20, 11:48:42 AM >> >>> On Thu, Jul 9, 2020 at 7:49 PM Divakar Upadhyay >>> wrote: >>> Can you take fresher sir. As I have experience of. Net mvc development. >>> >>>> On Thu, 9 Jul 2020, 10:10 am maninder sing

Looking for angular-django developers

2020-07-08 Thread maninder singh Kumar
Dear all, There is a requirement for angular-django developers. Experience 1-3 years. Post your resumes if interested to maninder.s.ku...@gmail.com regards Maninder Kumar

Re: django.db.utils.ProgrammingError: relation "ops_sightseeing" already exists

2020-06-29 Thread maninder singh Kumar
This could be a case for cleaning the database up. Is there kinda too much data in it, and which one is it ? Normally when you use multiple databases, the routers could also cause the problem Without knowing all this and the code, it might be difficult to take a decision Regds Sent from

Re: django.db.utils.ProgrammingError: relation "ops_sightseeing" already exists

2020-06-29 Thread maninder singh Kumar
Are you using multiple databases perhaps. Regds. Willy Sent from my iPhone > On Jun 29, 2020, at 5:54 PM, rishi kalsi wrote: > > Hi, > > I am very new to Django or to web programming. > Somehow i have learnt from Django documentation to create models. > > django.db.utils.ProgrammingError:

Re: CSRF verification failed, 'CSRF token missing or incorrect'

2020-06-28 Thread maninder singh Kumar
You need to pass RequestContext in render_to_response for csrf_token Maninder Kumar about.me/maninder.s.kumar

Re: Required Django programmers for HR Portal project

2020-06-28 Thread maninder singh Kumar
; Please checkout your inbox or spam folder, >> >> I sent you my CV with email title " [ Motaz Hejaze ] Senior Python Django / >> Flask / Node.js Backend developer " >> >> Thanks & Regards >> >>> On Sat, Jun 27, 2020 at 11:59 PM oba stephen

Required Django programmers for HR Portal project

2020-06-27 Thread maninder singh Kumar
Dear group subscribers, I require Django programmers for an HR Job portal. It is an intern project. regards willy Maninder Kumar about.me/maninder.s.kumar

Re: using serializers with POST requests

2020-06-25 Thread maninder singh Kumar
Seems like the loop doesn't go anywhere but the "else" part where it says fail. Perhaps you need to relook keyword or positional arguments Maninder Kumar about.me/maninder.s.kumar

Re: Manage.py not working

2020-06-20 Thread maninder singh Kumar
Have you tried django-admin ?!? Maninder Kumar about.me/maninder.s.kumar

Re: Collaborators

2020-06-20 Thread maninder singh Kumar
Hi John, I would love to join up with you. My skype id is wi...@kawapeople.com. Adding you up. regards willy Maninder Kumar about.me/maninder.s.kumar

Re: Why Should I use DRF over Django

2020-06-18 Thread maninder singh Kumar
DRF causes serialization of data and converts it to JSON, making it an efficient way to communicate with your frontend. An API allows you to build a common core that can be used on multiple platforms like websites, mobile applications, plugins, and so on. You can build an API with pure Django

Required Python Django developers

2020-06-06 Thread maninder singh Kumar
Dear all, We require python django developers for a HR project. Please answer to maninder.s.ku...@gmail.com if interested. regards Willy -- You received this message because you are subscribed to the Google Groups "Django users" group. To unsubscribe from this group and stop receiving emails

Re: Please help me out!!!!!

2020-06-03 Thread maninder singh Kumar
Is it a navbar or just a plain dropdown ? [image: --] Maninder Kumar [image: http://]about.me/maninder.s.kumar On Wed, Jun 3, 2020 at 1:31 PM meera gangani wrote: > Yes i Did, > But Nothing is working, > with data-toggle href is not

Re: Django Pagination

2020-06-01 Thread maninder singh Kumar
f there are total 5 posts, then it shows all the 5 posts on all the > pages. > > Thanks, > > Akshat Zala > > On Saturday, 30 May 2020 20:54:35 UTC+5:30, maninder singh Kumar wrote: >> >> Views.py looks fine ! >> >> regards >> willy >> >

Re: Django Pagination

2020-05-30 Thread maninder singh Kumar
Views.py looks fine ! regards willy On Sat, May 30, 2020 at 7:22 PM Akshat Zala wrote: > Hello, > > I am finding it difficult to paginate through all the posts > > My views.py : > > @login_required > def home_view(request): > """Display all the post of friends and own posts on the

Marketing django project

2020-05-18 Thread maninder singh Kumar
Dear all, Require sales and marketing interns for django, javascript based artificial intelligence project. regards willy +91 9910669700 -- You received this message because you are subscribed to the Google Groups "Django users" group. To unsubscribe from this group and stop receiving emails

Re: Project available

2020-05-12 Thread maninder singh Kumar
te: > >> I'm interested sir >> >> On Mon 11 May, 2020, 11:36 AM maninder singh Kumar, < >> maninder.s.ku...@gmail.com> wrote: >> >>> Dear group members, >>> >>> I have a django project available the flowcharts of which wil

Re: Project available

2020-05-11 Thread maninder singh Kumar
Sorry, it would not be possible to give an internship in case you are not in India, I would require you for maintainance later on. regards willy On Mon, May 11, 2020 at 8:30 PM Ali Murtuza wrote: > No I am from Pakistan > > On Mon, 11 May 2020 at 7:46 PM, maninder si

Re: Project available

2020-05-11 Thread maninder singh Kumar
Are you based in India ? [image: --] Maninder Kumar [image: http://]about.me/maninder.s.kumar <http://about.me/maninder.s.kumar?promo=email_sig> On Mon, May 11, 2020 at 7:17 PM Fulbéria Tangbé < fulberiatangbe2...@gmail.com> wrote: > Le lundi 11 mai 2020 06:06:23 UTC, manin

Re: Project available

2020-05-11 Thread maninder singh Kumar
;>> Regards. >>> Akshat >>> >>> On Monday, 11 May 2020 11:36:23 UTC+5:30, maninder singh Kumar wrote: >>>> >>>> Dear group members, >>>> >>>> I have a django project available the flowcharts of which will be up in >>

Re: Project available

2020-05-11 Thread maninder singh Kumar
; > On Monday, 11 May 2020 11:36:23 UTC+5:30, maninder singh Kumar wrote: >> >> Dear group members, >> >> I have a django project available the flowcharts of which will be up in 1 >> week. Write or call if interested ? >> >> Willy >> +91 99106697

Re: Project available

2020-05-11 Thread maninder singh Kumar
, 2020, 6:27 pm Adedotun Richard, > wrote: > >> I'm interested >> You can send a zoom invite and let's talk. >> >> On Mon, May 11, 2020, 11:05 AM maninder singh Kumar < >> maninder.s.ku...@gmail.com> wrote: >> >>> S.K thanks for the response. >&

Re: Project available

2020-05-11 Thread maninder singh Kumar
S.K thanks for the response. Is there phone number I can get in touch with you? Regs Willy Sent from my iPad > On 11-May-2020, at 11:44 AM, S K wrote: > > I am interested. Would like to collaborate with you. > >> On Mon, 11 May, 2020, 11:35 am maninder singh Kumar, >&g

Project available

2020-05-11 Thread maninder singh Kumar
Dear group members, I have a django project available the flowcharts of which will be up in 1 week. Write or call if interested ? Willy +91 9910669700 wi...@kawapeople.com Sent from my iPad -- You received this message because you are subscribed to the Google Groups "Django users" group.

Re: Tutorial Part 1

2020-05-10 Thread maninder singh Kumar
the polls URL needs to be added to urls.py. [image: --] Maninder Kumar [image: http://]about.me/maninder.s.kumar On Sun, May 10, 2020 at 1:15 AM Randy Zeitvogel wrote: > This is from my mysite/settings.py file: > > # Application

Re: Need Help In My Project (URGENT)

2020-04-25 Thread maninder singh Kumar
The lockdown has affected all of us. I find it hard to believe that, Raghav, you haven't found a way out. We must all work hard to get to something valuable.every day. The way around this problem you face is to talk on the phone. Remember isolation can lead to depression and we must still

Re: NoReverseMatch at , I have Recently a class from one app and added it to a new app and I revised everything but keep receiving this Error, what did i miss?

2020-04-25 Thread maninder singh Kumar
A URL.py problem Reg Willy Sent from my iPad > On 25-Apr-2020, at 10:04 AM, Ahmed Khairy wrote: > > yes > > INSTALLED_APPS = [ > 'django.contrib.admin', > 'django.contrib.auth', > 'django.contrib.contenttypes', > 'django.contrib.sessions', > 'django.contrib.messages', >

Re: I AM getting this error plss help me

2020-03-15 Thread maninder singh Kumar
The object is empty [image: --] Maninder Kumar [image: http://]about.me/maninder.s.kumar On Sat, Mar 14, 2020 at 5:56 PM surendra ediga wrote: > Traceback (most recent call last): > File "C:\Users\Asus\projects\manage.py", line 21, in

Re: Active Open Source Project to contribute to

2020-03-12 Thread maninder singh Kumar
My skills include databases [image: --] Maninder Kumar [image: http://]about.me/maninder.s.kumar On Thu, Mar 12, 2020 at 3:25 PM Jayabal wrote: > Hi Ranjan, > > I'm interested as well. > > > > On Thursday, 12 March 2020 09:55:35 UTC+5:30,

Re: Active Open Source Project to contribute to

2020-03-11 Thread maninder singh Kumar
Django projects require patience and perseverance, I suggest we develop a skill evaluation matrix and then divide the project into relevant parts. [image: --] Maninder Kumar [image: http://]about.me/maninder.s.kumar On Wed, Mar 11, 2020 at

Re: How to create entire basic of website design without using django-admin panel

2020-03-09 Thread maninder singh Kumar
You could go to django docs [image: --] Maninder Kumar [image: http://]about.me/maninder.s.kumar On Fri, Feb 28, 2020 at 12:21 PM nrupesh08 wrote: > > > login page based on roles (user, admin). insert data, update data, delete > data in

Re: Database connection not pointing to the correct database backend

2020-03-01 Thread maninder singh Kumar
Try using another user and password and not 'root' [image: --] Maninder Kumar [image: http://]about.me/maninder.s.kumar On Sun, Mar 1, 2020 at 1:51 AM Cam wrote: > I'm running Ubuntu and I'm trying to create a small web-app connecting to

Re: Selecting all and posting

2020-02-23 Thread maninder singh Kumar
There is a doubt about the model [image: --] Maninder Kumar [image: http://]about.me/maninder.s.kumar On Mon, Feb 24, 2020 at 4:37 AM Rishabh Gupta wrote: > I can help give me checkout . You need to use of javascript .You can > take id

Re: Struggling on how to divide our ERP according to the Compary regional offices may someone help.

2020-02-23 Thread maninder singh Kumar
The branch offices could be a separate organization unit [image: --] Maninder Kumar [image: http://]about.me/maninder.s.kumar On Sun, Feb 23, 2020 at 4:58 PM dumbaclassics wrote: > > Hello Family. > > We have been developing in django for

Re: Django - CreateView not saving form with nested formset

2020-02-23 Thread maninder singh Kumar
Great thought [image: --] Maninder Kumar [image: http://]about.me/maninder.s.kumar On Mon, Feb 24, 2020 at 7:00 AM bnmng wrote: > One thing you can try for troubleshooting is an else clause to go with > your is_valid > > if

Re: ANN: django-yamlconf v1.2.0 is available

2020-02-23 Thread maninder singh Kumar
Thanks for the info. [image: --] Maninder Kumar [image: http://]about.me/maninder.s.kumar On Mon, Feb 24, 2020 at 7:27 AM Michael Rohan wrote: > Hi Folks, > > Have release v1.2.0 for django-yamlconf, a module supporting Django > settings

Re: Bulk SMS website using django

2020-02-23 Thread maninder singh Kumar
We could work out the website. [image: --] Maninder Kumar [image: http://]about.me/maninder.s.kumar On Fri, Feb 21, 2020 at 1:22 PM Isaac Imafidon wrote: > I have a project to develop a bulk sms website using django, but i have > not

Re: Ui/Ux to Django

2020-02-23 Thread maninder singh Kumar
How about the following list : 1. HTML 5 HTML 5 is about where most templates would require you to be on. A basic idea of forms, buttons and other tags will help 2. CSS 4 preferably bootstrap This is one of the most important things for UI and will require more than workable knowledge 3.

Re: Django Migration gives an error with OneToOneField

2020-02-23 Thread maninder singh Kumar
ils with result!? > > Or try some cmd to more status: > https://docs.djangoproject.com/en/2.2/topics/migrations/ > > On Mon, Feb 24, 2020, 00:43 maninder singh Kumar < > maninder.s.ku...@gmail.com> wrote: > >> I am working on an application with two databases and t

Re: My newly added model doesn't appear on the user's side of the site

2020-02-23 Thread maninder singh Kumar
If it is appearing on the admin site then it has been updated on the database. It is possible that two things could cause the problem : 1. The right query is not being used to generate a result. 2. The right templating is not been used. regards [image: --] Maninder Kumar [image:

Django Migration gives an error with OneToOneField

2020-02-23 Thread maninder singh Kumar
I am working on an application with two databases and two different dbRouters. On migrating a model with a OneToOneField I get the following error : django.db.utils.OperationalError: (1824, "Failed to open the referenced table 'auth_user'") The auth dbRouter is for the [auth, sessions,

Re: Study and project partner(s) needed

2020-02-18 Thread maninder singh Kumar
Medium to average programming skills looking to improve [image: --] Maninder Kumar [image: http://]about.me/maninder.s.kumar On Tue, Feb 18, 2020 at 3:43 AM Maqdum Adewale wrote: > Hi I'm in > > On Fri, Feb 14, 2020, 5:15 PM Akorede

Re: Multiple calls

2020-02-17 Thread maninder singh Kumar
Hi Soumen, Where is the Csv file loading ? You could try return redirect also if the problem is due to continued resubmission. Sent from my iPad > On 17-Feb-2020, at 7:14 PM, Kasper Laudrup wrote: > > Hi Soumen, > >> On 17/02/2020 14.31, Soumen Khatua wrote: >> Hi Folks, >> Actually I want

Re: Attribute Error

2020-02-17 Thread maninder singh Kumar
Have you tried putting a print statement in views.py RegisterStudent to get to an output in the server. Perhaps the problem is in the template and the get isn't even coming to the view Sent from my iPad > On 17-Feb-2020, at 6:30 PM, Adam Mičuda wrote: > > Hi, > you have to return instance of

Re: Bootstrap not found

2020-02-16 Thread maninder singh Kumar
Static file location in settings.py [image: --] Maninder Kumar [image: http://]about.me/maninder.s.kumar On Sun, Feb 16, 2020 at 8:36 PM Alessandro D' Oronzo wrote: > Hi everyone, > I have a problem with load bootstrap on my

Re: Study and project partner(s) needed

2020-02-16 Thread maninder singh Kumar
What is the project about Sent from my iPad > On 16-Feb-2020, at 6:58 PM, Jubel Ahmed wrote: > > let's create a group in skype. > skype id : jubel4926 > > >> On Sun, Feb 16, 2020 at 4:51 PM sagar ninave wrote: >> I have created whats app group whoever interested please join the group >> >>

Re: Retaining text in search input boxes

2020-02-15 Thread maninder singh Kumar
Wouldn't the value field make it fixed ? [image: --] Maninder Kumar [image: http://]about.me/maninder.s.kumar On Sun, Feb 16, 2020 at 12:22 AM Dick Arnold wrote: > I have a personnel database which has to be edited to keep it current. > I

Re: Study and project partner(s) needed

2020-02-15 Thread maninder singh Kumar
The projects need to be specified ! [image: --] Maninder Kumar [image: http://]about.me/maninder.s.kumar On Fri, Feb 14, 2020 at 9:46 PM Akorede Habeebullah wrote: > Hi guys, > > I've been learning Django on a solo for a while now and I'm

Re: Study and project partner(s) needed

2020-02-14 Thread maninder singh Kumar
I have a project. Let me know if someone is interested Sent from my iPad > On 15-Feb-2020, at 6:51 AM, nainiket desai wrote: > > > Interested, let me know if someone has interesting project to work on! > >> On Fri, Feb 14, 2020 at 6:01 PM paarull shukla >> wrote: >> Heloo I m also

Re: Is a Custom User Model worth the headache?

2020-02-14 Thread maninder singh Kumar
It really depends on what you want to do with your user authentication Sent from my iPad > On 14-Feb-2020, at 2:02 PM, Carsten Fuchs wrote: > >> Am 14.02.20 um 09:03 schrieb Mike Dewhirst: >> Definitely start a new project with a custom user and I would consider >> aborting an existing

Re: Manually running a script that imports a Django model

2020-02-13 Thread maninder singh Kumar
Could it be an improperly configured database ? Also check installed apps. It is most likely a syntax error in settings like a comma, colon or apostrophe Sent from my iPad > On 13-Feb-2020, at 7:34 PM, onlinejudge95 wrote: > >> On Thu, Feb 13, 2020 at 6:34 PM Sourish Kundu >> wrote: > >>

Re: Is a Custom User Model worth the headache?

2020-02-13 Thread maninder singh Kumar
Here's my opinion on this : 1. It requires the.user model to be the first migration 2. You could either want to extend or customise the User model 3. If extending is all you want then use the default authentication I tried customising it didn't find it worth my time Willy Sent from my iPad >

Re: makemessages fails

2020-02-13 Thread maninder singh Kumar
Is the app installed in settings.py Sent from my iPad > On 13-Feb-2020, at 10:49 AM, Yash Garg wrote: > > Go through i18n official documentation and specify path according to that. > >> On Thu 13 Feb, 2020, 10:25 AM Yves de Champlain, wrote: >> Hi >> >> I have >> >> ROOT_DIR =

Re: filter objects dynamically on page render based on button click (beginner question)

2020-02-13 Thread maninder singh Kumar
Have you looked at permissions ? Sent from my iPad > On 13-Feb-2020, at 6:06 PM, Phil Kauffman wrote: > > Bill, > > Thank You for taking the time to respond. I will definitely need to read up > on the options you presented. My first inclination was to get familiar with > the first option as

Re: Django: how to make queries between 2 tables that are not related in the model?

2020-02-13 Thread maninder singh Kumar
You of course mean, no foreign key ? Are the models pre written so no change can be made to them. Sent from my iPad > On 13-Feb-2020, at 2:58 PM, Jérôme Le Carrou wrote: > > Hi, > > I have 2 models that are not related (maybe it should...) > > I need to make a query that select all records

Re: Memcache

2020-02-12 Thread maninder singh Kumar
So memcache for caching is the advised way to go for it. It involves setting up setting.py for memcache, you would have to work out locations on the computer where it would be stored. Also strongly advisable, don't cache all your site, just the : difficult parts, reusable parts. [image: --]

Re: Problem with Admin Page

2020-02-10 Thread maninder singh Kumar
I had the same problem on apache after running collect static Sent from my iPad > On 11-Feb-2020, at 1:01 AM, Alessandro D' Oronzo wrote: > > Hi, it is a default admin page. > > Il giorno lun 10 feb 2020 alle 20:26 maninder singh Kumar > ha scritto: >> Is it

Re: Problem with Admin Page

2020-02-10 Thread maninder singh Kumar
t; Help me So i help others for same > > Thanks > Rishabh > > On Mon, Feb 10, 2020 at 4:58 PM maninder singh Kumar < > maninder.s.ku...@gmail.com> wrote: > >> Couldn't be anything in the tracebacks ! >> >> >> [image: --] >> >> M

Re: Problem with Admin Page

2020-02-10 Thread maninder singh Kumar
I > have fix the problem > > Il giorno lun 10 feb 2020 alle 12:28 maninder singh Kumar < > maninder.s.ku...@gmail.com> ha scritto: > >> Couldn't be anything in the tracebacks ! >> >> >> [image: --] >> >> Maninder Kumar >> [image: http

Re: not inserted registeration form.

2020-02-10 Thread maninder singh Kumar
Your views.py needs to be thus : if request.method = POST: "Do something" else: form = CreateUserForm() [image: --] Maninder Kumar [image: http://]about.me/maninder.s.kumar On Fri, Feb 7, 2020 at 12:34 PM nrupesh08 wrote: > hi, > why

Re: Key Error :access_token While requesting access token using windows Outlook api token url

2020-02-10 Thread maninder singh Kumar
Perhaps urls.py [image: --] Maninder Kumar [image: http://]about.me/maninder.s.kumar On Sat, Feb 8, 2020 at 12:31 AM onlinejudge95 wrote: > Firstly, do not ever share any of your personal information over a mailing > list. You just

Re: Regarding Summer internship opportunities

2020-02-10 Thread maninder singh Kumar
> i am interested to join. actually, present i am learning django. and some > confusion in forms. so, please accept my invitation. > thank you > > > On Mon, Feb 10, 2020 at 5:03 PM maninder singh Kumar < > maninder.s.ku...@gmail.com> wrote: > >> Hi ankit, >> &g

Re: Regarding Summer internship opportunities

2020-02-10 Thread maninder singh Kumar
Hi ankit, I wonder if you would be interested in a django project involving : 1. AI CV makers 2. Other HR related products. [image: --] Maninder Kumar [image: http://]about.me/maninder.s.kumar On Mon, Feb 10, 2020 at 2:43 AM Anupriya

Re: to add counter to an object of a table

2020-02-10 Thread maninder singh Kumar
You would obviously want a counter to use in the template. And I presume a for loop will not do ? [image: --] Maninder Kumar [image: http://]about.me/maninder.s.kumar On Mon, Feb 10, 2020 at 2:33 PM Bruckner de Villiers <

Re: Problem with Admin Page

2020-02-10 Thread maninder singh Kumar
Couldn't be anything in the tracebacks ! [image: --] Maninder Kumar [image: http://]about.me/maninder.s.kumar On Mon, Feb 10, 2020 at 2:32 PM onlinejudge95 wrote: > Also, traceback would be awesome > > On Mon, Feb 10, 2020 at 12:09 AM

Re: Problem with Admin Page

2020-02-10 Thread maninder singh Kumar
My guess is you have a problem with your browser ! [image: --] Maninder Kumar [image: http://]about.me/maninder.s.kumar On Mon, Feb 10, 2020 at 12:09 AM Alessandro D' Oronzo wrote: > Hi everyone, > I have a problem with local web server

Re: Re: Error with filter queryset

2020-02-09 Thread maninder singh Kumar
have you tried "OneToOneField" ? I am wondering about a many to one field to User [image: --] Maninder Kumar [image: http://]about.me/maninder.s.kumar On Mon, Feb 10, 2020 at 12:01 AM BRAJESH KUMAR wrote: > I have a local host website

Re: Lots of errors after deploying and going live

2020-02-06 Thread maninder singh Kumar
Great answer Mike ! [image: --] Maninder Kumar [image: http://]about.me/maninder.s.kumar On Wed, Feb 5, 2020 at 4:19 AM Mike Dewhirst wrote: > Dave > > You are absolutely right. Django does go smoothly on the local machine. > However, if

Re: contrib.sites Admin problem

2020-02-06 Thread maninder singh Kumar
I figure that since only one kind of users, namely super or admin exist in django, it has got to be in the permissions. As staff items are not objects. [image: --] Maninder Kumar [image: http://]about.me/maninder.s.kumar On Wed, Feb 5,

Re: Django local host connection aborted

2020-02-06 Thread maninder singh Kumar
This is straight of the home page ? Is the server running ? Do you have the apps installed? Any other info you could provide ! [image: --] Maninder Kumar [image: http://]about.me/maninder.s.kumar On Wed, Feb 5, 2020 at 6:00 PM

Re: django registration error

2020-02-05 Thread maninder singh Kumar
Are you using mutiple databases and perhaps django is looking in the wrong place for auth_user ? could you post the entire error and your settings.py file [image: --] Maninder Kumar [image: http://]about.me/maninder.s.kumar On Wed, Feb 5,

Re: contrib.sites Admin problem

2020-02-03 Thread maninder singh Kumar
I believe the django templates used for admin are pretty good. Are they as good as they claim ? Sent from my iPad > On 04-Feb-2020, at 12:17 PM, אורי wrote: > > Did you try `django_admin.site.unregister(Site)` before you register Site > with your own admin? > > אורי > u...@speedy.net > >

Re: Can't find image files

2020-01-31 Thread maninder singh Kumar
When you load files to static, it loads to a common static location. That is the way you would want it to be. Recommended read django docs. regs On Friday, January 31, 2020 at 8:39:23 PM UTC+5:30, Dick Arnold wrote: > > Didn't stay working for long. Needed one more change. > > the src also

Re: want to create multiple tables for the same app in Django

2020-01-30 Thread maninder singh Kumar
Write as many models for tables reqd in db What is the problem you are facing ? Could it be the tables don't appear in all HTML! Sent from my iPad > On 29-Jan-2020, at 9:32 PM, Pawan Kumar wrote: > > Hi Team, > > I want to create multiple tables for the same app in Django & data from these >

Re: Hosting a django website

2020-01-28 Thread maninder singh Kumar
Best to go with linode ! A shared hosting does not offer any support for root access. [image: --] Maninder Kumar [image: http://]about.me/maninder.s.kumar On Sun, Jan 26, 2020 at 12:12 AM Perceval Maturure wrote: > dear all > 1.what is

Re: How to render data from populated database (no user input) to html

2020-01-28 Thread maninder singh Kumar
{% csrf_token %} views -- formView (request): if request.method == "GET" and 'q' in request.method: - your view code --- return render(request, template_name, context = {'text' : *database_text, ... . ., ., , ,}* HTML (use bootstrap

Re: Case-insensitve unique = True

2020-01-23 Thread maninder singh Kumar
I wonder at that. When I develop a model does the CharField have to be specified case insensitive at that level. For instance : A search can be case insensitive and iexact is the best way. [image: --] Maninder Kumar [image: http://]about.me/maninder.s.kumar

Re: Django and MySQL NDB Cluster

2020-01-22 Thread maninder singh Kumar
Could it be the server doesn't have the database ? [image: --] Maninder Kumar [image: http://]about.me/maninder.s.kumar On Thu, Jan 23, 2020 at 1:49 AM Victor Guimarães Nunes < nunessvict...@gmail.com> wrote: > Hi, > > I'm having some

Re: Tracking IP

2020-01-21 Thread maninder singh Kumar
You could request.hostname or request.path to get to the names. [image: --] Maninder Kumar [image: http://]about.me/maninder.s.kumar On Tue, Jan 21, 2020 at 5:27 PM Soumen Khatua wrote: > Hi Folks, > > In my Django application I want to

Re: some value for primary key

2020-01-21 Thread maninder singh Kumar
you could do that in the database with a mysql statement. ALTER TABLE tbl AUTO_INCREMENT = ; [image: --] Maninder Kumar [image: http://]about.me/maninder.s.kumar On Wed, Jan 22, 2020 at 12:03 AM Soumen Khatua wrote: > Hi Folks, > > I

Re: Backward migration failing because of old dropped model

2020-01-21 Thread maninder singh Kumar
In your database there is a table called django_migrations. Delete all references in it to any other migration than the initial one. [image: --] Maninder Kumar [image: http://]about.me/maninder.s.kumar On Tue, Jan 21, 2020 at 1:37 AM

Re: DjangoEveryDay. My practice website!

2020-01-20 Thread maninder singh Kumar
Did you do Jack's Practice Zone is Django too ? [image: --] Maninder Kumar [image: http://]about.me/maninder.s.kumar On Sun, Jan 19, 2020 at 4:46 PM Jack Lin wrote: > Hi everyone. I'm doing #DjangoEveryday Challenge to myself. > I set a

Re: How to render data from populated database (no user input) to html

2020-01-19 Thread maninder singh Kumar
Your path is as follows : urlpatterns = [ path('', views.homepage_view), but your view file is def currentReps_view(request) Make the change in the urls.py ] [image: --] Maninder Kumar [image: http://]about.me/maninder.s.kumar On

Re: Django Lessons

2020-01-19 Thread maninder singh Kumar
Excellent work ! [image: --] Maninder Kumar [image: http://]about.me/maninder.s.kumar On Mon, Jan 20, 2020 at 1:26 AM Eugen Ciur wrote: > Hi everyone, > > I launched recently a new resource, django-lessons.com. >

Re: Django blog post not linking to detail.html page

2020-01-19 Thread maninder singh Kumar
I see you have put href as post.get_absolute_url You could for instance use a relative path. Put a page field in your model Post, to refer to the html that the post will be on. And then : {% for text in post_list%} {{text.content_Title}} {{text.content_Description}} {% endfor %}

Re: Role based access

2020-01-19 Thread maninder singh Kumar
gt; > > And if user2 login means > > name > > age > > department > > user(manytomanyfiled) > > pqr > > 25 > > me > > user2 > > > > > > Kindly let me know below explanation is serving my purpose? > > > > Best Regards, >

Re: Role based access

2020-01-19 Thread maninder singh Kumar
s he has to see only > > > > name > > age > > department > > user(manytomanyfiled) > > xyz > > 23 > > cs > > user1 > > abc > > 24 > > ec > > user1 > > > > And if user2 login means > > name > > age

Re: DjangoEveryDay. My practice website!

2020-01-19 Thread maninder singh Kumar
Great to know [image: --] Maninder Kumar [image: http://]about.me/maninder.s.kumar On Sun, Jan 19, 2020 at 4:46 PM Jack Lin wrote: > Hi everyone. I'm doing #DjangoEveryday Challenge to myself. > I set a goal for everyday and try to

Re: i need some help about server

2020-01-19 Thread maninder singh Kumar
Could it be the path ? [image: --] Maninder Kumar [image: http://]about.me/maninder.s.kumar On Sun, Jan 19, 2020 at 4:33 PM shubham shirbhate < shubhamshirbhate...@gmail.com> wrote: > hi guys, i set logo on my digital ocean django server

Re: Role based access

2020-01-19 Thread maninder singh Kumar
] Maninder Kumar [image: http://]about.me/maninder.s.kumar <http://about.me/maninder.s.kumar?promo=email_sig> On Sun, Jan 19, 2020 at 3:49 PM Doddahulugappa.B wrote: > Thank you for your response. Can you please Explain me how to do that.. > > On Sun, Jan 19, 2020, 2:09 PM maninder sing

Re: Role based access

2020-01-19 Thread maninder singh Kumar
Could it be that there is a user from each department and each user in a department has a role ? [image: --] Maninder Kumar [image: http://]about.me/maninder.s.kumar On Sun, Jan 19, 2020 at 3:04 PM Doddahulugappa.B wrote: > Hi team, > >

Re: Django 2.2 cache keys in bytes

2020-01-17 Thread maninder singh Kumar
Could it be that the value not being received, that is a string, is because of a function that you wrote that doesn't adequately define a value required. A type error of the kind you are receiving, and I racked my head over a type error for two days, has a simple solution, wonder if you could

Re: Django ORM

2020-01-17 Thread maninder singh Kumar
I wonder if this would work : second_data = SecondTable.objects.values("user_by").filter(username = "username) [image: --] Maninder Kumar [image: http://]about.me/maninder.s.kumar On Fri, Jan 17, 2020 at 8:10 PM Suraj Thapa FC wrote: >

Re: ProgrammingError at "Relation... does not exist after deleting tables in

2020-01-17 Thread maninder singh Kumar
ttp://about.me/maninder.s.kumar?promo=email_sig> On Fri, Jan 17, 2020 at 3:16 PM maninder singh Kumar < maninder.s.ku...@gmail.com> wrote: > The models don't contain a foreign key or do they ? > > > [image: --] > > Maninder Kumar > [image: http://]about.me/ma

Re: ProgrammingError at "Relation... does not exist after deleting tables in

2020-01-17 Thread maninder singh Kumar
The models don't contain a foreign key or do they ? [image: --] Maninder Kumar [image: http://]about.me/maninder.s.kumar On Fri, Jan 17, 2020 at 2:04 PM FLAVIEN HERI wrote: > hey guys I have an issue > > help me to resove this problem, >

Re: Getting " ConnectionAbortedError: [ WinError 10053] " while using Django Email in a POST request

2020-01-16 Thread maninder singh Kumar
Here's the code that I use : with mail.get_connection() as connection: connection.open() send_mail(Subject ,Message, Email, recipient_list, connection=connection) connection.close() Works beautifully, it is available at django docs [image: --] Maninder Kumar [image:

Re: Getting " ConnectionAbortedError: [ WinError 10053] " while using Django Email in a POST request

2020-01-16 Thread maninder singh Kumar
Perhaps a problem with the smtp server, I am wondering if the email object got initialized at all. [image: --] Maninder Kumar [image: http://]about.me/maninder.s.kumar On Fri, Jan 17, 2020 at 2:41 AM Nosa Omorodion wrote: > Have you tried

  1   2   >