select records from a model in another django app

2019-07-30 Thread Perceval Maturure
i want to display  model data using a class based view from another model 
in a different app.any idead

-- 
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 discussion on the web visit 
https://groups.google.com/d/msgid/django-users/5529da22-0981-43ca-a98a-d13edcc5ba94%40googlegroups.com.


Re: select records from a model in another django app

2019-07-30 Thread Nitin Kumar
Import another app model.

On Tue, 30 Jul, 2019, 4:28 PM Perceval Maturure, 
wrote:

> i want to display  model data using a class based view from another model
> in a different app.any idead
>
> --
> 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 discussion on the web visit
> https://groups.google.com/d/msgid/django-users/5529da22-0981-43ca-a98a-d13edcc5ba94%40googlegroups.com
> 
> .
>

-- 
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 discussion on the web visit 
https://groups.google.com/d/msgid/django-users/CAKzNicG9paZfyTWFqMD5hNxwrhT-FH1rKFqxA24oj%3DMprzQZtw%40mail.gmail.com.


Re: select records from a model in another django app

2019-07-30 Thread John Bagiliko
Import the model from the app of choice and use it as usual.

On Tue, Jul 30, 2019, 11:32 AM Nitin Kumar  wrote:

> Import another app model.
>
> On Tue, 30 Jul, 2019, 4:28 PM Perceval Maturure, 
> wrote:
>
>> i want to display  model data using a class based view from another model
>> in a different app.any idead
>>
>> --
>> 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 discussion on the web visit
>> https://groups.google.com/d/msgid/django-users/5529da22-0981-43ca-a98a-d13edcc5ba94%40googlegroups.com
>> 
>> .
>>
> --
> 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 discussion on the web visit
> https://groups.google.com/d/msgid/django-users/CAKzNicG9paZfyTWFqMD5hNxwrhT-FH1rKFqxA24oj%3DMprzQZtw%40mail.gmail.com
> 
> .
>

-- 
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 discussion on the web visit 
https://groups.google.com/d/msgid/django-users/CAC26BE0uRUNeVi9wjC%2B8R3N9X2fA8_hswt%3DStt-x6jTbLqworw%40mail.gmail.com.


Re: select records from a model in another django app

2019-07-30 Thread John Bagiliko
I stand to be corrected

On Tue, Jul 30, 2019, 11:53 AM John Bagiliko 
wrote:

> Import the model from the app of choice and use it as usual.
>
> On Tue, Jul 30, 2019, 11:32 AM Nitin Kumar 
> wrote:
>
>> Import another app model.
>>
>> On Tue, 30 Jul, 2019, 4:28 PM Perceval Maturure, 
>> wrote:
>>
>>> i want to display  model data using a class based view from another
>>> model in a different app.any idead
>>>
>>> --
>>> 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 discussion on the web visit
>>> https://groups.google.com/d/msgid/django-users/5529da22-0981-43ca-a98a-d13edcc5ba94%40googlegroups.com
>>> 
>>> .
>>>
>> --
>> 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 discussion on the web visit
>> https://groups.google.com/d/msgid/django-users/CAKzNicG9paZfyTWFqMD5hNxwrhT-FH1rKFqxA24oj%3DMprzQZtw%40mail.gmail.com
>> 
>> .
>>
>

-- 
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 discussion on the web visit 
https://groups.google.com/d/msgid/django-users/CAC26BE218VXdczBfrQD4_CWEf-PyTUML-DgjBoTwdH%3DSmAaNkA%40mail.gmail.com.


Re: Only for specific region

2019-07-30 Thread Sam W


Use IP2LOCATION to detect the location of the user IP address then you can 
show pages based on it

On Monday, July 29, 2019 at 8:07:07 PM UTC-5, Sebastian Jung wrote:
>
> Hello,
>
> I want that my Website only German user can Open it and another User from 
> Others Region a template Show, that they Not live in Germany.
>
> Regards
>
>

-- 
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 discussion on the web visit 
https://groups.google.com/d/msgid/django-users/0657908b-60ae-46ee-b8c1-954b6e77e4f0%40googlegroups.com.


Re:

2019-07-30 Thread Suraj Thapa FC
I'm stuck.. If you know anything in the future let me know

On Tue, 30 Jul, 2019, 12:10 PM Aldian Fazrihady,  wrote:

