starts with
>>> uppercase...
>>>
>>> My friend.. you are not making migrations... look at you have to do this:
>>>
>>>
>>> 1. Delete your migration folder
>>> 2. Delete you app table manually (DROP table)
>>> 3. python mana
18 at 2:52:33 PM UTC+2, Srinivas Gadi wrote:
>>
>>
>> When I clock on the login page, it supposed to save the data in DB but
>> instead URL being redirected to csrf token page.
>>
>> url.py
>>
>> from django.conf.urls import urlfrom . import viewsfro
When I clock on the login page, it supposed to save the data in DB but
instead URL being redirected to csrf token page.
url.py
from django.conf.urls import urlfrom . import viewsfrom
django.contrib.auth.views import login, logout
urlpatterns = [
url(r'^$', views.home),
url(r'home',views.home, na
.
>
> My friend.. you are not making migrations... look at you have to do this:
>
>
> 1. Delete your migration folder
> 2. Delete you app table manually (DROP table)
> 3. python manage.py makemigrations app_name
> 4. migrate
>
> that's all
>
> El sábado, 22 de s
Yes, provided the migrations out put in the second mail
On Sat, 22 Sep 2018, 17:11 Matthew Pava, wrote:
> Did you try running your migrations?
>
> Get Outlook for Android <https://aka.ms/ghei36>
>
>
>
>
> On Sat, Sep 22, 2018 at 5:07 AM -0500, "Srinivas G
:\Users\srini\djangoProjects\college>python manage.py
migrateOperations to perform:Apply all migrations: admin, auth,
contenttypes, sessionsRunning migrations:No migrations to apply.
Could someone please guide me how to fix this?
On Sat, Sep 22, 2018 at 2:40 PM Srinivas Gadi wrote:
> HI All,
&
HI All,
I am facing below error while creating a new model class.
the error pop up only at this line "user = models.OneToOneField(User)"
*"E1120:No value for argument 'on_delete' in constructor call"*
from django.db import models
from django.contrib.auth.models import User
class userProfile(mode
Can someone please help me with this?
On Sun, Sep 16, 2018 at 4:07 PM Srinivas Gadi wrote:
> am stuck at overriding the default editable bootstrap values in Django
> framework javascript HTML page
>
> In my webpage, it coded as below
>
>
> $.fn.editable.defaults
I am stuck at overriding the default editable bootstrap values in Django
framework javascript html page
In my webpage, it coded as below
$.fn.editable.defaults.url = "{% url 'page1' model.PATH %}";
Now my requirement is, When I click on a button, it check the
views.py(page1, which is default
am stuck at overriding the default editable bootstrap values in Django
framework javascript HTML page
In my webpage, it coded as below
$.fn.editable.defaults.url = "{% url 'page1' model.PATH %}";
Now my requirement is, When I click on a button, it check the
views.py(page1, which is defaul
10 matches
Mail list logo