Django Guide

2023-03-05 Thread Abdullah Niaz
Hello, My Name is Abdullah. I am pursuing my computer science degree & I am in the second semester. I learned Python At my school. Now, I want to learn Django. Can Anyone guide me -- You received this message because you are subscribed to the Google Groups "Django users&q

Active Django Communities

2022-08-10 Thread Abdullah Nafees
Hey all, I am a new Django and Django REST user. I was wondering what and how many official user communities exist for Django as there is the Python Discord server which is pretty active. Thank you. -- You received this message because you are subscribed to the Google Groups "Django users" g

Selamlar

2020-07-23 Thread Abdullah ÇINAR
Aranızda Türk var mıdır ? Birkaç sorum olacak. -- 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 view this discussio

Re: Media files and download url

2020-05-19 Thread Riska Kurniyanto Abdullah
or use any of the information in it or any attachments. On Thu, May 14, 2020 at 9:20 PM Parampal Singh wrote: > More details please 😊 > > On Tue, May 12, 2020, 12:52 AM Riska Kurniyanto Abdullah < > alternative@gmail.com> wrote: > >> Amazon S3 have simple solution

Re: Media files and download url

2020-05-11 Thread Riska Kurniyanto Abdullah
Amazon S3 have simple solution for that topic On Tue, May 12, 2020 at 1:27 AM Parampal Singh wrote: > Access media vedio files only when user logged in > > Temporary file download url every time change > > > Any suggestions on these topics > > -- > You received this message because you are subs

Re: django celery and mqtt

2020-05-11 Thread Riska Kurniyanto Abdullah
edi 9 mai 2020 01:34:17 UTC, Riska Kurniyanto Abdullah a écrit : > > Dear all django users, > > > > > > 1. I want to attach my mqtt client script in django apps, where should I > put the script to launch them so the script can run as long task running. > > 2. In mqtt

Re: Anyone have similar issue of POST 2 times while importing any simple models using django-import-export package

2020-05-10 Thread Riska Kurniyanto Abdullah
> > This issue so much more familiar in stackoverflow it is cause of > postgresql behaviour, visit here > https://github.com/django-import-export/django-import-export/issues/560 -- You received this message because you are subscribed to the Google Groups "Django users" group. To unsubscribe from

Re: django celery and mqtt

2020-05-10 Thread Riska Kurniyanto Abdullah
method? or is it any something best practice that i missed?? On Sat, May 9, 2020 at 9:50 AM Motaz Hejaze wrote: > please can you put your question in a more clearer way ? > > On Sat, May 9, 2020 at 3:33 AM Riska Kurniyanto Abdullah < > alternative@gmail.com> wrote: > >

django celery and mqtt

2020-05-08 Thread Riska Kurniyanto Abdullah
Dear all django users, 1. I want to attach my mqtt client script in django apps, where should I put the script to launch them so the script can run as long task running. 2. In mqtt client i have task to save the message in database? how to make this task possible to handle with celery. Thanks in

Re: d

2020-04-16 Thread Muhammad Abdullah Nabeel
2020 at 3:56 PM Kasper Laudrup > wrote: > >> Hi Muhammed, >> >> On 24/02/2020 13.22, Muhammad Abdullah Nabeel wrote: >> > I want to share file as a software that can be installed. not >> > necessarily it should be a website . like it can be given to ano

Re: d

2020-04-16 Thread Muhammad Abdullah Nabeel
thank you, i got this On Mon, Feb 24, 2020 at 6:56 PM Kasper Laudrup wrote: > Hi Muhammed, > > On 24/02/2020 13.22, Muhammad Abdullah Nabeel wrote: > > I want to share file as a software that can be installed. not > > necessarily it should be a website . like it ca

Re: d

2020-02-24 Thread Muhammad Abdullah Nabeel
the other computer has not downloaded Django or python from the internet On Mon, Feb 24, 2020 at 4:28 PM Motaz Hejaze wrote: > You want to make a file sharing website ?? > > On Mon, 24 Feb 2020, 1:22 pm Muhammad Abdullah Nabeel, < > muhammadabdullahnab...@gmail.com> wrote: &g

d

