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
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
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
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
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
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
>
> 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
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:
>
>
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
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
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
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
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
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
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 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
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
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
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
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
-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
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
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
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=
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?
--~--~-~--~-
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
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
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
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
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
-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
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
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
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
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
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
36 matches
Mail list logo