Hi,
I am facing a peculiar issue. My application is working fine in all
browsers if it ran through local host. But when the application is hosted
an apache server, everything works fine in firefox browser but in other
browsers application is not connecting to oracle db and the page is shwing
e
Browser's has nothing to with DB connection. Can you clear cache on your
machine to see if it works?
Still if there is issue than send your Apache settings for detailed look on
how you have configured it on hosting server.
On Mon, Dec 12, 2016 at 1:53 AM, wrote:
> Hi,
>
> I am facing a peculiar
Hi,
Can you also confirm that you can connect from manage.py on hosted
server to oracle db just fine?
On 12.12.2016 10:53, anjalim...@gmail.com wrote:
Hi,
I am facing a peculiar issue. My application is working fine in all
browsers if it ran through local host. But when the application is
Hi,
I have a json file describing an object that I want to import into my
app. For that purpose, I want to upload it using a form field and fill
a ModelForm so the contents can be checked and edited by a user before
saving it to the database. This is what I'm currently doing:
# in forms.py
class
I want to learn a proper way of passing query from form to url in Django
class based view. I want to retrieve form data in ListView to make query on
the model.
I'm currently using this, but i feel that there's a better way.
class SearchFormView(FormView):
form_class = SearchForm
...
Hello Jochen,
On Monday, December 12, 2016 at 9:17:11 AM UTC-5, joche...@gmail.com wrote:
>
>
> for editing Objects, but it seems that those views can only deal with
> objects that already are in the database. So is there a more
> idiomatic way to solve this or am I stuck with the above solutio
I've replaced the use of ForeignKey as mentioned above for
models.ForeignKey(settings.AUTH_USER_MODEL).
But I still get the following syncdb errors.
***
CommandError: One or mor
Thanks Alex,
Following the links you posted I've moved forward towards adding a custom
user and getting rid of get_profile().
This process though has introduced other issues.
The error occurs both when running manage syncdb and when debugging view
that calls user.
"AUTH_USER_MODEL refers to
The first place to look would be the INSTALLED_APPS setting in your
settings file, but honestly that's one of those errors that could
ultimately mean a lot of things. I've had it thrown on things ranging from
circular imports to admin configuration issues to bad migrations. It might
be time to spin
Hi Alex,
Is there anyway on the command line I can determine what models,
the app actually sees in the module in question?
Otherwise can you recommend a debugger that might help.
Thanks
On 12/12/2016 9:07 PM, Alex Heyden wrote:
The first place to look would be the INSTALLED_APPS setting in
Someone familiar with the internals might have an idea, but from a
non-contributor's perspective, the different management commands seem to
have different strategies for loading up the models. An error in syncdb
doesn't mean you'll get the same error in shell or runserver.
Debuggers will always be
Any idea if I'm doing something wrong or if I'm running into a bug?
I added some fields to a model, and generated a migration.
When I apply the migration, the migrate command crashes, with both django
1.10.3 and 1.10.4.
I had a similar migration issue with another app in the same project, that
It could be a bug or your database might be in an inconsistent state
somehow. The next step would be to debug it a bit more and put together a
minimal project that reproduces the issue.
On Monday, December 12, 2016 at 4:45:55 PM UTC-5, Francis Fisher wrote:
>
> Any idea if I'm doing something wr
On Wednesday, 30 November 2016 22:43:55 UTC, Mike Dewhirst wrote:
>
> On 1/12/2016 3:56 AM, Francis Fisher wrote:
> > Any idea why makemigrations would fail to recognise that a migration
> > has already been generated?
>
> I think migrations is seeing field choices differently each time it
> sc
The above migration crash was when applying to a postgres database, I've
tried applying this migration to a mysql database and it still crashes,
albeit differently.
--
File "evetools/manage.py", line 10, in
execute_from_command_line(sys.argv)
File
"/usr/local/lib/python2.7/
On 13/12/2016 9:58 AM, Francis Fisher wrote:
On Wednesday, 30 November 2016 22:43:55 UTC, Mike Dewhirst wrote:
On 1/12/2016 3:56 AM, Francis Fisher wrote:
> Any idea why makemigrations would fail to recognise that a
migration
> has already been generated?
I think migrations
I can see why django is crashing at File
"/usr/local/lib/python2.7/dist-packages/django/db/backends/postgresql/introspection.py",
line 178, in get_constraints
If I run the query at that line in postgres, I get the following response:
constraint_name|
Considerations follow inline...
On 11 December 2016 at 03:34, Avraham Serour wrote:
> ...
>
> So should I check the parent object permissions? or just checking the
> current object is enough?
It depends on the granularity level of your permissions.
Could a child object have a different permissi
So it turns out that a different user owned the non-managed tables, which
seemed to prevent the django user from accessing certain information about
those tables.
--
You received this message because you are subscribed to the Google Groups
"Django users" group.
To unsubscribe from this group and
I guess there's nothing Django could do except perhaps throw a more helpful
error message. Feel free to submit a ticket and/or patch if you see any
value in that and if it seems feasible. I'm not sure about that offhand.
On Monday, December 12, 2016 at 8:57:09 PM UTC-5, Francis Fisher wrote:
>
>
Try looking at the code in the autodetector and doing some some debugging
to figure out how old_field_dec and new_field_dec are different:
https://github.com/django/django/blob/8db6a6c0a1c73bf08e71e00d4ab8c4af3c5f0cb8/django/db/migrations/autodetector.py#L911
On Monday, December 12, 2016 at 5:58:
Hi,
Thanks for taking your time on this.
> Could a child object have a different permission from its parent?
Yes, I'm thinking someone may have access to the parent but not to all
childs, or read access to the project and write access to some tasks
(probably the ones I'm responsible)
So each obje
22 matches
Mail list logo