2020-02-24 Thread Muhammad Abdullah Nabeel
I have made few games and data storing and searching softwares using tkinter turtle numpy pygame math random etc modules but I still can not made a system in which I can make another person give a file and the other person can install my software in his computer. Can I do this using Django mod

how h can use DICOM files through Django app?

2020-01-31 Thread Abdullah Shaker
i am tring to make a form through Django. how can i use DICOM file ? i have a form and i want to upload DICOM file but Django does not support file field in form so how can i use DICOM ? is there is a way or library ? -- You received this message because you are subscribed to the Google Groups

Extends Django LoginRequireMixin

2019-08-06 Thread Riska Kurniyanto Abdullah
I have to check many view class and give them access if they had a user 'staff field' true. Is it possible if I extend a class from LoginRequireMixin to do that?? How should I proceed? So appreciate if any can give sample... Thanks. -- You received this message because you are subscribed to the

Please help me ,my code is not working .I Am using Django 2

2018-11-10 Thread Abdullah Al Maruf
please some one solve this . I am new at Django. In Django 1 url(r'^(?P[0-9]+)/$', views.detail, name='detail'), and Now How i convert this in Django 2? -- You received this message because you are subscribed to the Google Groups "Django users" group. To unsubscribe from this group and sto

Re: How to fix i18n fallback , from variant xx-YY to xx and from xx to en the translatino is not available.

2017-05-08 Thread Abdullah Sh.
Well as far I can test, Django i18n does supports fall-back 'xx-YY' to 'xx' then to default ('en' in my case) but only for 'Accept-Language' user agent header. It does not do same for URL language switch. Here is the solution I could come up with: from django.views.generic import RedirectV

How to fix i18n fallback , from variant xx-YY to xx and from xx to en the translatino is not available.

2017-05-06 Thread Abdullah Sh.
Well, official documentation says clearly it should fall-back (ex: fr-fr to fr then to en) but my case raises 404 error. Source: https://django.readthedocs.io/en/1.5.x/topics/i18n/translation.html If a base language is available but the sublanguage specified is not, > Django uses the base lan

Re: Timezone import error

2015-11-30 Thread ahmed . abdullah . bh
Hi kbnk, monoBOT, Thank you both, your answers on the spot, I have tried using the filter and it's working, I may need to delete one of the records to get this sorted, thanks again. >>> Question.objects.filter(pub_date__year=current_year) [, ] Best regards, Ahmed Abdullah

Timezone import error

2015-11-29 Thread ahmed . abdullah . bh
n35\lib\site-packages\django\db\models\query.py", line 338, in get (self.model._meta.object_name, num) polls.models.MultipleObjectsReturned: get() returned more than one Question -- it returned 2! >>> Best regards, Ahmed Abdullah -- You received this message b

Re: Models not being updated when accessed by multiple processes

2010-11-26 Thread Iqbal Abdullah
-1598932/Atomic-Increment-Counter-Django Thanks JeeyoungKim for pointing to the right direction. On 11月23日, 午後5:52, Iqbal Abdullah wrote: > Since we only run the application on a single server we're using file > based locking; fail_to_get_lock() and release_lock() tries to create a > file

Re: Models not being updated when accessed by multiple processes

2010-11-23 Thread Iqbal Abdullah
e > F() object and update() methods to update the database. > > I have an example, here > > http://pastebin.com/qp4ExWC2 > > On Nov 19, 4:30 pm, Iqbal Abdullah wrote: > > > Hi Steve, > > > Ops, yes, I forgot to include the object.save() in the pseudo code > &g

Re: Models not being updated when accessed by multiple processes

2010-11-19 Thread Iqbal Abdullah
t the object so we can have the latest state 6 object.value = object.value - 1 7 object.save() 8 print object.value# returns 4 9 object.release_lock() On 11月20日, 午前7:39, Steve Holden wrote: > On 11/19/2010 5:35 PM, Iqbal Abdullah wrote: > > > Hi, > > > This might be a

Models not being updated when accessed by multiple processes

