Hey, I think you can do this by adding conditionals to your template to
handle the data sent from the view.
Regards
On Mon, 13 May 2019 at 3:29 PM, MUHAMMAD AFZAL
wrote:
> You could solve this problem in templates itself by placing form in
> different positions or using advanced frameworks like
Hello,
Now I create new connection in connect event every time, code like this
async def connect(self):
self.redis = await aioredis.create_redis(
'redis://localhost',encoding='utf-8')
async def disconnect(self, close_code):
await self.redis.close()
I need something like
Hi RLM,
Did you import samples in root urls.py
Like as below
>From samples import urls
Hope it will solve ur error.
Thanks.
On Mon, 13 May, 2019, 7:45 PM John Bagiliko,
wrote:
> Try this in samples/urls.py
>
> from django.urls import path
> from . import views
>
> urlpatterns = [
>
Yes long time ago ..
follow this tutorial
https://simpleisbetterthancomplex.com/tutorial/2016/11/22/django-multiple-file-upload-using-ajax.html
On Monday, May 13, 2019 at 10:00:24 AM UTC-5, christophe szczepanski wrote:
>
> *do solved your problem ? , i have the same ?*
>
>
> *Thank you :)*
>
--
*do solved your problem ? , i have the same ?*
*Thank you :)*
--
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
You could solve this problem in templates itself by placing form in
different positions or using advanced frameworks like bootstrap of react.
And in views code, write it separately and Connect it through urls.
On May 13, 2019 5:03 PM, "laurine ogutu" wrote:
Hi i have tried to create a login
Try this in samples/urls.py
from django.urls import path
from . import views
urlpatterns = [
path(''",views.index, name='index'),
]
By the way, what is the error you are getting?
On Mon, May 13, 2019, 7:14 AM RLM wrote:
> Hi Everyone.
> I have been away from Django for the past 18 months
I am facing similar issue.
How did you check the value of user.backend ??
Thanks,
Shilpa
On Saturday, 14 June 2014 00:26:59 UTC+8, Scott Simmerman wrote:
>
> I faced a similar issue (request.user becoming anonymous after login) and
> found
> the following solution. It had to do with the naming
Hi i have tried to create a login form where a teacher and student can
login. Once the teacher clicks the teachers button, they can give their
details. Once a student clicks the student button, they can give their
details different from the teachers. I have a problem getting it done.
Kindly help
Hi All,
This is my first post, sorry if this question has been asked before as
well. What i am trying to do is in the django admin, when using a
datetimefield we get a datepicker and timepicker from DateTimeShortcuts.js
Please have anyone here hosted django site using namecheap ? I want to know
how he or she did it.
--
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
Thank you for your suggestion
I am using PostgreSQL
You have successfully saved the layout but I am talking about the dynamics
forms fields which will be used for form submission how you are looking to
store the values of 1000's of records entered after that in those fields.
that's why I was
My 2 cents -
You will have to store the user preferences in a settings file on the
server. I would suggest to use a JSONField for the same if you are using
the PostgrSQL. Otherwise you will have to create a separate model. Saving
settings in model will take more efforts. Using JSON for this would
Thank you Devender Kumar
On May 13, 2019 4:11 PM, "Devender Kumar" wrote:
> make use of user manager which can genreate userid and password and create
> user with this userid and password + **extra fields
>
> On Thursday, May 9, 2019 at 6:09:33 PM UTC+5:30, MUHAMMAD AFZAL wrote:
>>
>> Hello
make use of user manager which can genreate userid and password and create
user with this userid and password + **extra fields
On Thursday, May 9, 2019 at 6:09:33 PM UTC+5:30, MUHAMMAD AFZAL wrote:
>
> Hello Django People,
>
> I'm building an app in which I need to generate UserID and passwords
You need to make model for that where managed = false in class meta of the
model.
even you can generate complete table model from the db.
On Friday, May 10, 2019 at 8:29:40 PM UTC+5:30, Soumen Khatua wrote:
>
> Hi Folks,
>
> I have one existing table in my database then how I can use the same
Till now I only know about one thing is that is sending emails not about
how you will be going to read them but I have suggestion for this also. For
sending email you need to configure smtp/email in your settings file
like so
EMAIL_BACKEND = 'django.core.mail.backends.smtp.EmailBackend'
Hi,
I want to make a web app in which user has rights to configure his
layout.Means each user can configure his layout according to his choice and
work
Like how many fields can his form have how many field he want to see in
table view of individual record view . configure theme color of his
Sorry for my late response. How can I go about it?
On 4:53AM, Sat, May 11, 2019 salimon jamiu olashile <
tunedae1shi...@gmail.com> wrote:
> The functionality should work on localhost.
>
> On Fri, 10 May 2019 at 11:17 PM, Marvelous Ikechi
> wrote:
>
>> Hello guys,
>>
>> I'm creating an third
Hi
Consider the demo Example
models.py
*from django.db import models
class Musician(models.Model):
first_name = models.CharField(max_length=50)
last_name = models.CharField(max_length=50)
instrument = models.CharField(max_length=100)
class Album(models.Model):
artist =
Hi Everyone.
I have been away from Django for the past 18 months and am refreshing to
use it for a complex samples storage project.
Python 3.7, Django 2.2 the LTS fails with too many errors.
Unfortunately I have had this particular error every time I try Django
over the past 18 months which
Dear Jani Tiainen
Thank You very Much for your Reply.
On Sat, May 11, 2019 at 11:28 PM Jani Tiainen wrote:
> Hi,
>
> After all it's just HTML and CSS you need and you can make responsive
> layouting.
>
> One quite common CSS library is Bootstrap that allows rather easily to
> build layouts that
22 matches
Mail list logo