>
> This is my first time. lol
>
>
I thought we can access the data by using ORM as we usually do rather than
set it to a class variable.
--
You received this message because you are subscribed to the Google Groups
"Django users" group.
To unsubscribe from this group and stop receiving emails
I double checked, this view is unique.
here's the whole process by the way.
from a detail page, there is a link that redirects to a create note page.
also, the id of the parent object.
Create note
then on my url.py, I have two paths pointing to the same view class. one
has no parameter, the ot
hi,
This is not much to go on: The 'parameters' are called 'context'
You can read:
https://docs.djangoproject.com/en/2.1/ref/templates/api/
to learn about templates and context.
adding context in a view is done by adding context to a view as follows:
def get_context_data(self, *args, *
Hello,
How to send parameters to templates and adjust the page url by path?
regards,
Saeed
--
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+unsub
Hi all,
i will tray it.. thanks for your attention
Pada Senin, 10 Desember 2018 19.46.28 UTC+7, Riska Kurnianto menulis:
>
> in staging or production env, You need to specify STATIC_ROOT in
> settings.py and run "manage.py collectstatic".
>
>
>
> On Mon, 10 Dec 2018, 10:28 pujiarahman
> wro
If DB is local postgres, or mysql, export data on old machine and import on
the other after migration. This may takes some experimentation to get keys
importing properly.
If external and managed (say RDS), then migrations are not needed - the DB
is already there and populated. The above expor
This works for sqlite. postgre, etc. you have to do as above.
On Monday, December 10, 2018 at 8:03:10 PM UTC-5, Simon A wrote:
>
> if you are really lazy, you can just zip your whole project. then transfer
> to another machine.
>
> I transfer my projects from work (using windows) to home (using
Hi,
Profile(newuser.pk,customerid=form1.cleaned_data['customer'])
should be:
Profile(user_id=newuser.pk,customerid=form1.cleaned_data['customer'])
user is a ForeignKey, so you assign user= after performing a
get(), or you use the form above with your pk - i.e. 'the user record whose
id field
Hi, I'm trying to save a new user and their profile information in same
form and view. It is almost working, but cant get by this error.
[image: errmsg.png]
I know I have values available because I print them just before saving from
my views.py, which is:
def addUser(request):
template_n
Whether tis nobler to run separate processes or to handle all in one ...
Unfortunately, I want to use packages that work both ways, and have not
found a suitable workaround other than picking one style, whacking it up to
make it play nice and dumping the whole thing in my app directory.
Depend
I am trying to create a code like facebook image upload in django. My image
gets uploaded and it is stored in the media folder under documents , and i
like to show that image wherever i want in my template , but the image
should be the latest one, to show in the template
models.py
class I
https://stackoverflow.com/a/50827230/1198074
On Wednesday, June 27, 2018 at 10:59:58 PM UTC+3, Pato wrote:
>
> Ahmed,
>
> Did you manage to figure out what was the problem? I ran into the same
> problem. All POST requests are throwing Page not found (404)
> Request Method: POST
>
>
> Let me kno
El martes, 11 de diciembre de 2018, 9:46:07 (UTC-5), Yarving Liu escribió:
>
> Can you show us the code?
>
Hello and thanks for your response:
{{ ccosto.gastos_mes }} and {{ ccosto.gastos_ano }} yield None
Nevertheless if I print the response content when calling that URI with
django test cl
I don't use my form to ModelAdmin part, so to my mind it shouldn't solve my
issue ?
Le mercredi 12 décembre 2018 15:55:30 UTC+1, valentin jungbluth a écrit :
>
> Hello guys,
>
> I would like to use *ModelMultipleChoiceField* with
> *ModelSelect2MultipleWidget* in order to display a dropdown list
Check:
https://docs.djangoproject.com/en/2.1/ref/contrib/admin/#django.contrib.admin.ModelAdmin.filter_horizontal
Maybe this helps
--
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,
Hello guys,
I would like to use *ModelMultipleChoiceField* with
*ModelSelect2MultipleWidget* in order to display a dropdown list with my
widget.
If I write this :
publication_list = forms.ModelMultipleChoiceField(queryset=Publication.
objects.all().order_by('pub_id'))
It displays my que
Fascinating. It looks normal, though login_url is not a member of CreateView.
Do you perhaps have another class defined with the same name?
Especially since you do have other class-based views, you must know what you’re
doing.
From: django-users@googlegroups.com [mailto:django-users@googlegroups
I would like to get your help in order to display objects choosen by user
and get some querysets according to each object.
I'm working with django 1.11.16 on this project.
*Context :*
User has to choice some things :
- Start date
- End date
- One or several publication(s)
Then, it returns
Hi Suresh,
SCORM is a huge standard and to implement it yourself, you would need to
read the SCORM documentation. You can find this here:
https://scorm.com/scorm-explained/technical-scorm/scorm-12-overview-for-developers/
I don't think how to implement a LMS for SCORM is really a subject that can
19 matches
Mail list logo