Django cms has drag an drop backend
https://control.divio.com/demo/get-new/
Tim
Officerebels.nl
Verstuurd vanaf mijn iPhone
> Op 4 jul. 2018 om 21:51 heeft Brandon het volgende
> geschreven:
>
> Hello Carlo,
>
> How can you tell the difference?
> Unless I am looking at the google images in
Plz expalin how to add child for siblingSent via the BlackBerry Hub for Android
--
You received this message because you are
please this the error i got when i run python manage.py makemigrations
File
"C:\Users\Admin\AppData\Local\Programs\Python\Python36-32\lib\site-packages\django\core\management\__init__.py",
line 371, in execute_from_command_line
utility.execute()
File
"C:\Users\Admin\AppData\Local\Programs\P
In any field that is a ForeignKey you now have to add "on_delete = ???"
(there are a number of options to replace the ???).
See the last line of the error message as it shows you the file and line
number of where the error is.
On Friday, 06 July, 2018 07:13 PM, Umar Kambala wrote:
please th
Add on_delete = models.CASCADE
EVERY WHERE YOU ARE USING FOREIGN KEY
On Fri, 6 Jul 2018, 4:43 p.m. Umar Kambala, wrote:
> please this the error i got when i run python manage.py makemigrations
>
> File
> "C:\Users\Admin\AppData\Local\Programs\Python\Python36-32\lib\site-packages\django\core\ma
You can Also Use on_delete= models.PROTECT whereever You use ForeignKey!
On Fri, 6 Jul 2018 at 5:09 PM, Anirudh choudhary <
anirudhchoudary...@gmail.com> wrote:
> Add on_delete = models.CASCADE
> EVERY WHERE YOU ARE USING FOREIGN KEY
>
> On Fri, 6 Jul 2018, 4:43 p.m. Umar Kambala, wrote:
>
>> p
Please am sorry, am new to django I hvnt understood what u mean. If u could
further explain it to me. Thanks
On Jul 6, 2018 11:42 AM, "rahul sawra" wrote:
> You can Also Use on_delete= models.PROTECT whereever You use ForeignKey!
>
> On Fri, 6 Jul 2018 at 5:09 PM, Anirudh choudhary <
> anirudhcho
Please sorry am new to django, if u could further explain it to me. Thanks
On Jul 6, 2018 11:39 AM, "Anirudh choudhary"
wrote:
> Add on_delete = models.CASCADE
> EVERY WHERE YOU ARE USING FOREIGN KEY
>
> On Fri, 6 Jul 2018, 4:43 p.m. Umar Kambala, wrote:
>
>> please this the error i got when i
Hi Team,
I am using django smart select with django version : 1.6.1
django-smart-selects (1.5.4) version
*ERROR : ImportError: No module named apps*
models.py
from smart_selects.db_fields import ChainedForeignKey
class Continent(models.Model):
name = models.CharField(max_length=25
added 'smart_selects' app in settings.py and put a comma at the end.
Kind Regards,
Satheesh Eppalapelli
On Fri, Jul 6, 2018 at 5:57 PM, vimal devapp raj
wrote:
> Hi Team,
>
> I am using django smart select with django version : 1.6.1
>
> django-smart-selects (1.5.4) version
>
> *ERROR : Im
Please this wat I now hv am I correct?
On_delete = models.PROTECT
On Jul 6, 2018 11:28 AM, "Gerald Brown" wrote:
In any field that is a ForeignKey you now have to add "on_delete = ???"
(there are a number of options to replace the ???).
See the last line of the error message as it shows you the
And I still gets de same error
On Jul 6, 2018 12:42 PM, "Umar Kambala" wrote:
> Please this wat I now hv am I correct?
>
> On_delete = models.PROTECT
> On Jul 6, 2018 11:28 AM, "Gerald Brown" wrote:
>
> In any field that is a ForeignKey you now have to add "on_delete = ???"
> (there are a number
Hi Umar,
On 07/06/2018 02:14 PM, Umar Kambala wrote:
Please am sorry, am new to django I hvnt understood what u mean. If u
could further explain it to me. Thanks
Which part don't you understand?
I'm far from an expert on relational databases, but you need at least
some understanding of the
mr Tim can u help?
i have this codes but gets error
from django.db import models
from django.contrib.auth.models import User
class Board(models.Model):
name = models.CharField(max_length=30, unique=True)
description = models.CharField(max_length=100)
class Topic(models.Model):
subj
Try this
https://www.valentinog.com/blog/django-missing-argument-on-delete/
Verstuurd vanaf mijn iPhone
> Op 6 jul. 2018 om 14:55 heeft Umar Kambala het
> volgende geschreven:
>
> mr Tim can u help?
> i have this codes but gets error
>
> from django.db import models
> from django.contrib.au
At https://docs.djangoproject.com/en/2.0/ref/models/fields/ it lists a
list of various options, and Protect is one of the options so, yes you
are correct. However PROTECT prevents that record from being deleted so
you might want to use CASCADE instead of PROTECT.
On Friday, 06 July, 2018 08:
I wonder if this would work: represent ASAP as a legitimate DateTime value
that is, say, 100 years in the future. Then a simple reverse sort will
display all of the ASAP tasks before any others.
This is a hack, and nothing but a hack. But you could implement it in five
minutes.
On Thursday,
Many thanks for the help on this. I have implemented the following:
models.py
start_date = models.DateField(null=True, blank=True,)
asap = models.BooleanField(default=False)
I have amend my manager so the order is right on the template.
The template is where I am going wrong.
This what I have star
Hi,
Before migrate you have to run python manage.py makemigrations this command
after you will run migrate or runserver.
On Thursday, 5 July 2018 16:48:47 UTC+5:30, Umar Kambala wrote:
>
> please this what i had after running my Django-admin startproject myproject
>
> File
> "c:\users\admin\a
On vrijdag 6 juli 2018 16:46:08 CEST 'dtdave' via Django users wrote:
> Many thanks for the help on this. I have implemented the following:
> models.py
> start_date = models.DateField(null=True, blank=True,)
> asap = models.BooleanField(default=False)
>
> I have amend my manager so the order is ri
you want date auto genrate ??
On 6 July 2018 at 20:16, 'dtdave' via Django users <
django-users@googlegroups.com> wrote:
> Many thanks for the help on this. I have implemented the following:
> models.py
> start_date = models.DateField(null=True, blank=True,)
> asap = models.BooleanField(default=F
Foreign key not working properly
On Fri, 6 Jul 2018, 16:43 Umar Kambala, wrote:
> please this the error i got when i run python manage.py makemigrations
>
> File
> "C:\Users\Admin\AppData\Local\Programs\Python\Python36-32\lib\site-packages\django\core\management\__init__.py",
> line 371, in exe
Because you run your project pyathon manage.py
Than this error generate you open your project than >settings scroll down
than app name write your project working properly
On Thu, 5 Jul 2018, 16:48 Umar Kambala, wrote:
> please this what i had after running my Django-admin startproject myproject
You need to add the on_delete keyword argument to the ForeignKey.
https://docs.djangoproject.com/en/2.0/ref/models/fields/#django.db.models.ForeignKey.on_delete
From: django-users@googlegroups.com [mailto:django-users@googlegroups.com] On
Behalf Of Avi gehlot
Sent: Friday, July 6, 2018 10:16 AM
Hi Azimzadeh,
I’m also new in Django but I notice you referred to app as django-sb-admin and
you added in settings as django_sb_admin
Just want to point the mismatch in name, your app is with ‘-‘ whereas installed
apps has ‘_’, issue could be this mismatch? As python itself is key sensitive
R
Hi Melvyn,
I've been working on getting permission to post the code, but everybody who
can do that is on vacation at present, unfortunately. I'm hoping somebody
will be back to work on Monday. I did try the test --parallel 1, but that
didn't help.
The problem tests all cover a particular metho
Mr Tom thanks very much. It has helped me alot
On Jul 6, 2018 1:27 PM, "TimT Vogt" wrote:
> Try this
>
> https://www.valentinog.com/blog/django-missing-argument-on-delete/
>
> Verstuurd vanaf mijn iPhone
>
> Op 6 jul. 2018 om 14:55 heeft Umar Kambala het
> volgende geschreven:
>
> mr Tim can u h
For whatever reason, after many hours of troubleshooting, I cannot seem to
insert a local static file into a template or raw html with "img src". An
image via a web url renders fine. Here are the relevant details:
Ownership of files is of the main user. Images are in the user's home
folder and
Hi friend,
Try to change {{STATIC_URL}} to
Thanks.
--
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 thi
29 matches
Mail list logo