Hi.
Definitely it is possible and it isn't even very hard to do.
ke 20. helmik. 2019 klo 12.31 abdouramane mahamane
kirjoitti:
> I'm new in django and i want to use openstreetMap parameters into users
> field city or street.
> This localization will allow me to find them and to measure the dist
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 post to this group, send email to django-users@googlegroups.com.
> Visit this group at https:
ps.google.com/d/msgid/django-users/d1611c69-6ec3-4406-bb65-94e088d34f87%40googlegroups.com?utm_medium=email&utm_source=footer>
> .
> For more options, visit https://groups.google.com/d/optout.
>
--
Jani Tiainen
- Well planned is half done, and a half done has been sufficient before.
his discussion on the web visit
> https://groups.google.com/d/msgid/django-users/4298c126-9392-4691-a40b-51420ebbaea1%40googlegroups.com
> .
> For more options, visit https://groups.google.com/d/optout.
>
--
Jani Tiainen
- Well planned is half done, and a half done has been sufficient b
s.google.com/d/msgid/django-users/c98acb13-6845-4fc2-856c-cc11757d40ab%40googlegroups.com
> <https://groups.google.com/d/msgid/django-users/c98acb13-6845-4fc2-856c-cc11757d40ab%40googlegroups.com?utm_medium=email&utm_source=footer>
> .
> For more options, visit https://
Hi.
Usually error means that client (browser) terminated connection before
request was completely handled and returned to client.
ma 11. maalisk. 2019 klo 17.58 Alex Snyder
kirjoitti:
> Hello,
> I'm working on a webhook receiver and all was working fine the other day.
> Now I'm receiving con
ch 11, 2019 at 2:17:22 PM UTC-5, Jani Tiainen wrote:
>>
>> Hi.
>>
>> Usually error means that client (browser) terminated connection before
>> request was completely handled and returned to client.
>>
>>
>>
>>
>> ma 11. maalisk. 2019 klo 17
ils from it, send an
> email to django-users+unsubscr...@googlegroups.com.
> To post to this group, send email to django-users@googlegroups.com.
> Visit this group at https://groups.google.com/group/django-users.
> To view this discussion on the web visit
> https://groups.google.com/d
db00d%40googlegroups.com?utm_medium=email&utm_source=footer>
> .
> For more options, visit https://groups.google.com/d/optout.
>
--
Jani Tiainen
Software wizard
https://blog.jani.tiainen.cc/
Always open for short term jobs or contracts to work with Django.
--
You received this me
tps://groups.google.com/d/msgid/django-users/3a45a72c-714d-c003-e237-417c899c430e%40dewhirst.com.au
> <https://groups.google.com/d/msgid/django-users/3a45a72c-714d-c003-e237-417c899c430e%40dewhirst.com.au?utm_medium=email&utm_source=footer>
> .
> For more options, visit https://gro
Hi.
You should deliver migrations as part of your product and run them on
production. Just like you do with collectstatic command you run migrate
command.
Eventually you will have data migrations and those you can't recreate on
production. Also if you recreate migrations on production again there
Hi.
get_object_or_404 works so that first argument is the model class you want
to query. Rest of the parameters are filters that mus return a single
object.
You can find this information from the Django docs as well.
ma 15. huhtik. 2019 klo 7.23 Mayur Bagul kirjoitti:
> how passing Question a
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
> *enctype="multipart/form-data"*
Hi.
I've had pretty good success with wkthtmltopdf.
pe 19. huhtik. 2019 klo 21.11 Irfan Khan kirjoitti:
> hi,
> i stucked in converting the pdf file from html
> can an one suggest me even any other possibility instead of using python
> library
>
> --
> You received this message because you are
t;https://groups.google.com/d/msgid/django-users/0fd23be8-b2d7-437e-b3e7-05c1f5bcdf4e%40googlegroups.com?utm_medium=email&utm_source=footer>
> .
> For more options, visit https://groups.google.com/d/optout.
>
--
Jani Tiainen
Software wizard
https://blog.jani.tiainen.cc/
Always
visit
> https://groups.google.com/d/msgid/django-users/CAA%3Diw_9BrOEh4Ss3X0g_EnaFyp1XTXij5DoZvva_XxwKVzXsGQ%40mail.gmail.com
> <https://groups.google.com/d/msgid/django-users/CAA%3Diw_9BrOEh4Ss3X0g_EnaFyp1XTXij5DoZvva_XxwKVzXsGQ%40mail.gmail.com?utm_medium=email&utm_source=footer>
> .
&
this group at https://groups.google.com/group/django-users.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/django-users/4ca5e82d-f34b-4ab4-8f82-5be0dcdebecc%40googlegroups.com
> <https://groups.google.com/d/msgid/django-users/4ca5e82d-f34b-4ab4-8f82-5b
ompleted = models.BooleanField(default=False,required=False)
>>
>> On Sun, 21 Apr 2019 at 17:23, Sipum Mishra wrote:
>>
>>> Hi Jani,
>>> form.errors gives error as -
>>>
>>> itemThis field is
>>> required.<
>>> /li>
&g
om/d/msgid/django-users/f301b675-6587-434e-b25d-87de9d9fef10%40googlegroups.com
> <https://groups.google.com/d/msgid/django-users/f301b675-6587-434e-b25d-87de9d9fef10%40googlegroups.com?utm_medium=email&utm_source=footer>
> .
> For more options, visit https://groups.google.com/d/optout.
>
/django-users.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/django-users/5596723f-0358-41b5-9b0f-cf0f9dc84057%40googlegroups.com
> <https://groups.google.com/d/msgid/django-users/5596723f-0358-41b5-9b0f-cf0f9dc84057%40googlegroups.com?utm_medium=email&am
il.com?utm_medium=email&utm_source=footer>
> .
> For more options, visit https://groups.google.com/d/optout.
>
--
Jani Tiainen
Software wizard
https://blog.jani.tiainen.cc/
Always open for short term jobs or contracts to work with Django.
--
You received this message because you are
Hi.
Django 2.2 supports Oracle 12.1+. Oracle 11g support was dropped with
Django 2.0. If you want to use Oracle 11g (which is out of support anyway
from Oracle) you either need to downgrade to Django 1.11 and cx_Oracle 6.4.1
I really suggest you to update at least latest Oracle 12.2 which is stil
yntax.
On Sun, Apr 28, 2019 at 12:59 PM Jani Tiainen wrote:
> Hi.
>
> Django 2.2 supports Oracle 12.1+. Oracle 11g support was dropped with
> Django 2.0. If you want to use Oracle 11g (which is out of support anyway
> from Oracle) you either need to downgrade to Django 1.11 and cx_
I've have to agree that any attempt to limit superuser creation through
manage.py is wrong solution to wrong problem.
Even it's possible to attempt it it is as easy to circumvent.
So do not give an access to manage.py to users that are not supposed to.
Problem solved for good.
ma 29. huhtik. 201
Hi.
You could create custom form field that makes conversions both ways.
ke 8. toukok. 2019 klo 1.25 Tim Bell kirjoitti:
> Hi,
>
> I have a model with an integer field storing a duration in hours, while I
> want to present that to users in a form in days. (The choice of these
> different units
You could try django-select2 for example.
to 9. toukok. 2019 klo 11.03 Balaji Shetty
kirjoitti:
>
> HI
>
> *How can I add cascading drop down for Continent and Country in Django
> Admin Panel.*
>
> Here I add Continent and Country.
>
> When i change Continent, Country should be changed automatic
Hi.
This is not actually Django issue.
I bet there are several libs that can do it.
ke 8. toukok. 2019 klo 17.01 Mayur Bagul kirjoitti:
> Hello community,
>
> i searched on google bout this and what i found was psutil is no longer
> having check temperature attribute.
>
> im not getting how t
Hi.
There is no correlation between field order in your model and order in
database or database tools.
They though accidentally be the same.
ke 8. toukok. 2019 klo 18.52 'Amitesh Sahay' via Django users <
django-users@googlegroups.com> kirjoitti:
> Hello Users,
>
> I am seeing a very strange is
Hi,
After all it's just HTML and CSS you need and you can make responsive
layouting.
One quite common CSS library is Bootstrap that allows rather easily to
build layouts that works across the various sized devices.
Of course you can go with any JS framework if you're planning to build
single pag
Hi,
There are also other alternatives for background processing than celery.
Like django-rq or django-background-tasks.
ma 20. toukok. 2019 klo 16.14 Chetan Ganji
kirjoitti:
> celery is what you need for this. It is very simple. Just stick to it,
> find some examples on youtube for celery, an
Hi.
Note that there are still ways to modify data withouth signals getting
fired. Nor save or delete is called.
ma 24. kesäk. 2019 klo 18.54 Abhishek Tiwari kirjoitti:
> That is the approach i have in mind.. Thank you..
>
> On Monday, 24 June 2019 20:08:06 UTC+5:30, Brandon Rosenbloom wrote:
>
I've been also very succesful with wkhtmltopdf.
to 27. kesäk. 2019 klo 18.44 Larry Martell
kirjoitti:
> On Thu, Jun 27, 2019 at 10:45 AM Django Dojo
> wrote:
> >
> > Hello everyone,
> >
> > I have a pdf template and I need different Individuals(s) to fill out
> different sections of the documen
Hi.
I wrote short blog post how to do simple OTP.
http://blog.jani.tiainen.cc/django/2019/02/19/django-otp-simple-way.html
HTH.
ti 2. heinäk. 2019 klo 4.33 ravikumar dingari
kirjoitti:
> Actually generated OTP but , Don't know how to verify, can any one help
>
> --
> You received this message
Hi.
It's your browser not Django. Django just emits HTML that is parsed by your
browser.
ti 2. heinäk. 2019 klo 15.14 Kai Kobschätzki
kirjoitti:
> Hi:
>
> I tried to load bootstrap and an own css-file. But in which order does
> django load it?
>
> I have tried in my base.html:
>
>
> {% load s
Hi
Models always do belong to app. All apps do have AppConfig (one or more)
So when adding app (and thus models) to INSTALLED_APPS you need to point to
which AppConfig you use (defined in apps.py)
to 4. heinäk. 2019 klo 11.58 pastrufazio kirjoitti:
> Hi!
>
> I've read some examples about cust
Hi.
Please don't hijack other people threads but start a new one.
pe 5. heinäk. 2019 klo 15.55 Manjunatha Sai Uppu
kirjoitti:
> I am new to web development in django , i have some questions that
> 1. Is it necessary to learn html,css?
>
No. Absolutely no. You can write plain backend code fo
Hi.
What you did is correct and expected.
Upload_to is relative path to MEDIA_ROOT in case of normal file upload
backend. There are many others like S3.
Now MEDIA_URL is absolute path of web server which points to MEDIA_ROOT. In
development you can use static file serving trick like you did.
No
Hi.
I think you have a bit confused terms model inheritance and abstract models.
Normal model inheritance in Django means that there will be implicit one to
one relation to base model. Inherited model still receives all fields from
parent model. On save data is just saved to correct models. To bo
Hi.
There are two things wrong.
First and most important is that you should always use {%url %} template
tag to form urls to other django urls and preferably by using named url
patterns.
Secondly your hardcoded urls are relative. So each time you click link it
is appended to current url. If you
Hi.
In your view instead of using Response(serializer) you need to use
Response(serializer.data)
HTH.
ma 8. heinäk. 2019 klo 19.48 'Amitesh Sahay' via Django users <
django-users@googlegroups.com> kirjoitti:
> hello Members,
>
> I am working on some POC for django rest framework. Its very simp
And to give some perspective I have been working with Django @work last 10
years and I'm still far from mastering it. I'm pretty good with Django
though.
In other words it really takes a lot. Interns at work do get hang of basics
in about two months but really them to get up to speed takes somewhe
Hi.
Web page, database and most propably some programming to make search magic
happen.
ti 9. heinäk. 2019 klo 13.44 Django Dojo kirjoitti:
> Hello,
> I’m trying to build a trademark search like:
> https://www.trademarkengine.com/free-trademark-search/trademark-search.
>
> Can someone recommend
Hi.
You should setup test environment that runs Django database tests against
your backend. Preferably somewhere visible to public.
That way it would be easier to start figuring out areas of improvement.
ti 9. heinäk. 2019 klo 2.29 'Andy Woods' via Django users <
django-users@googlegroups.com> k
ou're already capable of
building similar trademark search site.
ti 9. heinäk. 2019 klo 15.47 Django Dojo kirjoitti:
> Are there any Django packages or api being used?
>
> On Tuesday, July 9, 2019, Jani Tiainen wrote:
>
>> Hi.
>>
>> Web page, database and most
i use {% url %}
>
>
> On Monday, 8 July 2019 22:26:07 UTC+5:45, Jani Tiainen wrote:
>>
>> Hi.
>>
>> There are two things wrong.
>>
>> First and most important is that you should always use {%url %} template
>> tag to form urls to other django urls and
Hi.
Looks like your backend isn't right if you see message in the console.
Also if using gmail you have allowed insecure apps?
ti 9. heinäk. 2019 klo 17.47 grwhumphries
kirjoitti:
> I've got a bit of a mystery. I've got a Django Wagtail project with
> Spirit as an added app. I'm trying to g
Hi.
What are you trying to do?
In other words why do you need to replace secret key by user input at login?
ke 10. heinäk. 2019 klo 8.54 Sebastian Jung
kirjoitti:
> Hello,
>
> I want in my Login Page a further field Secret Key. This Input ist
> replacement dir Secret Key in settings.py. Ist t
Oh you want to have false security.
First this has nothing to do with Django and it's secret key. You can use
any secret key in your case it would be user input. Also you can use any
cryptography algorithm to secure your data in the database.
And here is the problem - to make user experience plea
Hi.
You can add fields dynamically on model __init__ method and AFAIK that's
best and recommended way to do it.
I'm not sure is that even in Django docs.
ke 10. heinäk. 2019 klo 17.44 אורי kirjoitti:
> Hi,
>
> I have a ModelForm with Django 1.11, and I'm moving a few fields to
> another model
Hi.
Because indentation is broken it's hard to say exact problem location but
in your view some code path doesn't return anything and thus you see error
about returning None.
ke 10. heinäk. 2019 klo 21.05 Desh Deepak
kirjoitti:
> Hi, I want to insert some data in MysqlDatabase from the template
Hi.
Usually you validate user input and by using Forms or ModelForms.
to 11. heinäk. 2019 klo 12.50 Irfan Khan kirjoitti:
> Dear members,
> I wanted to validate the form which contains the name, phone number,
> address,email, etc..,
> I have developed and tested it if we give any character it’
Hi.
Well most of the things you describe are not spesific to django but just
how you do layout your data with HTML.
And yes all can be done with django.
Being sensible? That is really subjective matter.
ti 16. heinäk. 2019 klo 5.22 Nicolas Huergo kirjoitti:
> Hey!
>
> I'm pretty much new to D
At least you should't call super.clean_fields() in clean() method...
Also how are you outputting errors in your template?
ti 16. heinäk. 2019 klo 5.22 Jacob Greene
kirjoitti:
> Hello! Has anyone dealt with this before? It seems that my forms don't add
> the CSS class to errors raised in model.
Full_clean is Django internal method which you should't touch.
.clean() method validation errors go to special non-field errors and by
quick look it should get correct css class.
If you could provide minimal project with suspected faulty behavior (for
example in github) it would be easier to see
Any. Django really don't care about it. There exists also at least react
and svelte too...
ti 16. heinäk. 2019 klo 13.33 Pradeep Singh
kirjoitti:
> which framework is good with django angular or vue js please suggest
> me best one
>
> --
> You received this message because you are subscribed
Hi.
Did you mapped 8000 port to outside of vagrant box? And did you told
runserver to listen all interfaces (0.0.0.0) since by default runserver
listens to localhost. In case of vagrant "localhost" interface is within
vagrant box itself.
ti 16. heinäk. 2019 klo 5.22 CHENXIN YANG
kirjoitti:
> I
Hi.
Err... if you don't find one code a one?
ma 15. heinäk. 2019 klo 23.08 Sebastian Jung
kirjoitti:
> Hello,
>
> i want a full complete E-Mail client like https://www.mailpile.is/ but in
> django. I need only from mailpile a view with template with email
> directories on left side and in rest
We use django groups for that. So we give groupnames like ALLOW_SOMETHING
and then in code and templates we do check if user has that group or not.
ti 16. heinäk. 2019 klo 19.26 Tal kirjoitti:
> I know you can have permissions on individual models that control which
> users have access to them,
Hi.
You can use dictionary unpacking to kwargs.
.filter(**{"name__contains": "foo", "somefield__gt": 123})
ke 17. heinäk. 2019 klo 23.04 나르엔 kirjoitti:
> Hello, I am studying django.
>
> When I use objects.filter, I want to search various columns.
>
> Columns to search for are unknown and ha
Hi.
I think Python has built in version so you might need to build custom
version of python.
Pyenv is pretty neat tool to handle custom python builds.
ke 17. heinäk. 2019 klo 21.36 Tal kirjoitti:
> Or is Python's sqlite built into Python, not depending on /usr/bin/sqlite3
> at all?
> Would I h
Hi.
Migrate command applies migrations, changes to your models, into database.
For example if you add a new field in your model you need to create a
migration (piece of code that reflects your change) using makemigrations
command.
Once you have made migration(s) you need to apply them so databas
Hi.
Error is simple. Python is using too old version of sqlite. There are few
options to fix that depending what os your system runs on.
Though sqlite is not very suitable for production so you may want to use
something better like Postgres.
pe 19. heinäk. 2019 klo 22.14 anchal agarwal
kirjoit
django-users@googlegroups.com.
> Visit this group at https://groups.google.com/group/django-users.
> To view this discussion on the web visit https://groups.google.com/d/
> msgid/django-users/CAFwN1urM2A4HBhPzbG4_Tgs_DKzab39-Pz_jzWa981AGfC0cYg%
> 40mail.gmail.com
> <https://groups.go
https://groups.google.com/d/msgid/django-users/4d9a0247-c5d0-4733-980f-dd991d871719%40googlegroups.com
<https://groups.google.com/d/msgid/django-users/4d9a0247-c5d0-4733-980f-dd991d871719%40googlegroups.com?utm_medium=email&utm_source=footer>.
For more options, visit https://groups.googl
ussion on the web visit
https://groups.google.com/d/msgid/django-users/86091d59-6578-4e85-9be0-d24beb1f5b84%40googlegroups.com
<https://groups.google.com/d/msgid/django-users/86091d59-6578-4e85-9be0-d24beb1f5b84%40googlegroups.com?utm_medium=email&utm_source=footer>.
For more options, v
c35%40googlegroups.com
<https://groups.google.com/d/msgid/django-users/215f85be-b377-4f44-a3bb-0e9311f31c35%40googlegroups.com?utm_medium=email&utm_source=footer>.
For more options, visit https://groups.google.com/d/optout.
--
Jani Tiainen
--
You received this message because you are
487670629.2604.6.camel%40atenekom.eu
<https://groups.google.com/d/msgid/django-users/1487670629.2604.6.camel%40atenekom.eu?utm_medium=email&utm_source=footer>.
For more options, visit https://groups.google.com/d/optout.
--
Jani Tiainen
--
You received this message because you are
/5c01a596-23a2-418f-9045-44a947efde0d%40googlegroups.com
<https://groups.google.com/d/msgid/django-users/5c01a596-23a2-418f-9045-44a947efde0d%40googlegroups.com?utm_medium=email&utm_source=footer>.
For more options, visit https://groups.google.com/d/optout.
--
Jani Tiainen
--
You rece
dysoftware.com/uri/en/
<http://www.facebook.com/urievenchen>
<http://plus.google.com/+urievenchen>
<http://www.linkedin.com/in/urievenchen>
<http://github.com/urievenchen> <http://twitter.com/urievenchen>
On Wed, Mar 1, 2017 at 4:15 PM, Jani Tiainen <mailto:
ontains possible values and then variable to choose among them. That
could work just fine, but still you need to do custom makemessages
command that would understand your tag and it's syntax.
Makemessages managemen command code can be found at:
https://github.com/django/django/blob/master/
ers/be86285c-7e27-4792-9df2-f9703d557921%40googlegroups.com
<https://groups.google.com/d/msgid/django-users/be86285c-7e27-4792-9df2-f9703d557921%40googlegroups.com?utm_medium=email&utm_source=footer>.
For more options, visit https://groups.google.com/d/optout.
--
Jani Tiainen
--
You
ussion on the web visit
https://groups.google.com/d/msgid/django-users/b91fed9e-772b-46a6-9e24-0381b3d67744%40googlegroups.com
<https://groups.google.com/d/msgid/django-users/b91fed9e-772b-46a6-9e24-0381b3d67744%40googlegroups.com?utm_medium=email&utm_source=footer>.
For more options, visit https
om/d/msgid/django-users/d629dba5-cc73-4625-9d91-92741b7010a2%40googlegroups.com?utm_medium=email&utm_source=footer>.
For more options, visit https://groups.google.com/d/optout.
--
Jani Tiainen
--
You received this message because you are subscribed to the Google Groups "Django
users"
mapscript to publish
maps. Not sure how mature that project is.
On 18.03.2017 14:51, Samuel Brunel wrote:
Hello,
I’m new on GeoDjango, I need to known If I can use GeoDjango as WMS ?
Best regards,
Samuel
--
Jani Tiainen
--
You received this message because you are subscribed to the Google
84e57b%40googlegroups.com?utm_medium=email&utm_source=footer>.
For more options, visit https://groups.google.com/d/optout.
--
Jani Tiainen
--
You received this message because you are subscribed to the Google Groups "Django
users" group.
To unsubscribe from this group and stop r
02-9e98d757f01b%40googlegroups.com?utm_medium=email&utm_source=footer>.
For more options, visit https://groups.google.com/d/optout.
--
Jani Tiainen
--
You received this message because you are subscribed to the Google Groups "Django
users" group.
To unsubscribe from this gro
- but couldn't use the generic FormView for that though.
Regards,
Andréas
--
Jani Tiainen
--
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 dj
google.com/d/msgid/django-users/65e0ab09-ff5a-4ed5-89d6-e5e0991b9ea0%40googlegroups.com
<https://groups.google.com/d/msgid/django-users/65e0ab09-ff5a-4ed5-89d6-e5e0991b9ea0%40googlegroups.com?utm_medium=email&utm_source=footer>.
For more options, visit https://groups.google.com/d/op
5e0ab09-ff5a-4ed5-89d6-e5e0991b9ea0%40googlegroups.com
<https://groups.google.com/d/msgid/django-users/65e0ab09-ff5a-4ed5-89d6-e5e0991b9ea0%40googlegroups.com?utm_medium=email&utm_source=footer>.
For more options, visit https://groups.google.com/d/optout.
--
Jani Tiainen
--
You received t
b4-69e2-4b4e-bd6b-704eb7567026%40googlegroups.com
<https://groups.google.com/d/msgid/django-users/91e87fb4-69e2-4b4e-bd6b-704eb7567026%40googlegroups.com?utm_medium=email&utm_source=footer>.
For more options, visit https://groups.google.com/d/optout.
--
Jani Tiainen
--
You receiv
7780-8737-4bc9-81f2-742e1f8966c1%40googlegroups.com
<https://groups.google.com/d/msgid/django-users/c8c87780-8737-4bc9-81f2-742e1f8966c1%40googlegroups.com?utm_medium=email&utm_source=footer>.
For more options, visit https://groups.google.com/d/optout.
--
Jani Tiainen
--
You received this messag
https://groups.google.com/group/django-users.
To view this discussion on the web visit
https://groups.google.com/d/msgid/django-users/9008764.HJ6FAVUOio%40devstation
<https://groups.google.com/d/msgid/django-users/9008764.HJ6FAVUOio%40devstation?utm_medium=email&utm_source=footer>.
For
esday 09 May 2017 14:08:44 Jani Tiainen wrote:
> And to use bootstrap you don't need any special package, you can
do it
> without it just fine.
To render a webpage, you don't need Django you can do just fine
typing HTML. What's your point really?
I know t
b visit
https://groups.google.com/d/msgid/django-users/0da53e34-428d-4803-ba8f-dddc83c24443%40googlegroups.com
<https://groups.google.com/d/msgid/django-users/0da53e34-428d-4803-ba8f-dddc83c24443%40googlegroups.com?utm_medium=email&utm_source=footer>.
For more options, visit https://g
talking with other services in the
datacenter
The whole thing is about preserving same project environment.
Models, registries, configuration should stay same.
Middlewares, urls, views and anything related to http will be different.
BR,
Marcin
W dniu piątek, 26 maja 2017 13:16:49 UTC
oups.google.com/d/msgid/django-users/f9802a16-4750-49f0-b01c-cea513d0cfe3%40googlegroups.com?utm_medium=email&utm_source=footer>.
For more options, visit https://groups.google.com/d/optout.
--
Jani Tiainen
--
You received this message because you are subscribed to the Google Groups
AMKXccCJACnD21icCahuCe%2BB993g%40mail.gmail.com
<https://groups.google.com/d/msgid/django-users/CACbdT%3D0uo4XApksxz8yutWAMKXccCJACnD21icCahuCe%2BB993g%40mail.gmail.com?utm_medium=email&utm_source=footer>.
For more options, visit https://groups.google.com/d/optout.
--
Jani Tiainen
--
Y
ngo-users/51eb014a-88f7-48cb-b729-f3c6e32461d3%40googlegroups.com
<https://groups.google.com/d/msgid/django-users/51eb014a-88f7-48cb-b729-f3c6e32461d3%40googlegroups.com?utm_medium=email&utm_source=footer>.
For more options, visit https://groups.google.com/d/optout.
--
Jani Tiainen
-
se views.py to do it.
Same way as in your script, unless fetch is really slow when you need to
think of asynchronous alternatives.
On Monday, June 5, 2017 at 2:07:08 PM UTC+2, Jani Tiainen wrote:
Hi,
First you need to decide how you are going to activate fetch data
from remot
s/09c07d79-bcbf-4451-9d73-9d7189e66dfc%40googlegroups.com?utm_medium=email&utm_source=footer>.
For more options, visit https://groups.google.com/d/optout.
--
Jani Tiainen
--
You received this message because you are subscribed to the Google Groups "Django
users" group.
To uns
DwthP4pS3PrpRQ%40mail.gmail.com?utm_medium=email&utm_source=footer>.
For more options, visit https://groups.google.com/d/optout.
--
Jani Tiainen
--
You received this message because you are subscribed to the Google Groups "Django
users" group.
To unsubscribe from this group and stop
Hi
We've been using django-modeltranslation very successfully. It's advantage
is speed but drawback is that it creates colum per language 1per translated
field.
12.6.2017 22.06 "Mihai Rusoaie" kirjoitti:
> Hello!
>
> I have a website with content in Romanian.
>
> I would like to create an Eng
Catching errors inside transaction might lead inconsistent state if the
database if error handling swallows exception.
Reraising exception or like you want to do raise new exception it would
work as expected.
Nested atomic blocks can be used to safely rollback state of database if
you want to han
Hi!
Excellent question.
Permission model itself is not exposed in admin but you could expose it
yourself if you want to.
Just for curiosity what would be the usecase?
13.6.2017 19.05 "Alceu Rodrigues de Freitas Junior" <
alceu.freitas...@gmail.com> kirjoitti:
Hello folks,
Is there a standard
s/6316cf1b-91b9-4a64-9152-f6df0e21ba66%40googlegroups.com?utm_medium=email&utm_source=footer>.
For more options, visit https://groups.google.com/d/optout.
--
Jani Tiainen
--
You received this message because you are subscribed to the Google Groups "Django
users" group.
To unsubscribe
-8218-4fb8-b200-f4535797e135%40googlegroups.com
<https://groups.google.com/d/msgid/django-users/f6a3df97-8218-4fb8-b200-f4535797e135%40googlegroups.com?utm_medium=email&utm_source=footer>.
For more options, visit https://groups.google.com/d/optout.
--
Jani Tiainen
--
You received this mes
ork unless there's a
foreign key between the two models, however, given it's a legacy database,
i can't touch the schema at all. Is it possible to query join results with
managed=False?
Thanks
On Thursday, June 15, 2017 at 11:31:42 PM UTC-7, Jani Tiainen wrote:
> Hi,
>
> E
Hi,
Seems that you've on right track. Just don't chew up too big bites.
I suggest that first you start mapping your real world ideas to models.
Don't worry if you don't get it right at first try thats why migrations do
exist.
Also test driven development model could work nicely.
Most of the thi
Hi,
> On 18 Jun 2017, at 14.47, softie.co...@gmail.com wrote:
>
> Hi Jani!
>
> Am Sonntag, 18. Juni 2017 11:05:27 UTC+2 schrieb Jani Tiainen:
> Hi,
>
> Seems that you've on right track. Just don't chew up too big bites.
>
> Thanks! Good to know t
Hi,
We have been using user groups for that. And then we check and filter out
based on given group(s).
21.6.2017 10.45 "Mannu Gupta" kirjoitti:
> I want to make a role based user in Django like the following :-
>
> User with Subscription level 0 will have some feature and some basic
> fields li
501 - 600 of 759 matches
Mail list logo