> I see. As Jani has implied, there is currently no idiomatic way to do it.
> Here is one way to do it:
> https://stackoverflow.com/questions/11529216/django-multiple-file-field
>
> The official way is probably still in progress:
> https://code.djangoproject.com/ticket/28554
>
> On Tue, Jul 30, 2019 at 12:51 PM Suraj Thapa FC 
> wrote:
>
>> Actually I'm asking to store multiple files in a single model field and
>> handling each of them
>>
>> On Mon, 29 Jul, 2019, 9:05 PM Jani Tiainen,  wrote:
>>
>>> My mistake.
>>>
>>> I thuought that OP was asking about uploading and storing multiple files
>>> to model.
>>>
>>> First part (uploading) is easy since docs do cover that.
>>>
>>> Second part is tricky since it requires data structure capable of
>>> storing multiple files and there are so many ways to do that.
>>>
>>>
>>>
>>> ma 29. heinäk. 2019 klo 18.22 Aldian Fazrihady 
>>> kirjoitti:
>>>
 Multiple file uploads already there for many years. The link I shared
 above show you how to do that the Django way.

 Regards,

 Aldian Fazrihady
 http://aldianfazrihady.com

 On Mon, 29 Jul 2019, 21:52 Jani Tiainen,  wrote:

> Hi.
>
> TL; DR; you can't.
>
> You though can upload multiple files just fine you just need to handle
> them manually.
>
> Also if you plan to keep files around your models must enable that.
>
>
> ma 29. heinäk. 2019 klo 15.48 Suraj Thapa FC 
> kirjoitti:
>
>> How can I create a file field which one can upload Multiple files in
>> 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 django-users+unsubscr...@googlegroups.com.
>> To view this discussion on the web visit
>> https://groups.google.com/d/msgid/django-users/CAPjsHcE%2BMSVGHiQ0bx4z_2pxMMiE57FD44kFn4hE%3DsSLaj66kw%40mail.gmail.com
>> 
>> .
>>
> --
> 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 discussion on the web visit
> https://groups.google.com/d/msgid/django-users/CAHn91of_AD_METU8A3J4qhHo_E93Qd4hJyS73uRQh43GpRsAgg%40mail.gmail.com
> 
> .
>
 --
 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 discussion on the web visit
 https://groups.google.com/d/msgid/django-users/CAN7EoAYAh%2Bou8fyzcBhyHn25SDx7%3D3Vw%2BY7OGY2%2B%3D3fjk-C0kg%40mail.gmail.com
 
 .

 --
>>> 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 discussion on the web visit
>>> https://groups.google.com/d/msgid/django-users/CAHn91odErG3F4HGUCBFFh6oQdmg3CEDC2N3gCLNUUeUPrm1bbw%40mail.gmail.com
>>> 
>>> .
>>>
>> --
>> 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 discussion on the web visit
>> https://groups.google.com/d/msgid/django-users/CAPjsHcHmsSHpz5CQ2%3DiUaBBEu7YBu-x2yQq6DFkD5jN2ZRM2rg%40mail.gmail.com
>> 
>> .
>>
>
>
> --
> Regards,
>
> Aldian Fazrihady
> http://aldianfazrihady.com
>
> --
> 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 discussion on t

Recreating SQL query in ORM

2019-07-30 Thread Jonathan Spicer
Hello,

I have an sql query that I would like to recreate using the ORM. Would it 
be possible for someone to give me some pointers.

select count(*) as total,

concat(loading_code,code1_code,code2_code,code3_code,code4_code) as seq,

concat(loading_id,',',code1_id,',',code2_id,',',code3_id,',',code4_id) as 
ids
from FullMatches where job_id = %s group by seq, ids order 
by total desc

Thanks in advance.

Johnny

-- 
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 discussion on the web visit 
https://groups.google.com/d/msgid/django-users/d91ae3ab-f111-4081-8a6e-26fad5a2f782%40googlegroups.com.


Re: Recreating SQL query in ORM

2019-07-30 Thread John Bagiliko
Do you want to make this exact query in Django?
Then use Your_model.objects.raw("the query here except the last semi colon")

On Tue, Jul 30, 2019, 4:56 PM Jonathan Spicer 
wrote:

> Hello,
>
> I have an sql query that I would like to recreate using the ORM. Would it
> be possible for someone to give me some pointers.
>
> select count(*) as total,
>
> concat(loading_code,code1_code,code2_code,code3_code,code4_code) as seq,
>
> concat(loading_id,',',code1_id,',',code2_id,',',code3_id,',',code4_id) as
> ids
> from FullMatches where job_id = %s group by seq, ids order
> by total desc
>
> Thanks in advance.
>
> Johnny
>
> --
> 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 discussion on the web visit
> https://groups.google.com/d/msgid/django-users/d91ae3ab-f111-4081-8a6e-26fad5a2f782%40googlegroups.com
> 
> .
>

