Hi Madhur.
On your urls.py,
*change: *url('^$', views.index, name=index),
*to:* url('^$', views.index, name="index"),
I assume that you imported the *views.*
On Tue, May 28, 2019 at 12:31 PM Madhur Kabra
wrote:
> I am getting the url conf error. I have attached the relevant files.
> Thanks fo
d only if I'll click login button and at the same time it should not
> redirect to custom page if it is coming by loginrequired functionality.
>
> Can you share me the code, please if it is possible.
>
> Thank you once again.
>
>
>
> On Wed, 15 May 2019, 01:20
*Hi Soumen.*
your are trying to re-direct an user to a customized url. To do that you
need to create an URL that receive the name as an argument.
*urls.py*
path('url/', view, name='view_name'),
*View.py*
*from *django.shortcuts* import *redirect
return redirect('app:view_name', user_name=userNa
Hola Tatiana.
Vira este tutorial en que te guian para que hagas las operaciones basicas
de *CRUD (Create, Read, Update, Delete)*
https://www.youtube.com/watch?v=twXF1VpK5ak
Saludos !
On Thu, Apr 25, 2019 at 10:39 AM Tatiana Mesa
wrote:
> Hola,
>
> 1.tengo un formulario donde inicialmente lo ll
But. Did you get it to work?
On Mon, Apr 22, 2019, 11:38 AM Robert Wahoo wrote:
> Actually, I found why I got that last message, was a typo on my part.
>
>
>
> On to the next problem…Thank you.
>
>
>
> *From: *"django-users@googlegroups.com"
> on behalf
t; Actually, I found why I got that last message, was a typo on my part.
>>
>>
>>
>> On to the next problem…Thank you.
>>
>>
>>
>> *From: *"django-users@googlegroups.com"
>> on behalf of "Victor H. Velasquez Rizo"
>> *
*Hello Rob.*
With the url "hello/", your trying to call the "hello" function on your
view.py.
*First*, you need to import "hello" to be able to use it. from *from
lct_app.views import hello*
*Second,* call the function. path('hello/', hello),
*urls.py*
from django.contrib import admin
from django
*Hello Silver.*
*- On your URLCONFIG add *
path('', include('public_posts.urls')),*<=== Add*
-* On your public_posts/urls.py add*
app_name = 'public_posts'
urlpatterns = [
path('', views.pub_post_list, name='pub_posts'),
path('', views.post_new, name='new_post'),
path('new-post/'
Hello John:
You have to be in the folder where the enviroment was created, then type
source /bin/activate
On Sat, Mar 30, 2019 at 1:32 PM John wrote:
> Good evening
>
> I've created and activated venv like this:
> $ python3 -m venv
> $ source /bin/activate
>
> Now Ive ‘deactivate’ the venv
>
>
Hello Carol.
Try this
https://tutorial.djangogirls.org/en/
On Sat, Mar 30, 2019 at 9:12 AM carol caro wrote:
> Hello. I am a new or beginner django developer. Where do I start from
> I have installed python and integrated with Django framework but I don't
> know what to do next
>
> --
> You
Jayesh.
It will be more helpful if you can share a view of your models...
On Thu, Feb 21, 2019 at 2:10 AM bhushan patil wrote:
> I am running the command 'python manage.py makemigrations polls' but it's
> showing that django.db.models has no attribute model.
>
> --
> You received this message be
Jayesh
The class Choice()
Indentation is wrong.
It has to be at the same column alignement of Question
On Thu, Feb 21, 2019 at 12:43 PM bhushan patil
wrote:
> I am trying to build my first app in django but an error has occurred
> starting 'Question is not defined'.can anyone help me with th
Daniel
Share your urls.py file
On Thu, Feb 21, 2019 at 5:32 AM wrote:
> please let me know the particular solution for version 2.1 i m stucked
>
> On Friday, 21 March 2014 14:31:29 UTC+5:30, Daniel Roseman wrote:
>>
>> On Thursday, 20 March 2014 23:07:47 UTC, wasingej wrote:
>>>
>>> I am try
Hola Abel.
Que exactamente en lo que estas teniendo problemas para configurar?
On Tue, Feb 19, 2019 at 11:21 AM Abel Sena wrote:
> no puedo configuralo
>
> --
> You received this message because you are subscribed to the Google Groups
> "Django users" group.
> To unsubscribe from this group and
Got it.
Thank you
On Tue, Feb 12, 2019 at 12:40 AM Mike Dewhirst
wrote:
> On 12/02/2019 4:54 pm, Victor H. Velasquez Rizo wrote:
> > Hi Mike.
> > I have spend hours trying to get the code where all this crazyness is
> > happening with no good luck.
> > I would like
9 2:19 pm, Victor H. Velasquez Rizo wrote:
> > Hello mike.
> > Thank you for all this information.
> >
> > I've been checking the migrations but I don't see anything with the
> > *sort_value*
>
> In that case you have asked for gallery_photos.sort
hotologue/photo/victor/>
On Mon, Feb 11, 2019 at 8:23 PM Mike Dewhirst wrote:
> On 12/02/2019 11:47 am, Victor H. Velasquez Rizo wrote:
> > Yes Mike.
> > I have done both:
>
> In that case, you need to inspect the database itself using PGAdmin (or
> sim
, wordsearch, stationary
Synchronizing apps without migrations:
Creating tables...
Running deferred SQL...
Installing custom SQL...
*Running migrations:*
* No migrations to apply.*
On Mon, Feb 11, 2019 at 5:42 PM Mike Dewhirst wrote:
> On 12/02/2019 10:23 am, Victor H. Velasquez R
18 matches
Mail list logo