2010-11-19 Thread Iqbal Abdullah
Hi, This might be a gotcha on the models side, but I would like clarification and guidance on how to write the code better concerning multiple process accessing the same data via models. I have a backend script that runs the following code in multiple processes: 1 object = MyModel.object.get(id=

Does the auto_now attribute do updates even if the same data is inserted?

2009-09-28 Thread Iqbal Abdullah
Hi guys, I have a quick question: I have set auto_now=True for one of my DateTimeFields. Lets say I have a model object like so: >> a = MyModel.objects.get(id="10") >> print a.id >> "10" >> a.id = "10" >> a.save() will this cause my DateTimeField to change it's timestamp? --~--~-~--~-

Is this a db caching issue or a sessions issue?

2009-05-21 Thread Iqbal Abdullah
Hi guys, I'm trying to figure out if what is going on with the pages i'm building and how to fix it. I have an object of User which I put into the sessions: class User: def _get_points(self): return UserModel.point.current_value def _set_points(self, value): pass points = property

Re: session through redirects

2009-05-12 Thread Iqbal Abdullah
est object not being passed around for context processing. On May 13, 12:12 am, George Song wrote: > On 5/12/2009 5:45 AM, Iqbal Abdullah wrote: > > > > > I'm confused on how to get data in request.session if a certain view > > redirects the user using HttpRespon

session through redirects

2009-05-12 Thread Iqbal Abdullah
Hi guys, I'm confused on how to get data in request.session if a certain view redirects the user using HttpResponseRedirect() A sample code: def view_start(request): try: Member(id) except Exception, e: # redirect to registration page if this id is not re

Re: UnpickleableError when sessions are saved

2009-04-13 Thread Iqbal Abdullah
Thanks Alex and matehat, Concerning this issue of mine, I've decided to remove the images and save the objects without the ImagingCore in them, which fixed the whole thing. On a different note, other than actively testing data which we want to put into sessions before we design the application f

UnpickleableError when sessions are saved

2009-04-11 Thread Iqbal Abdullah
Hi guys, In one of our views, we're getting the error below: Traceback (most recent call last): File "/usr/lib/python2.5/site-packages/django/core/servers/ basehttp.py", line 278, in run self.result = application(self.environ, self.start_response) File "/usr/lib/python2.5/site-packages/d

Re: Creating new records via models

2009-04-07 Thread Iqbal Abdullah
-0700, Iqbal Abdullah wrote: > > Hi guys, > > > I'm a bit confused on inserting new data into the db via the models, > > i.e in the > > docshttp://docs.djangoproject.com/en/dev/topics/db/queries/#topics-db-que... > > a given example to add new data into a table

Creating new records via models

2009-04-07 Thread Iqbal Abdullah
Hi guys, I'm a bit confused on inserting new data into the db via the models, i.e in the docs http://docs.djangoproject.com/en/dev/topics/db/queries/#topics-db-queries a given example to add new data into a table is: from mysite.blog.models import Blog b = Blog(name='Beatles Blog', tagline='All

Re: Sessions being written twice?

2009-01-21 Thread Iqbal Abdullah
009-01-21 at 04:11 -0800, Iqbal Abdullah wrote: > > Hi guys, > > > I need to support some browsers which doesn't handle cookies, so I > > have followed the snippet here to manually get session ids from the > > request: > >http://www.djangosnippets.org/snippets

Sessions being written twice?

2009-01-21 Thread Iqbal Abdullah
Hi guys, I need to support some browsers which doesn't handle cookies, so I have followed the snippet here to manually get session ids from the request: http://www.djangosnippets.org/snippets/460/ and positioned the new middleware before the SessionMiddleware in the settings.py file. I did an e

Re: Deleting m2m relationship without deleting the data

2009-01-20 Thread Iqbal Abdullah
Hi Malcolm, Thanks for the tip! It works like I wanted it to. Thanks! On Jan 20, 4:44 pm, Malcolm Tredinnick wrote: > On Mon, 2009-01-19 at 22:38 -0800, I.A wrote: > > Hi guys, > > I apologize for the confusing title. > > > I'm still confused on using the models in a m2m relationship. Suppose

MAKE EASY MONEY

2006-07-12 Thread Abdullah
http://www.superteklif.com/index.asp?ref=120391 http://www.superteklif.com/index.asp?ref=120391 --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Django users" group. To post to this group, send email to django-users