-- 
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 discussion on the web visit 
https://groups.google.com/d/msgid/django-users/CAC26BE0cEq4c_UWcO9BKMThazgMEHOpLp3dXiU%2Bb_SNmPgU%2BSg%40mail.gmail.com.


Re: Recreating SQL query in ORM

2019-07-30 Thread Jonathan Spicer
Hello John,

I did try that but it complained about the query not containing the primary 
key.

I did wonder if there are methods within the ORM that can replicate it, the 
tricky part being creating a value to group by from concatenated rows.

On Tuesday, 30 July 2019 19:14:32 UTC+1, John Bagiliko wrote:
>
> Do you want to make this exact query in Django? 
> Then use Your_model.objects.raw("the query here except the last semi 
> colon")
>
> On Tue, Jul 30, 2019, 4:56 PM Jonathan Spicer <
> joh...@spicersolutions.co.uk > wrote:
>
>> Hello,
>>
>> I have an sql query that I would like to recreate using the ORM. Would it 
>> be possible for someone to give me some pointers.
>>
>> select count(*) as total,
>> 
>> concat(loading_code,code1_code,code2_code,code3_code,code4_code) as seq,
>> 
>> concat(loading_id,',',code1_id,',',code2_id,',',code3_id,',',code4_id) as 
>> ids
>> from FullMatches where job_id = %s group by seq, ids 
>> order by total desc
>>
>> Thanks in advance.
>>
>> Johnny
>>
>> -- 
>> 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...@googlegroups.com .
>> To view this discussion on the web visit 
>> https://groups.google.com/d/msgid/django-users/d91ae3ab-f111-4081-8a6e-26fad5a2f782%40googlegroups.com
>>  
>> 
>> .
>>
>

-- 
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 discussion on the web visit 
https://groups.google.com/d/msgid/django-users/edd9244d-a320-4bfc-8859-b7aab1439c37%40googlegroups.com.


Re: select records from a model in another django app

2019-07-30 Thread Perceval Maturure
thanks for the response just to be more elaborative, here is my import code
and view code. same code is working in the archivesuploads app but when i
try to fetch the queryset in the other app it does not return records

#import code
from django.shortcuts import render
from django.shortcuts import render, redirect
from .models import StaffDetail, PeopleDetail, StudentDetail
from django.contrib import messages
from django.http import HttpResponseRedirect
from django.http import HttpResponse
from django.urls import reverse
from django.utils import timezone # to display date and time as per timezone
from django.views.generic import ListView, DetailView, View, TemplateView
from archivesuploads.models import Archivesuploads, Archivetypes, Interests

#view
class ArchivesuploadsListView(ListView):

context_object_name = 'object_list'
queryset = Archivesuploads.objects.all()#[:2] add this to limit the
number of publications
template_name = "person.html"

On Tue, Jul 30, 2019 at 1:54 PM John Bagiliko <
john.bagil...@aims-senegal.org> wrote:

> I stand to be corrected
>
> On Tue, Jul 30, 2019, 11:53 AM John Bagiliko <
> john.bagil...@aims-senegal.org> wrote:
>
>> Import the model from the app of choice and use it as usual.
>>
>> On Tue, Jul 30, 2019, 11:32 AM Nitin Kumar 
>> wrote:
>>
>>> Import another app model.
>>>
>>> On Tue, 30 Jul, 2019, 4:28 PM Perceval Maturure, 
>>> wrote:
>>>
 i want to display  model data using a class based view from another
 model in a different app.any idead

 --
 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 discussion on the web visit
 https://groups.google.com/d/msgid/django-users/5529da22-0981-43ca-a98a-d13edcc5ba94%40googlegroups.com
 
 .

>>> --
>>> 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 discussion on the web visit
>>> https://groups.google.com/d/msgid/django-users/CAKzNicG9paZfyTWFqMD5hNxwrhT-FH1rKFqxA24oj%3DMprzQZtw%40mail.gmail.com
>>> 
>>> .
>>>
>> --
> 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 discussion on the web visit
> https://groups.google.com/d/msgid/django-users/CAC26BE218VXdczBfrQD4_CWEf-PyTUML-DgjBoTwdH%3DSmAaNkA%40mail.gmail.com
> 
> .
>


-- 
*Perceval Maturure*

*083 303 9423*

-- 
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 discussion on the web visit 
https://groups.google.com/d/msgid/django-users/CAFZtZmDqARbLZ%2B-izb0Q0v-84nVLhaPyP_wxB7GSzHjDDp65og%40mail.gmail.com.


Re: Recreating SQL query in ORM

2019-07-30 Thread Yogesh K SonI
yes

On Tuesday, July 30, 2019 at 10:26:56 PM UTC+5:30, Jonathan Spicer wrote:
>
> Hello,
>
> I have an sql query that I would like to recreate using the ORM. Would it 
> be possible for someone to give me some pointers.
>
> select count(*) as total,
> 
> concat(loading_code,code1_code,code2_code,code3_code,code4_code) as seq,
> 
> concat(loading_id,',',code1_id,',',code2_id,',',code3_id,',',code4_id) as 
> ids
> from FullMatches where job_id = %s group by seq, ids order 
> by total desc
>
> Thanks in advance.
>
> Johnny
>

-- 
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 discussion on the web visit 
https://groups.google.com/d/msgid/django-users/a24d2cbe-1230-4ef5-813f-6cc6739ccd0f%40googlegroups.com.


Problem with migrating a fresh db - jango.db.utils.ProgrammingError: column "structure_depth" specified more than once

2019-07-30 Thread Marius Räsener
Hey everybody,

I hope I can somehow give enough informations but also keep it as little as 
possible.

situation is:
- existing migrations deleted to reset migrations (existing migrations seem 
are broken aswell, for a fresh db)
- new migrations with makemigrations
- migrate fails with:

 File 
"/Users/user/.pyenv/versions/systori-python/lib/python3.6/site-packages/django/db/backends/utils.py",
 
line 83, in _execute
return self.cursor.execute(sql)
django.db.utils.ProgrammingError: column "structure_depth" specified more 
than once

Maybe related, this doesn't happen when I run the tests.

And indeed, if I print the sql statement in above mentioned line, I see:

CREATE TABLE "project_project" 

  ("id" serial NOT NULL PRIMARY KEY,

   "name" varchar(512) NOT NULL,

   "description" text NULL,

   "is_template" boolean NOT NULL,

   "structure" varchar(64) NOT NULL,

   "phase" varchar(50) NOT NULL,

   "state" varchar(50) NOT NULL,

   "structure_depth" integer NOT NULL CHECK ("structure_depth" >= 0),

   "structure_depth" integer NOT NULL CHECK ("structure_depth" >= 0)

)


if I print the same when running tests the "structure_depth" isn't present 
twice.


while surfing around with PyCharms nice Debugger I figured that at some 
point there is an object model, which represents the right model, but 
model._meta.fields already has the duplicate of "structure_depth". other 
parts I can find, f.e. something like a ProjectState doesn't have the 
duplicate "structure_depth". This is all way beyond my current 
understanding of Django.


the generated migrations.CreateModel looks correct, "structure_depth" 
appears only once.


the model is, shortened:


class Project(models.Model):

structure = GAEBStructureField(

_("Numbering Structure"), default="01.01.001"

)  # GAEBStructureField adds structure_depth


the custom Field is defined as follows:


class GAEBStructureField(models.Field):

description = _("Pattern for the GAEB hierarchy code structure.")


def __init__(self, *args, **kwargs):

kwargs["max_length"] = 64

super().__init__(*args, **kwargs)


def deconstruct(self):

name, path, args, kwargs = super().deconstruct()

del kwargs["max_length"]

return name, path, args, kwargs


def contribute_to_class(self, cls, name, **kwargs):

super().contribute_to_class(cls, name)


setattr(cls, name, GAEBStructureProperty(name))


depth_name = name + "_depth"

depth_field = models.PositiveIntegerField(editable=False, 
db_index=True)

cls.add_to_class(depth_name, depth_field)

setattr(

cls,

depth_name,

property(

fget=lambda obj: obj.__dict__[depth_name], fset=lambda obj, 
val: None

),

)


so, I'm kind of proud what I've figured but I'm lost in non-linear land - 
at least it feels like it. I can't find the point where model._meta.fields 
actually gets created.


so, hopefully maybe someone can point me in the right direction, give some 
hints or just comment it - all appreciated.


this project is open source, so I could aswell just make a branch and 
upload current state. FYI github.com/systori/systori


thx in advance,

Marius

-- 
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 discussion on the web visit 
https://groups.google.com/d/msgid/django-users/94d6f267-986c-48ee-b141-e91c25ec57da%40googlegroups.com.


Re: select records from a model in another django app

2019-07-30 Thread Marius Räsener
Hey Perceval,

it seems like you have way too many import statements.

something like this should be enough:

from django.views.generic import ListView
from .models import StaffDetail, PeopleDetail, StudentDetail

class ArchivesuploadsListView(ListView):
queryset = Archivesuploads.objects.all()#[:2] add this to limit the 
number of publications  # <- optional
template_name = "person.html" # <- optional

model = StaffDetail # <-not optional

if you want to use a model from a different app, you need to import only 
this specific model:

from otherapp.models import OtherModel

and then just tell the ListView with model = OtherModel you want to use it.

hope it helps

p.s.: please use a different Font! :)

