Hello, is there a way to edit two update and save two forms from two
different models with update view.. the issue is that i have two forms
that i use in a single form format.now i want to write an update view
for the it. how do i update two models in a updateView.
--
You received this
##This is one approach.
You can have a single user profile and a number of other users tied to
the user profile via ForeignKey.
class UserProfile(models.Model):
user = models.ForeignKey(User)
#define general fields
class Freelancer(models.Model):
profile = models.ForeignKey(UserProfil
Happy New year guys.
Let's do more of this next year.
On Sat, Dec 31, 2016 at 7:49 PM, Robin Lery wrote:
> Happy new year!
>
> On 1 Jan 2017 12:05 a.m., "pradam programmer" <
> pradam.programm...@gmail.com> wrote:
>
>> Happy New Year Guys, i hope this year fill with alot of love, happiness
>> an
Would you provide a little more information?
What errors are you getting?
On Mon, Dec 19, 2016 at 11:56 AM, Navneel Pandey
wrote:
> hi i am new to django as i want to create a table but unable to do so I am
> writing the command python manage.py syncdb
>
> --
> You received this message because
If i have a url like *fruits.com*, does anyone know how i can write my
subdomain urls in django to be *apple.fruits.com* instead of *
fruits.com/apple* ?
--
You received this message because you are subscribed to the Google Groups
"Django users" group.
To unsubscribe from this group and stop rec
ren't they available yet?
Lekan.
Python is the "most powerful language you can still read".
--
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
d'
return response(yourtemplate, {'c':variableone, 'd' :variabletwo})
Also, if you have a repetitive section in your template, you could just
write it once and use the {% include %} tag to use it in each of your other
templates.
I hope that helps.
Lekan.
Python is the &
Hi,
In order to ease the work of making your changing your static files to the
right URL format in Django, a friend of mine came up with a library called
*Staticfy* for it.
You can check it out on :
https://github.com/danidee10/Staticfy
It will really ease your work.
On 25 Sep 2016 2:55 PM, "Ed
i kbman,
If you use PyCharm, you can easily read the sqlite3 file better with its
database integration.
Click on database.
Select from sources and then okay.
Lekan.
--
You received this message because you are subscribed to the Google Groups
"Django users" group.
To unsubscribe from this grou
Good morning guys,
I'm trying to locally set up an existing project on my machine.
While I've set up most of the project, the part giving me a hard time are
the ones using flatpages.
Now, everytime I access those, I get a "No Flatpages matches the given
query. " error.
I've tried everything
Good morning guys.
I was handed a project at work which was written as far back as 2012.
Quiet a lot of the packages used in the project are either no longer being
maintained.
Rebuilding the project from scratch is not option.
There are way too many moving parts and way too many apps to rebuild it.
Hi.
On 24 Aug 2016 9:13 PM, "concussion" wrote:
> good morning.. :)
>
> --
> 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...@googlegro
anded an eggs.zip containing the packages used by the
developer.
Now, the question is, how do i install the dependencies from the eggs.py
file?
I think its more of a python question than a django issue but i would still
appreciate whatever help i can get.
Lekan.
On Wed, Aug 24, 2016 at 10:22 AM,
Thanks for getting back to me.
So, i just figured *manage.py* would also require the *settings.py* which
is missing now.
What do i do about that?
Lekan
On Wed, Aug 24, 2016 at 8:48 AM, Mike Dewhirst
wrote:
> On 24/08/2016 5:23 PM, Lekan Wahab wrote:
>
>> Good morning,
>&
Good morning,
I was recently given a django project to manage at work.
However, i noticed the project has neither a django-admin.py or a manage.py
file.
Is that normal?
If it is, how do i run the project on my local machine for testing purposes?
The file structure is something like this:
Project
Akinyanmi" wrote:
> Hello Lekan. I have responded inline but my answer might not be a complete
> fix.
>
> On May 5, 2016 4:56 PM, "Lekan Wahab" wrote:
> >
> > Hello,
> > Please, i have a model form in forms.py which am trying to validate and
> upd
Hello,
Please, i have a model form in forms.py which am trying to validate and
update my database with. However, for some reason the form is not being
validated. I have tried everything i could think of. It just reloads the
page.
views.py
> from django.shortcuts import render
> from information.f
Hello Guys.
I have a website and am trying to build a rating system for the site.
The system takes in user's rating and rewards them at the end of the month
according to their ratings.
I honestly dont know where to begin.
i have searched for some things online but i still need help
On Tue, Dec 29
18 matches
Mail list logo