Question though, where should I put the seperate model for Posting? Should
I just make an app called Posts and do everything to do with posts in that?
On Saturday, April 13, 2019 at 1:16:08 AM UTC-4, dtdave wrote:
>
> If you are using django allauth and include this in your settings.py
>
Implement rest framework
On Tue, Apr 16, 2019, 9:20 PM omar ahmed wrote:
> hello ... i have two models "Club" class and "Match" class and it has
> foreign key to Club
> now i want to increment "won" field (or draw or lost) in "Club" class by
> "score_local" and "score_visitor" in "Match" class
Hi Zahid,
It's illegal to share content without having the right permissions and it's
consider as a crime by the law and the company and the author of "python
for every day life" have the right to pursue you. In the other hand you
don't have the permission to collect emails and add users without
https://www.ic3.gov/complaint/default.aspx
Here is the link to file a FBI complaint if anyone else is feeling the same
way aa I am.
Tx
On Tue 16 Apr, 2019, 7:29 PM nm,
wrote:
> Yesterday I received an invitation to a google group from the same user,
> as well as two emails with links to
THANK YOU SO MUCH. Good lord almighty I simply cannot believe that I was
missing just one line.one line kept me from continuing my website.
Again, thank you so much, it has taken no joke about a month to find out
this one little thing. Couldn't find ANYTHING like that in any docs I've
Why not use a boolean field on the model to denote expires? Then if that
field is True, delete the object? I think that would be cheaper and
cleaner, especially with lookups.
Kind regards,
Sithu
*Sent with Shift
I have a model that has a nullable field called expires. If expires is null,
then the record never expires.
I'm performing a delete on the model for any record that has an expires date
that has passed, and I keep getting a TypeError that Model is unhashable. Am I
doing something wrong?
Please leave this forum. Thanks
On Tue 16 Apr, 2019, 10:42 PM Zahid Hossain,
wrote:
> sorry guys, I am a new user. I will remove this. sorry for disturbance.
>
> On Apr 16, 2019 7:59 PM, "nm"
> wrote:
>
>> Yesterday I received an invitation to a google group from the same user,
>> as well as
hello ... i have two models "Club" class and "Match" class and it has
foreign key to Club
now i want to increment "won" field (or draw or lost) in "Club" class by
"score_local" and "score_visitor" in "Match" class ..
how can i do this
class Club(models.Model):
name =
Thanks. It's working.
On Tue, 16 Apr 2019, 13:22 Jani Tiainen, wrote:
> Hi.
>
> It is .FILES all in capital. Not just first letter.
>
>
> ti 16. huhtik. 2019 klo 10.05 Soumen Khatua
> kirjoitti:
>
>> Hi Folks,
>> I'm getting this error 'WSGIRequest' object has no attribute 'Files' and
>> i
I wonder if this is a case you want to catch and *not* warn about.
In my case, I'm doing a:
haves =
MyModel.objects.filter(foreign_relationship=4).order_by('foreign_relationship__value',
'common_key')
havenots = MyModel.objects.exclude(id__in=haves).order_by('common_key')
query =
sorry guys, I am a new user. I will remove this. sorry for disturbance.
On Apr 16, 2019 7:59 PM, "nm" wrote:
> Yesterday I received an invitation to a google group from the same user,
> as well as two emails with links to purportedly educational videos (I
> haven't opened those links though).
Yesterday I received an invitation to a google group from the same user, as
well as two emails with links to purportedly educational videos (I haven't
opened those links though). The entire list of recipients was visible, and
I got pretty pissed that my email was there too.
On Tuesday, 16
Hi Brian,
On Tue, 16 Apr 2019 at 12:21, Brian Mcnabola wrote:
>
> Im looking for a Django reporting library something similar to Django report
> builder ?
Can you clarify what you are looking for that Django report builder
does not provide? For example, we use JasperReports wrapped for use
hi Mayur,
What does this application do?
Milind
On Tue, Apr 16, 2019 at 10:16 AM Mayur Bagul wrote:
> hello jani,
>
> thanks for hep. i read django doc and this is the example from it but
> there is no information provided for why these parameters are used.
> but thanks for your information it
Im looking for a Django reporting library something similar to Django
report builder ?
--
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
Beware: This opened a popup and I got a warning from my AV s/w.
Admin: Kindly bump this user off the forum. Also, if others observe a
similar behaviour of the link, kindly report this guy to the FBI.
On Mon, Apr 15, 2019 at 11:59 PM Zahid Hossain
wrote:
> please subscribe o get more paid
We've currently running django 1.8.x and Celery 3.1.19 in production and
our code base is getting a little too big. To fix this, our plan is to pull
out Celery tasks into a separate repo and docker image.
As we do this, it'd be nice if we could upgrade both Django and Celery to
their latest
Hi Aakash,
Aakash Baranwal – Tue, 16. April 2019 13:12
> Hi Kasper,
> Thanks a lot for your help. I did as you suggested.
> This is the code now:
> def video_detail_view(request, pk=None): # pk == idobj =
> get_object_or_404(Video, pk=pk)print(obj)context = {"object": obj}return
>
Hi Aakash,
Aakash Baranwal – Tue, 16. April 2019 11:12
> The error I am getting is:int() argument must be a string, a bytes-like object
> or a number not 'builtin_function_or_method'.
>
> The error is in views.py file in obj = str(Video.objects.get(id=id)).
You need to pass an id argument to
Hi Everybody,
Kindly help me out.
My views.py file is:
def video_detail_view(request):
obj = str(Video.objects.get(id=id))
print(obj)
context = {
"object": obj
}
return render(request, "deploy/list_view.html", context)
def video_list_view(request):
queryset = Video.objects.all()
https://github.com/shubham1507/school
error
(School) snj@snj-ThinkPad-T440p:~/School$ python manage.py createsuperuser
Username: shubham311507
Traceback (most recent call last):
File
"/home/snj/.virtualenvs/School/lib/python3.5/site-packages/django/db/backends/utils.py",
line 84, in _execute
Send me the snap
On Tue, 16 Apr 2019, 13:38 Shubham Joshi, wrote:
> same error still
>
> On Tue, Apr 16, 2019 at 1:36 PM Vivek Jha wrote:
>
>> Delete all the old migrations and remigrate
>>
>> On Tue, 16 Apr 2019, 13:34 Shubham Joshi, wrote:
>>
>>> Hello Vivek can you help me in this
>>>
>>>
same error still
On Tue, Apr 16, 2019 at 1:36 PM Vivek Jha wrote:
> Delete all the old migrations and remigrate
>
> On Tue, 16 Apr 2019, 13:34 Shubham Joshi, wrote:
>
>> Hello Vivek can you help me in this
>>
>> I am referring
>>
Delete all the old migrations and remigrate
On Tue, 16 Apr 2019, 13:34 Shubham Joshi, wrote:
> Hello Vivek can you help me in this
>
> I am referring
> https://wsvincent.com/django-rest-framework-user-authentication-tutorial/
>
> changed app name 'users' to accounts
>
>
> got an errror
>
>
>
Hello Vivek can you help me in this
I am referring
https://wsvincent.com/django-rest-framework-user-authentication-tutorial/
changed app name 'users' to accounts
got an errror
School) snj@snj-ThinkPad-T440p:~/School$ python manage.py createsuperuser
Username: shubham311507
Traceback (most
Hi.
It is .FILES all in capital. Not just first letter.
ti 16. huhtik. 2019 klo 10.05 Soumen Khatua
kirjoitti:
> Hi Folks,
> I'm getting this error 'WSGIRequest' object has no attribute 'Files' and
> i didn't get proper solution in google also. I alredaty took
>
Welcome
On Tue, 16 Apr 2019, 13:03 Shubham Joshi, wrote:
> Ya it worked for me thanks
>
> On Tuesday, April 16, 2019 at 12:59:10 PM UTC+5:30, Vivek Jha wrote:
>>
>> python manage.py migrate --fake
>>
>> On Tue, 16 Apr 2019, 12:57 Shubham Joshi, wrote:
>>
>>>
>>>
Ya it worked for me thanks
On Tuesday, April 16, 2019 at 12:59:10 PM UTC+5:30, Vivek Jha wrote:
>
> python manage.py migrate --fake
>
> On Tue, 16 Apr 2019, 12:57 Shubham Joshi, > wrote:
>
>>
>> ---error--
>>
>>
python manage.py migrate --fake
On Tue, 16 Apr 2019, 12:57 Shubham Joshi, wrote:
>
> ---error--
>
> (School) snj@snj-ThinkPad-T440p:~/School$ python manage.py
> migrateOperations to perform:
> Apply all
---error--
(School) snj@snj-ThinkPad-T440p:~/School$ python manage.py
migrateOperations to perform:
Apply all migrations: admin, auth, contenttypes, sessions
Running migrations:
Applying
Hi Folks,
I'm getting this error 'WSGIRequest' object has no attribute 'Files' and i
didn't get proper solution in google also. I alredaty took
*enctype="multipart/form-data"* in my forms tag. Here is my code snippet
please provide me the solution it's urgent.
Thank you in advance.
*.html*
32 matches
Mail list logo