Am Dienstag, 30. Juli 2019 20:58:55 UTC+2 schrieb Perceval Maturure:
>
> thanks for the response just to be more elaborative, here is my import 
> code and view code. same code is working in the archivesuploads app but 
> when i try to fetch the queryset in the other app it does not return records
>
> #import code
> from django.shortcuts import render
> from django.shortcuts import render, redirect
> from .models import StaffDetail, PeopleDetail, StudentDetail
> from django.contrib import messages
> from django.http import HttpResponseRedirect
> from django.http import HttpResponse
> from django.urls import reverse
> from django.utils import timezone # to display date and time as per 
> timezone
> from django.views.generic import ListView, DetailView, View, TemplateView
> from archivesuploads.models import Archivesuploads, Archivetypes, Interests
>
> #view
> class ArchivesuploadsListView(ListView):
>
> context_object_name = 'object_list'
> queryset = Archivesuploads.objects.all()#[:2] add this to limit the 
> number of publications
> template_name = "person.html"
>
> On Tue, Jul 30, 2019 at 1:54 PM John Bagiliko  > wrote:
>
>> I stand to be corrected
>>
>> On Tue, Jul 30, 2019, 11:53 AM John Bagiliko > > wrote:
>>
>>> Import the model from the app of choice and use it as usual.
>>>
>>> On Tue, Jul 30, 2019, 11:32 AM Nitin Kumar >> > wrote:
>>>
 Import another app model. 

 On Tue, 30 Jul, 2019, 4:28 PM Perceval Maturure, >>> > wrote:

