Thanks you Melvyn, this is it :-)
Have a nice day.
Regards
Le mardi 3 juillet 2018 00:34:14 UTC+2, Melvyn Sopacua a écrit :
>
> On vrijdag 29 juni 2018 09:44:40 CEST Mickael Barbo wrote:
>
>
>
> > I try to create a way to archive (copy) the same object instance on an
>
> > other DataBase.
>
>
check this
https://raspberrypi.stackexchange.com/questions/70476/tcp-communication-raspberry-pi-and-pc-via-ethernet
On Fri, 13 Jul 2018, 11:08 mottaz hejaze, wrote:
> you dont need sockets , you can make the weight program scan inputs every
> n seconds .. or you can program it to be an event h
you dont need sockets , you can make the weight program scan inputs every n
seconds .. or you can program it to be an event hundler to any change in
unputs
start with weight program , design it the code it . test untill you
satisfied .. now you can do the connection with backend in many ways ..
Hi !
*I like working with " 1 file - 1 object " (Object could be class,
function...).*
It simplify visibility, debug etc... and it's easy for me to *don't pollute
my brain* :-)
For exemple, I do :
In *class_.py file* :
class ():
a
b
c
from ._method1 import method1
from ._meth
Hi Folks,
I would like to know if someone in this group has inserted fullcalendar
(https://fullcalendar.io/) in django admin. Is this possible?
Thank you for your comments,
Jhon
--
You received this message because you are subscribed to the Google Groups
"Django users" group.
To unsubscribe fro
I'm working on small project, (Automatic Calender for the near future
events from Tweets).
I have upgraded to Python 3.4.3, and Now i would like to upgrade Django
from 1.5.11 to 2.0.7.
Almost everything went well until i got this error:
?: (admin.E402) 'django.contrib.auth.context_processors.aut
I have recently added *npm* to my project in order to keep better track of
my js dependencies. Previously I have just been git cloning to my
static/vendor folder.
I've also added *gulp* , but have only got it doing hello world things
right now. It seems simple enough - it can watch files, min
On Thursday, 12 July 2018 21:04:25 UTC+1, clavie...@gmail.com wrote:
>
> I'm looking for a way to redirect to a different page depending upon which
> submit button the user clicks. I included a formaction tag in the template,
> but django still demands that get_absolute_url be defined. Using Djan
please share your settings.py . maybe you need to add or edit some
middleware in settings.py
On Fri, 13 Jul 2018, 14:36 Ghiath ghanem, wrote:
> I'm working on small project, (Automatic Calender for the near future
> events from Tweets).
> I have upgraded to Python 3.4.3, and Now i would like to
I think this uses fullcalendar.io - could be wrong
https://github.com/dakrauth/django-swingtime
Johnf
On 07/13/2018 01:37 AM, Jhon Carrillo wrote:
Hi Folks,
I would like to know if someone in this group has inserted
fullcalendar (https://fullcalendar.io/) in django admin. Is this possible?
Thank you for the clear explanation! It works beautifully now.
On Friday, July 13, 2018 at 9:17:37 AM UTC-4, Daniel Roseman wrote:
>
> On Thursday, 12 July 2018 21:04:25 UTC+1, clavie...@gmail.com wrote:
>>
>> I'm looking for a way to redirect to a different page depending upon
>> which submit bu
Static Images are working perfectly in Django .. but when i try to use
static CSS or evev open Django admin panel . CSS is not implemented there
please help on priority
--
You received this message because you are subscribed to the Google Groups
"Django users" group.
To unsubscribe from this
See:
https://docs.djangoproject.com/en/1.10/ref/templates/upgrading/
On Friday, 13 July 2018 14:36:52 UTC+2, Ghiath ghanem wrote:
>
> I'm working on small project, (Automatic Calender for the near future
> events from Tweets).
> I have upgraded to Python 3.4.3, and Now i would like to upgrade D
Hi Param,
On 2018-07-13 16:29, Param Saini wrote:
Static Images are working perfectly in Django .. but when i try to use
static CSS or evev open Django admin panel . CSS is not implemented there
Are you running the development server or is this in production?
If it is in production, have yo
I have an Item model. It has both a primary key and an item number; the
users refer to item numbers when finding things, and the actual primary key
is not exposed. I'm trying to write a CreateView that will allow the user
to input the item number.
I see that CreateView defaults to using the pr
from django import forms
from django.contrib.auth.models import User
from django.contrib.auth.forms import UserCreationForm
class RegistrationForm(UserCreationForm):
email=forms.EmailField(required=True)
class Meta:
model=User
fields ={
'username',
'first_name',
'last_name',
'password1',
'email',
if form.is_valid():
form.save()
return redirect('home')
You don't return anything when the form is invalid. That's why it returns
None
On Friday, July 13, 2018 at 3:31:43 PM UTC-4, abhishek dadhich wrote:
>
> from django import forms
> from django.contrib.auth.models import User
> from django.c
i think you can use
forms.is_valid():
not
form.is_valid():
it may work
On Fri, Jul 13, 2018 at 11:33 AM, Jason wrote:
> if form.is_valid():
> form.save()
> return redirect('home')
>
> You don't return anything when the form is invalid. That's why it returns
> None
>
> On Friday, July 13, 2018
You can pass in the ID (primary key) of the object from the view to the
template.
On Thursday, 12 July 2018 15:58:45 UTC+2, Fellipe Henrique wrote:
>
> How to verify if is new record or update record on django template? How
> can i do that?
>
> Thanks!
>
>
--
You received this message because
On vrijdag 13 juli 2018 21:40:48 CEST Hambali Idrees Ibrahim wrote:
> i think you can use
> forms.is_valid():
> not
> form.is_valid():
>
> it may work
No, it won't.
Jason diagnosed it correctly.
--
Melvyn Sopacua
--
You received this message because you are subscribed to the Google Groups
"D
I tried for hours to get django's migrate/makemigrations function work but
miserably couldn't so I created my tables in MySQL. Now I'm trying to add a
ManyToManyField between 2 models but am not sure how the MySQL syntax is
supposed to look like.
This is my current code:
from django.db import
What version of Channels are you using? It looks like you're trying to use
Channels 1 without Twisted redis support installed - did you try installing
the package it's asking for?
Andrew
On Thu, Jul 12, 2018 at 4:22 AM Hank Chu wrote:
> 2018-07-12 17:35:08,070 - INFO - worker - Listening on cha
Hey, uhm I faced a similar problem lately. Try this in the Settings.py
file,
Inside the brackets insert an asterisk ✳
It should look something like this
Allowed host = [ *];
Then try again.
On Thu, Jul 12, 2018, 7:34 PM Dikus Extrange
wrote:
> Hi Jason. Thank you for your reply. I tried with
23 matches
Mail list logo