The issue is with your urls.py file.
Since the first pattern you have given is empty, it will match all
requests. Interchange lines 4 & 5 and your issue will be resolved.
On Friday, October 5, 2018 at 2:17:27 AM UTC+5:30, Gear Crew wrote:
>
>
> when you click on any link doesn't go to music/1/
First of all makemigrations and migrate than creatsuperuser
On Thu 4 Oct, 2018 11:47 pm VIPIN VIPIN, wrote:
> id is : 12345
password: 12345Vipin
>
> --
> You received this message because you are subscribed to the Google Groups
> "Django users" group.
> To unsubscribe from this group
>
> id is : 12345
>>>
>>> password: 12345Vipin
--
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
give me you id and password teamviwer i will help you
El jue., 4 oct. 2018 a las 12:07, VIPIN VIPIN ()
escribió:
> This is not working
>
>
> On Thu, 4 Oct 2018, 11:25 pm Bob White, wrote:
>
>> you must do makemigrations and then migrate
>>
>> after that you will be enable to see panel admin
>>
>
This is not working
On Thu, 4 Oct 2018, 11:25 pm Bob White, wrote:
> you must do makemigrations and then migrate
>
> after that you will be enable to see panel admin
>
> python manage.ty makemigrations
> python manage.py migrate
>
> this process will make the tables for admin
>
> El jue., 4 oct
Migrate your database
On Thu, Oct 4, 2018, 10:30 PM VIPIN VIPIN wrote:
> I had created superuser successfully
> But whenever I go to admin panel in my server, it does not give me any
> login page
>
> --
> You received this message because you are subscribed to the Google Groups
> "Django users"
you must do makemigrations and then migrate
after that you will be enable to see panel admin
python manage.ty makemigrations
python manage.py migrate
this process will make the tables for admin
El jue., 4 oct. 2018 a las 11:07, VIPIN VIPIN ()
escribió:
> --
> You received this message because
Please check this link about your issue
https://stackoverflow.com/questions/37949198/wsgirequest-object-has-no-attribute-user-django-admin
(https://link.getmailspring.com/link/1538673870.local-79151df1-ea10-v1.4.2-f587b...@getmailspring.com/0?redirect=https%3A%2F%2Fstackoverflow.com%2Fquestions%
check your urls.py
On Thu, Oct 4, 2018 at 10:37 PM VIPIN VIPIN wrote:
> --
> 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...@googleg
I had created superuser successfully
But whenever I go to admin panel in my server, it does not give me any login
page
--
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 ema
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA512
On Thu, Oct 04, 2018 at 06:24:27AM -0700, ankit...@axxonet.net wrote:
> Hi all,
>
> I am trying to connect Django to Vertica, but I am not able to get any
> useful documentation for the same. Whatever links I am getting don't help!
> I have attache
You can do it by with the help of form.save().
For example,
from django.shortcuts import render
from django.http import HttpResponse, HttpResponseRedirect
from .forms import EmpDetailForm
def addEmp(request):
if request.method == 'POST':
empform = EmpDetailForm(request.POST)
if empform.is_valid():
I want to save the data entered by the user into the HTML form(pure HTML)
into the database. I'm a complete newbie in Django, what I found is Django
forms can do the job, but still I can't figure it out. Please, provide me
with a detailed answer/link for this. I'm using Django 1.9. Also, I wish
Use the super() builtin function. It returns an object that has the ability
to instantiate your parent class. see sample code:
class Animal(object):
def __init__(self,*args,**kwargs):
pass
#print(types,'Base class with Animal')
class Mammal(Animal):
def __init__(self):
supe
14 matches
Mail list logo