> i want to display  model data using a class based view from another 
> model in a different app.any idead
>
> -- 
> 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...@googlegroups.com .
> To view this discussion on the web visit 
> https://groups.google.com/d/msgid/django-users/5529da22-0981-43ca-a98a-d13edcc5ba94%40googlegroups.com
>  
> 
> .
>
 -- 
 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...@googlegroups.com .
 To view this discussion on the web visit 
 https://groups.google.com/d/msgid/django-users/CAKzNicG9paZfyTWFqMD5hNxwrhT-FH1rKFqxA24oj%3DMprzQZtw%40mail.gmail.com
  
 
 .

>>> -- 
>> 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...@googlegroups.com .
>> To view this discussion on the web visit 
>> https://groups.google.com/d/msgid/django-users/CAC26BE218VXdczBfrQD4_CWEf-PyTUML-DgjBoTwdH%3DSmAaNkA%40mail.gmail.com
>>  
>> 
>> .
>>
>
>
> -- 
> *Perceval Maturure*
>
> *083 303 9423*
>

-- 
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 discussion on the web visit 
https://groups.google.com/d/msgid/django-users/1a6af686-3708-4de9-86d8-d106400881ff%40googlegroups.com.


Re:

2019-07-30 Thread Abu Yusuf
Do you try this: https://github.com/Chive/django-multiupload

On Mon, Jul 29, 2019 at 6:48 PM Suraj Thapa FC 
wrote:

> How can I create a file field which one can upload Multiple files in 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 django-users+unsubscr...@googlegroups.com.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/django-users/CAPjsHcE%2BMSVGHiQ0bx4z_2pxMMiE57FD44kFn4hE%3DsSLaj66kw%40mail.gmail.com
> 
> .
>

-- 
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 discussion on the web visit 
https://groups.google.com/d/msgid/django-users/CACNsr28n-xfAw5u56FpM_pPVSQOZd7Nz1dBQjF%2B5AcATWfBMUg%40mail.gmail.com.