Package versions used:
Python: 3.6.6
Django: 2.1.1
Channels: 2.1.3
Channels_redis: 2.3.0
Thanks & Regards,
Manjunath
--
You received this message because you are subscribed to the Google Groups
"Django users" group.
To unsubscribe from this group and stop receiving emails fro
ings I need to do to setup the Socket layer?
Kindly help me in this issue.
Package versions used:
Python - 3.6.6
Django - 2.1.1
Channels - 2.1.3
Channels_redis - 2.3.0
Hope to get help for this issue..
Thanks & Regards,
Manjunath
--
You received this message because you are subscribed to th
eck with them for more.
>
> Andrew
>
> On Wed, 3 Oct 2018 at 23:43, Manjunath >
> wrote:
>
>> Hi all,
>> I have developed a simple app using django channels.
>>
>> I would like to deploy it on a linux hosting provider (Currently I have
>>
The issue is with your urls.py file.
Since the first pattern you have given is empty, it will match all
requests. Interchange lines 4 & 5 and your issue will be resolved.
On Friday, October 5, 2018 at 2:17:27 AM UTC+5:30, Gear Crew wrote:
>
>
> when you click on any link doesn't go to music/1/
How are you deciding which post is pinned?
The unique approach might not do any good to you.
A simple solution is to update the pinned values of each post to False &
setting the required post pinned value to True when you are setting a
pinned post.
There may be better solutions, but I hope this m
Seems like you are not passing the argument along with the url.
Please share your template file to verify.
On Saturday, October 6, 2018 at 7:06:08 AM UTC+5:30, victor jack wrote:
>
> Hello guys, i am in dire need of any django user's knowledge, i have this
> issue that has been bugging me literal
Seems like you have not performed migrations after adding the new fields.
execute these commands & then run your server.
python manage.py makemigrations
python manage.py migrate
On Sunday, October 7, 2018 at 3:33:54 AM UTC+5:30, Bleron Uka wrote:
>
> Hi,
> My database has data there and i
Hi Victor,
Are you sure book.author.pk has value?
can you send the model definition of Book & Author to verify?
Or you can verify yourself by using django Shell.
On Tuesday, October 9, 2018 at 12:52:28 AM UTC+5:30, victor jack wrote:
>
>
> Thanks Manjunath, i will post two screen
Please Send the screenshot of your 404 page.
On Tuesday, October 9, 2018 at 10:53:07 AM UTC+5:30, Pradeep Singh wrote:
>
> please help me ...i am always getting django 404 error .how to fix it
>
> On Mon, 8 Oct 2018 at 22:17, Manjunath >
> wrote:
>
>>
eep Singh >>>>> > wrote:
>>>>>>
>>>>>>> what is wrong with my...code...and setting please tell me
>>>>>>>
>>>>>>> On Tue, 9 Oct 2018 at 10:52, Pradeep Singh >>>>>> > wrote:
>>
No issues.
So, is the issue resolved now?
On Tuesday, October 9, 2018 at 10:51:13 AM UTC+5:30, victor jack wrote:
>
> Will check it out . Thanks for your input very much appreciated
>
> On Tue, 9 Oct 2018 6:17 AM Manjunath, >
> wrote:
>
>> Hi Victor,
>> Are
No issues..
Glad I was of some help. :)
On Wednesday, October 10, 2018 at 12:07:24 AM UTC+5:30, victor jack wrote:
>
> Manjunath thanks i have fixed the bug in my code , the problem was in the
> author_detail page. THanks so much for your time , i really appreciate your
> help
>
Please provide snapshot of your template file as well as project's urls.py
file.
On Friday, October 12, 2018 at 11:14:22 AM UTC+5:30, Robert CR wrote:
>
> I am making a blog app for my django website. Right now i'm making a
> comment feature, but when i try to view a post and the posts comments
Try adding for action to your add_comment url then submit the form.
I guess currently form is getting submitted in the same page.
On Friday, October 12, 2018 at 12:00:03 PM UTC+5:30, Robert CR wrote:
>
> here is the template file.
>
> *add_comment.html*
>
>
>
> *{% extends "blog/base.html" %}{% l
I think you have a space in your url path.
replace path(' ', views.index, name='index') with path('', views.index,
name='index') in your polls/urls.py and check the result.
On Friday, October 19, 2018 at 4:59:10 PM UTC+5:30, Bugs Bunny wrote:
>
> Greetings django team, I'm a newbie with this fra
te:
>
>> first , no spaces are allowed in URLS
>> as Manjunath said
>> replace path(' ', views.index, name='index') with path('', views.index,
>> name='index') in your polls/urls.py and check the result.
>>
>> second ,
You are welcome.
I suggest you go through the documentation & guide carefully and work
accordingly..
I learned the same way!!
On Wednesday, October 24, 2018 at 8:17:06 AM UTC+5:30, Bugs Bunny wrote:
>
> i use this and work, thanks (y)
>
> On Tue, Oct 23, 2018 at 1:04 AM Ma
I think one of the numeric values you are passing is an empty string.
Django is trying to cast it to int but failing to do so.
Best solution would be to print each values before save() call & you will
know which is the error causing column..
Hope it helps!!
On Sunday, October 28, 2018 at 8:35:
Remove declaration of first_name, last_name & email in Form calss.
class SignUpForm(UserCreationForm):
class meta():
model = User
fields = ('username', 'first_name', 'last_name', 'email',
'password1', 'password2', )
And while Saving the form, follow below steps.
if form.is_v
you can easily use java script set_timeout method for redirection after
certain time.
Elaborate your second question. Provide relevant screenshots if possible.
On Friday, November 2, 2018 at 5:11:40 PM UTC+5:30, praveen bhuvi wrote:
>
> Now my 1st problem is in views.py i have a function , now i
=email&utm_source=footer>
> .
> For more options, visit https://groups.google.com/d/optout.
>
--
Thanks & Regards,
Manjunath
--
You received this message because you are subscribed to the Google Groups
"Django users" group.
To unsubscribe from this group and stop receiving emails
I think regular expression would be a better option for your requirements.
If you provide some sample resume docs, we can help better.
On Tuesday, November 13, 2018 at 7:04:06 AM UTC+5:30, swathi2801 Yadhav
wrote:
>
> Hi everyone, there is a project given to us to develop an application
> I need
Also,
It would be better if you rearrange your patterns.
urlpatterns=[
path('login/', LoginView.as_view(template_name='accounts/login.html'),
name='login'),
re_path(r'^$',views.home, name='home'),
]
Since your path *r'^$' *matches all request, it is better to keep this at
end of your list.
On
There are multiple options to maintain different kind of users in Django.
When I came across this situation, I created a custom User class by
inheriting AbstractBaseUser class and kept a positive integer field to
maintain the type of user. Then I created Sub-classes Manager & Employee
classes.
HELLO , I AM NOT GETTING HOW TO INSTAL THE DJANGO AND PYTHAN ON OUR MACHINE.
--
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...@googlegroup
Just restart the python interactive Shell... that should solve your problem
Regards,
Manju
On Monday, May 16, 2011 5:32:41 AM UTC-7, maaz muqri wrote:
>
> Hi,
>
> class Poll(models.Model):
> # ...
> def __unicode__(self):
> return self.que
26 matches
Mail list logo